Let Wufoo do the hard work. Sign up for a free account and start making forms the easy way.
Live Demo
Firefox | Safari | Safari | Chrome | Opera | IE | Android |
|---|---|---|---|---|---|---|
The Low Down
The submit input type is used to create a button that submits the form.
- If the
valueattribute is present, the value of that attribute will be the text on the button. If not, the default wording on the submit button is “Submit”. - Include the
nameattribute if you want the value to be submitted with the form: the values of the name and value attributes, if both are present, are submitted with the form. - The submit event handler will occur on form submission: but that is on the form, not on the button itself.
- If you want to prevent constraint validation, include the
formnovalidateattribute. - Include the
formenctypeto override the form’s MIME type. - Include the
formmethodattribute withgetorpostto override the form’s method of submission. - The
formactionattribute allows you to override the form’sactionattribute. - The
formtargetattribute allows you to set the browsing-context for the form response.