F
o
r
m

{FORM(nType, ID1, ID2, Opt)}

The {FORM()} and {/FORM} tags denote the start and end of a Form area.

nType - Form Type :-
1 = Email Form such as contact form. Other form types to follow.
2 = Object Editor

1 1. User ID - The ID of the user who will recieve the details of the form.
1 2. Page ID - The ID of the page to navigate to after the form has been submitted.

2 1. Editing List Object
2 2. Page ID - The ID of the page to navigate to after the form has been submitted. If you enter a negative page number then the form will return to the previous page.
2 3. Additional Options (NOCANC = No Cancel Button, EXISTING, COID, NOBUTLAB = No Blank Label before the Submit Button)

All forms need fields.

The fields are defined :-

{FIELD(Name, Type, p1, p2, p3, p4, p5)}

For Types 2&3, the name should take the following format.

Field Information;Label

The field information tells the UDB where to put the resulting data.

aPrimary Field of the current Object
bSecondary Field of the current Object
RCid.aPrimary Field of child object linked to by id
RPid.bSecondary Field of parent object linked to by id

Field Types :-

  1. Character
  2. Integer
  3. Numeric 2 Decimal Places
  4. Date
  5. Email Address or URL
  6. Image URL (User Only)
  7. Date Time
  8. Check Box List
  9. Combo Box
  10. Radio Buttons
  11. CheckBox
  12. Text Box
  13. HTML TextBox

41. Human Validation
51. Hidden Auto ID
52. Hidden Auto Title
53. Hidden Auto Default

For Types 1 to 5

p1 = Character Size
p2 = Physical Size
p3 = Default Value

For Type 8,9,10

p1 = ID of the list of options

For Type 11 (Checkbox)

p3 = Any value defaults the box to be checked

For Type 12 (Textbox)

p1 = Box Height
p2 = Box Width
p3 = Default Value

P4 is the action ID number.

P5 are additional options.

*. Compulsory Field
R. New button on the right of the field
B. New button below the field
1. Duplicate Entries
2. Unique Entries
L. Low Level Relationships Only (<= 100)
NC. No Calender on types 4 and 7

Including the tag {NO_CANCEL} on the form will suppress the cancel button.