|
Association of Shareware Professionals
The World's #1 Trade Organization for Independent Software Developers and Vendors
|
The HTML document format used for creating extensions is very straight forward, just a simple HTML form. You do not even need to add a SUBMIT button to the form. Each extension is based on the TITLE tag. Here you see GIZMO is present, this will create a grouping in the final PAD file that is wrapped by <GIZMO> and </GIZMO> tags.
Each field in the extension group is also prefaced with GIZMO, in this case there is one field: GIZMO_Blanket_CD_Permission.
Now when the Gizmo Corporation reads in your XML PAD file it can pull out its own extensions to find out if you gave permission to them include your product on their CD!
Note that there is a dependency between the "<TITLE>GIZMO</TITLE>" tag and the "<INPUT TYPE="hidden" NAME="GIZMO_FORM" VALUE="Y">" tag. In particular, if the INPUT NAME field does not have the name of the TITLE tag + the text '_FORM', then the form values are not saved at the next time PADGen is run. The example above is correct and this note is pointing out the linkage in the naming.<HTML>
<HEAD>
<TITLE>GIZMO</TITLE>
</HEAD>
<H2>GIZMO's XML PAD Extensions Form</H2>
Along with the Standard Information entered with your XML PAD we would also like to ask the following questions:
<FORM METHOD="POST" ACTION="">
<INPUT TYPE="hidden" NAME="GIZMO_FORM" VALUE="Y">
<INPUT TYPE="checkbox" NAME="GIZMO_Blanket_CD_Permission" VALUE="Y" CHECKED> Can we include this product on our CD if desired?
</FORM>
</BODY>
</HTML>