Gossamer Forum
Home : Products : DBMan : Discussions :

Multi-(grouped) checkboxes in config

Quote Reply
Multi-(grouped) checkboxes in config
Can I have multiple checkboxes under one heading?

e.g. if I want a "contact method" category where members could select any of email/phone/..
I wouldn't want the db to desplay a series like
contact by phone yes
contact by email yes
and so on
but rather have a group of check boxes with values phone, email, etc
so the db would output
Contact me by phone email

suggestions on how this can be done most welcome


Nic

Quote Reply
Re: Multi-(grouped) checkboxes in config In reply to
I think this might work out better by using a multi-select drop down menu.

It may be much easier to have it display like you want.

Visit the FAQ noted below and look at the tread references in "Fields". You should be able to find samples of how to accomplish what you need.

Hope this helps

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Multi-(grouped) checkboxes in config In reply to
 
I'd found the problem that was stopping me do multi(grouped) check boxes (a spelling error!!)

All I need to do now is alter a copy of the build_checkboxes sub. Making all the checkboxes single column is the easies (insert a <CR> in the building code section), though might try and see if I can make it two boxes per line.