[0001]
[0002]
[0003]
[0004]
[0005]
[0006]
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080]
[0081]
[0082]
[0083]
[0084]
[0085]
[0086]
[0087]
[0088]
[0089]
[0090]
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
[0103]
[0104]
[0105]
[0106]
[0107]
[0108]
[0109]
[0110]
[0111]
[0112]
[0113]
[0114]
[0115]
<!DOCTYPE html>
<!--
FORMWORK.C Usage Example
Submits example DCL procedure script WASD_ROOT:[CGI-BIN]FORMWORK_EXAMPLE.COM
30-OCT-2004  MGD  initial
-->

<html>
<head>
<title>FORMwork Example</title>
</head>
<body>

<h2><u>FORMwork Example</u></h2>
<form name="surveyForm" action="/cgi-bin/formwork_example.com" method="POST">
<table cellspacing="5">

<tr><th align="right"><sup>*</sup> Email:</th><td>
<input type="text" size="40" name="email" value="@the.host.name"
formwork="MAEMSI60DE{Email Address}">
<td></tr>

<input type="hidden" name="remote-addr"
formwork="CG{remote_addr}DE{Host Address}">
<td></tr>

<tr><th align="right">Text:</th><td>
<input type="text" size="25" name="text-field"
formwork="DE{Example Text}">
<td></tr>

<tr><th align="right"><sup>*</sup> Numeric Only:</th><td>
<input type="text" size="10" name="numeric-field"
formwork="MA NU DE{Example Numeric}">
<td></tr>

<tr><th valign="top" align="right">Textarea:</th><td>
<textarea rows="4" cols="40" name="textarea-field"
formwork="AS DE{Example Textarea}">
</textarea>
<td></tr>

<tr><th align="right"><sup>*</sup> Checkboxes:</th><td>
<input type="checkbox" name="check-box" value="one">one
<input type="checkbox" name="check-box" value="two">two
<input type="checkbox" name="check-box" value="three">three
<input type="checkbox" name="check-box" value="four"
formwork="ma li{A LITERAL} de{Example Checkbox}">four
<td></tr>

<tr><th align="right"><sup>*</sup> Radio Buttons:</th><td>
<input type="radio" name="radio-button" value="one">one
<input type="radio" name="radio-button" value="two">two
<input type="radio" name="radio-button" value="three">three
<input type="radio" name="radio-button" value="four"
formwork="ma de{Example Radio}">four
<td></tr>

<tr><th align="right">Selection Of:</th><td>
<select name="select-from" formwork="SI4 DE{Selection Of}"
<option value="" selected>(none)
<option value="one">one
<option value="two">two
<option value="three">three
<option value="four">four
<option value="five">five
</select>
</td></tr>

<tr><th></th><td>
&nbsp;<font size="-1"><sup>*</sup><i>These fields are mandatory.</i>
</td></tr>

<tr><th></th><td></td></tr>

<tr><th></th><td>
<input type="submit" name="submit-button" value="Submit"
formwork="OPDE{Submit button used}">&nbsp;
<sup>**</sup>&nbsp;
<input type="reset">
<td></tr>

<tr><th></th><td>
<font size="-1"><sup>**</sup><i>Browser system details are logged.</i></font>
<td></tr>

</table>
</form>

<p><font size="-1"><i>
<b><u>NOTES</u></b>

<br>This form:&nbsp;
<a href="/wasd_root/src/misc/formwork_example.html?httpd=content?type=text/plain">
WASD_ROOT:[SRC.MISC]FORMWORK_EXAMPLE.HTML</a> 

<br>The script:&nbsp;
<a href="/wasd_root/src/misc/formwork_example.com">
WASD_ROOT:[SRC.MISC]FORMWORK_EXAMPLE.COM</a>
&nbsp;(processes the request)

<br>The utility:&nbsp;
<a href="/wasd_root/src/misc/formwork.c">
WASD_ROOT:[SRC.MISC]FORMWORK.C</a>
&nbsp;(contains description and usage information)

<br>Resultant CSV:
<a href="/cgi-bin/formwork_example?csv">
WASD_ROOT:[SCRATCH]FORMWORK_EXAMPLE_CSV.TXT</a>
&nbsp;(generated by the submiting the example form above)

</i></font>

</body>
</html>