The following example is also used during bench-testing of VWcms.
The above form is created using the following elements inside a table structure. This is a little complicated and stripped of the table structure to make the form elements more obvious. Each line corresponds to a row in the above table. Note that some of these directive elements are for form testing purposes but included here for instructional purposes.
$$!TICKET$/!$$
$$FORM$action=email=mark.daniel@wasd.vsm.com.au$$
$$FORM$select=test_format$value=format=plain$format=HTML$format=XML$format=raw$$
$$FORM$+text=a_text$$
$$FORM$area=an_area$value=This is a test!$$$$FORM$insert=example1$value="*** an inserted literal ***"$$
$$FORM$+check=a_checkbox$value=One$`Two$Three$$
$$FORM$set=set of radio buttons$$$$FORM$radio=a_radio$align=v$value=Four$`Five$<$&$!Six$$$$FORM$set$$
$$FORM$select=select_from$size=3$=this$that$`&$!the$other$$
$$FORM$insert=REQUEST_URI$value=cgi=REQUEST_URI$$$$FORM$submit=the_submit$=Example Form$$
$$FORM$reset$value=Reset the Form!$$
$$ADVISE$$
$$FORM$test$$$$FORM$$
Form Development and Testing
Form development and testing is aided by some of the constructs demonstrated in the above form. In particular $$FORM$test$$ which disables form POSTing and instead displays the generated data. It must be used following all form elements.
