Gossamer Forum
Home : Products : DBMan : Customization :

Forcing ppl to choose an option

Quote Reply
Forcing ppl to choose an option
In my little dbman database, I have a drop down menu, which people select from. I was wondering if its possible to force people to select an option. Because at the moment, they can just leave it blank, and submit it.
Would there be away, either by modify the cgi or adding maybe javascript somewhere, so they have to select an option from the menu.
Any help greatly appreciated
Ben

Quote Reply
Re: Forcing ppl to choose an option In reply to
You can set the field to required in the %db_def hash in the default.cfg. Field columns are defined in that file.

Regards,

Eliot Lee