Optional fields
The optional fields available allow you to tailor the directory to hold whatever you wish. These fields may be a text input, a text box, a select box, checkboxes, or radio buttons. This document will explain how to do this and offer you a tool to make the job easy.

To setup a custom field, you must first label that custom field in the "Title" box. The "Definition" is used to setup what type of custom field this is.

The definition must follow the following format:
type|#values|#default|val1|val2|val3|...

Where type equals:
1 = input box
2 = text box
3 = pulldown box
4 = radio
5 = checkbox

If the type is 3, 4 or 5 then the next field "#values" tell the scripts how many options to present. The "#default" will set the currently selected option to be the number you supply. The "val1", "val2" etc fields are the text labels for the possible options.

We have created a utility you may use to assist in creating your custom fields. To use this utility, click here.

Examples:
  • Input box
    1||||

  • Text box
    2|||

  • Pulldown box
    3|5|2|Option 1|Option 2|Option 3|Option 4|Option 5|

  • Radio buttons Option 1 Option 2 Option 3
    4|3|2|Option 1|Option 2|Option 3|

  • Check boxes Option 1 Option 2 Option 3 Option 4
    5|4|3|Option 1|Option 2|Option 3|Option 4




  • Ancora Imparo Copyright © 2003 - 2006 BosDev, Inc