CREATING A SUBMIT BUTTON
CREATING A SUBMIT BUTTON Submit button is used to submit the information relating to the specific page or to the specified form this is the main button of the information page . 1) Every Form should have one -- eventually you will need to send the data from the form. 2) The type attribute ``SUBMIT'' is used to indicate a submit button. 3) The simplest input button is produced by: <input type = "submit"> This creates the following button: 4) You can change the name of the button with the VALUE attribute. For Example Several buttons may be included in a form and by including a name attribute the CGI script can check this with the value to see which button was pressed. More on this in CGI script sections later. For Example: <form> <input type="submit" name = "left" value = "left"> <input type="submit" name = "right" value = "right"> <input type="submit" name = ...