Optional fields
The optional fields available in the Manage Categories section, and the Manage Ad Types section allows you to tailor the classifieds 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 is being configured.
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:
1||||
|
2||| |
3|5|2|Option 1|Option 2|Option 3|Option 4|Option 5|
4|3|2|Option 1|Option 2|Option 3|
5|4|3|Option 1|Option 2|Option 3|Option 4