All variables in following section should have only true or false value.
By default, JavaScript will be generated to prevent null entries by the user. If an entry is not required for a particular field, change the setting to false.
Example 4-8. Required fields
$opts['fdd']['col_name']['required'] = true; $opts['fdd']['col_name']['required'] = false;
Allow users to sort the display on this column. Use true for enable, false for disable.
Example 4-9. Field sorting
$opts['fdd']['col_name']['sort'] = true; $opts['fdd']['col_name']['sort'] = false;
If you are storing HTML and/or PHP content in you database columns, you may want to have $opts['fdd']['col_name']['strip_tags'] variable turned on for particular fields. It will strip HTML and PHP tags from field content, when displaying column in table listing.
Example 4-10. Stripping tags
$opts['fdd']['col_name']['strip_tags'] = true; $opts['fdd']['col_name']['strip_tags'] = false;
By default are all field values escaped using htmlspecialchars() PHP function. However, this is not always desirable. You can turn escaping off by setting $opts['fdd']['col_name']['escape'] to false.