The community is working on translating this tutorial into Spanish, but it seems that no one has started the translation process for this article yet. If you can help us, then please click "More info".
If you are fluent in Spanish, then please help us - just point to any untranslated element inside the article and click the translation button to get started. Or have a look at the current translation status for the Spanish language.
If you see a translation that you think looks wrong, then please consult the original article to make sure and then use the vote button to let us know about it.
Please help us by translating the following metadata for the article/chapter, if they are not already translated.
If you are not satisfied with the translation of a specific metadata item, you may vote it down - when it reaches a certain negative threshold, it will be removed. Please only submit an altered translation of a metadata item if you have good reasons to do so!
Submit & Reset Buttons
Buttons are defined by changing the input element’s type attribute. There is two different kinds of buttons – the submit button and the reset button.
The submit button is used whenever you want to submit a form and the markup looks like this:
<input type="submit" value="Submit now" />
The reset button is used to clear al inputs by the user and the markup looks like this:
<input type="reset" value="Reset" />
Here is a simple form with both a submit button and a reset button
<form action="url-to-formmail-provided-by-your-ISP" method="post"> First name: <input type="text" name="firstname" /> <br /> Surname: <input type="text" name="surname" /><br /> <input type="reset" value="Clear form" /> <input type="submit" value="Submit now" /> </form>
The submit-button must always be the last value selected, as it initiates the form submission whereas the reset-button can be pressed at all times during the form fill out.