Serverside form definitions

Forms are generally either defined in the form editor application or manually through a formdefinition xml file.

These form definitions should have an extenstion 'formdef.xml'. Eg for a simple one-page registration form:

<formdefinitions xmlns="http://www.webhare.net/xmlns/publisher/forms">
  <form name="registrationform"
        gid="formgid"
        library="forms.whlib"
        objectname="RegistrationForm"
        >
    <page>
      <textedit name="firstname" required="1" />
      <textedit name="email" required="1" validationchecks="email" />
    </page>
  </form>
</formdefinitions>
PreviousNext

Comments