Form Elements Example

JavaScript Validations for form elements

These are for <input type=". . .  " />  form elements
type="text" to input text
type="text" may not change text displayed
* does not work in all browsers
type="checkbox" may check many
type="radio" only one allowed
type="button" create your own
type="submit" will submit form
type="reset" clear input or refresh info
type="file" find a file
type="image" may use as a button or link
type="password" input displayed as ******
type="hidden" to carry a value

These are non <input /> form elements < . . .  >  </ . . .  >
button another create your own
textarea to input multi-lines of text
select, option no size specified
select, option size="3"
select, optgroups
* does not work in all browsers
 
JavaScript Validations  for form elements