The Intrinsic Submit Control

The intrinsic Submit control is a button used to pass all the elements in a form to a back-end process. When a form is submitted, the data entered into the input controls is sent as ASCII text to the process identified in the ACTION attribute of the form. Every form with more than one field must have a Submit control. Typically, you have one, and only one, Submit control, but it is possible to have more than one.

Attributes

NAME A string representing the name of the Submit control
VALUE A string representing the text that appears in the Submit button caption

Events

OnClick Fires whenever the control is clicked
OnFocus Fires when the control receives the focus

Syntax

<INPUT TYPE="SUBMIT" [NAME="string"] [VALUE="string"]

[OnClick="subroutine"][OnFocus=" subroutine"]>

Example

<FORM METHOD="POST" ACTION="http://www.vb-bootcamp.com/test">
<INPUT TYPE="TEXT">
<INPUT TYPE="SUBMIT" VALUE="Submit Form">
</FORM> 

© 1996 by Scot Hillier. All rights reserved.