There are lots of different ways that buttons can be added to your form, with simple input buttons for either text or an image, to more complex buttons that can contain text and images.
Simple Buttons
Simple buttons are inputs with the following types:-
- submit - This is the most common button type. Buttons with the name of submit are used to submit the form
- reset - These can be used to reset the form
- button - These can be useful for a variety of purposes such as adding javascript
- image - Needs graphics for the various buttons
Buttons
Buttons are used when you want a mixture of images and text. There are three button types:-
- submit - Buttons with the name of submit are used to submit the form
- reset - These can be used to reset the form
- button - These can be useful for a variety of purposes such as adding javascript
Each button can be set differently for the three modes available, Add, Update and Delete. As standard data is only deleted after the form is submitted in delete mode