Online documentation - Websydian v6.0

Users Guide | Patterns Reference | WebsydianExpress | Search

 

Document Template Generator Example

Below is a part of HTML code generated by Websydian for a detail Document Template (JavaScript code initializing the status fields is not included):

<FORM ACTION="/OBTRAIN/OBTRAIN.EXE" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="WSYD_EVENT" VALUE="WWaF">
<INPUT TYPE="HIDDEN" NAME="AA84A" VALUE="/(AA84A)">
<INPUT TYPE="HIDDEN" NAME="ORGCAL" VALUE="/(ORGCAL)">
<P>Employee Name<INPUT TYPE="TEXT"
   NAME="AA85A" VALUE="/(AA85A)" SIZE="25"></P>
<P>Employee Hire Date<INPUT TYPE="TEXT"
   NAME="AA86A" VALUE="/(AA86A)" SIZE="10"></P>
<P>Employee Status</P>
<P><INPUT TYPE="RADIO"
   NAME="AA87A" VALUE="F" CHECKED="false">Full-time</P>
<P><INPUT TYPE="RADIO"
   NAME="AA87A" VALUE="C" CHECKED="false">Contractor</P>
<P><INPUT TYPE="RADIO"
   NAME="AA87A" VALUE="R" CHECKED="false">Retired</P>
<P>Employee Title
<SELECT NAME="AA88A">
<OPTION VALUE="1" >Technical Manager
<OPTION VALUE="2" >Operations Manager
<OPTION VALUE="3" >Programmer
<OPTION VALUE="4" >Admin Assistant
<OPTION VALUE="5" >QA
<OPTION VALUE="6" >Clerk
<OPTION VALUE="7" >Branch Manager
</SELECT>
<P>Employee Salary<INPUT TYPE="TEXT"
   NAME="AA89A" VALUE="/(AA89A)" SIZE="11"></P>
<P>Department Code<INPUT TYPE="TEXT"
   NAME="AA7lA" VALUE="/(AA7lA)" SIZE="6"></P>
<P><INPUT TYPE="SUBMIT"
   NAME="Confirm change" VALUE="Confirm change" ></P>
</FORM>
<FORM ACTION="/OBTRAIN/OBTRAIN.EXE" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="WSYD_EVENT" VALUE="WW9F">
<INPUT TYPE="HIDDEN" NAME="ORGCAL" VALUE="/(ORGCAL)">
<P><INPUT TYPE="SUBMIT"
   NAME="Cancel change" VALUE="Cancel change" ></P>
</FORM>

The resulting template form will look like the form shown below:

Employee Name

Employee Hire Date

Employee Status

Full-time

Contractor

Retired

Employee Title

Employee Salary

Department Code

The HTML document can now be edited in an HTML editor