multiple check boxes

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 27, 2008   (RSS)

Question, I know in listing and job manager you could make a field with multiple check boxes. I am trying to do that in CMS and I get an error message. The client wants to add listings in more than one category I figured check boxes would work but I can only make one.

Thanks
Chris

Re: [ChrisTitchenal] multiple check boxes

By Dave - February 27, 2008

There's no multi-value fields yet. :( So the only way to do it is to create multiple fields: category1, category2, etc.

One way to have multiple category selections is to create a menu for "categories" and then a few dropdowns that load their values from that menu. Then you only have to update your categories in one place.

Would that work for you?
Dave Edis - Senior Developer
interactivetools.com

Re: [ChrisTitchenal] multiple check boxes

By Dave - February 27, 2008

That sounds exactly right to me.

The way you search multiple fields at once is instead of this:

category1_keyword=sports

you use this:

category1,category2,category3_keyword=sports

And the program automatically figures out the MySQL query and all the complicated stuff for you.

There's some more details in the docs here:
http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html

Hope that helps. If you still have troubles I can help you set it up. But give it a try first and let me know how it goes.
Dave Edis - Senior Developer
interactivetools.com