0

Need help to get my form working. I am creating it for a website as a small school project.

Below is the code to the submit button. Am I missing something? (I can place the whole code if needed):

<form>
    <!-- END_ITEMS -->
    <input type="hidden" name="EParam" value="FzpUCZwnDno=" />
    <div class="outside_container">
        <input type="button" onclick="Vromansys.FormBuilder.showPreview()" value="Submit Form" class="submit_button" id="FSsubmit" />
    </div>
</form>
Syden
  • 8,425
  • 5
  • 26
  • 45

1 Answers1

0

Did you try input type="submit" ... instead of "button"? It should work with "submit" when using "form".

Best regards,

Dino

Dino
  • 56
  • 1
  • 5
  • That did not work either. I think the error might be with "Vromansys.FormBuilder.showPreview()" - I am not sure if i need to replace this something else. Also, i would like to have the form sent to an email..is that possible? – Beatrice Jan 18 '17 at 21:56
  • Yes, it is possible that it is a cause of error. I can't tell for sure so i can only point you in few directions and is up to you to try and see. If you want to send form data to other page, you can use action attribute in form tag. If you want to intercept submit then do something else in javascript you can find answer on this link http://stackoverflow.com/questions/7410063/how-can-i-listen-to-the-form-submit-event-in-javascript or http://stackoverflow.com/questions/12944329/add-onclick-function-to-a-submit-button – Dino Jan 19 '17 at 13:20