Gossamer Forum
Home : Products : DBMan : Customization :

Check boxes and pulldowns?

Quote Reply
Check boxes and pulldowns?
I have set up a database where I can select the categories to put records in via a check box. Each check box is its own field. I am placing the search for this database on a static html page and would like to make the category select a pull down, but I can not figure how to do this.

Any help?!!
Quote Reply
Re: Check boxes and pulldowns? In reply to
It is not an official Mod. Search this forum for Multiple Select Fields. Keep in mind that this only works for data entry, NOT searching via the search forms.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Check boxes and pulldowns? In reply to
You would put the fields in the %db_select_field array.

Like the following:

Code:
%db_select_fields = (
FieldName => 'value1,value2,value3,value4'
);

Replace FieldName with the name of the field you used for the checkboxes. Then replace the value1 - value4 with the values you have assigned in the %db_checkbox_fields array.

BTW: A much easier way to do this would've been to use the Multiple Select Field Mod that Carol and I wrote for data entry and the single Select Field option in DBMAN, rather than setting up different checkboxes.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Check boxes and pulldowns? In reply to
TYVM!!!!!!

Where is this mod located?