The last thing we need to do is to add a submit button to our page. After dropping
the button element from the palette into the page, we are prompted to enter
properties for the button.
In this window we can enter the button's label.
We can also select a type: submit buttons submit a form, reset buttons reset a form's
values to what they were when the page was loaded, standard buttons are typically
appropriate type for our button is submit .
We can also set the button's initial state to be disabled, doing this would result in the
button being grayed out and the users would be unable to submit the form.
We could optionally enter a name for our button, in most cases this is not necessary
for submit buttons. The only case where entering a name for a submit button would
be useful would be if a form had more than one submit button, and different actions
needed to take place depending on what button was pressed. In a case like this, each
button would have the same name, this name would then become a parameter in the
HTTP request, the value for this parameter would be the label of the button that was
pressed to submit the form.