| << F.4.3- Common Errors for Text Type Fields | AppendixF | F.5.0- Check Boxes >> |
Sample Text Fields
The following code, Text01Form.htm, demonstrates the useof text fields:
<TITLE>Text_01_Form</TITLE>
</HEAD>
<BODY>
<H3>Text 01 Form</H3>
<FORM ACTION="Text01Response.asp"METHOD=GET>
Please type your First Name
<INPUT TYPE=TEXT NAME="NameFirst"VALUE="First Name"><BR>
Please type your Middle Name
<INPUT TYPE=TEXT NAME="NameMiddle"VALUE="Middle Name"><BR>
Please type your Last Name
<INPUT TYPE=TEXT NAME="NameLast"VALUE="Last Name"><BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
| This gives us the following screen:
|
|
The response page is Text01Response.asp:
...
<TITLE>Text_01_Response</TITLE>
</HEAD>
<BODY>
<H3>Text 01 Response</H3>
<%
Response.Write "We have received your name as"
Response.WriteRequest.QueryString("NameFirst") & " "
Response.Write Request.QueryString("NameMiddle")& " "
Response.WriteRequest.QueryString("NameLast") & "."
...%>
| And the result is:
|
|
| << F.4.3- Common Errors for Text Type Fields | AppendixF | F.5.0- Check Boxes >> |

RSS


