Form Tags

More INPUT Attributes

Each INPUT field must have a NAME attribute which is associated with the input value. For example, if you were building an OPAC searching form and had two fields:
Enter a Title: 

Enter an Author: 


would pair whatever the user enters in the text field with the name Author, and the Title data with the name title, the gateway could construct an author-title search from the input.

The VALUE attribute will set a default value (up to 1024 characters):

<INPUT TYPE="TEXT" VALUE="Blacksburg, VA"> 

Next Slide