Forums

Multi-select boxes or check boxes in a CB Registration form

gchancy 21 Apr, 2009
Hello -

I have basic text fields and single select dropdowns working just fine in a CB registration form. The problem is that I have some fields like 'interests' that need to be either a multi-select or a checkbox group. Since I don't know how to do a multi-select in Chronoforms, I initially began testing with the checkbox option.

In Chronoforms, I defined multiple checkboxes to match up to the various interests. This created multiple field IDs. In the CB Plugin, I mapped the multiple fields in a comma separate list to the field in CB (cb_interests) which I have defined as a checkbox, and also tried as a text field. I can't get the values to write to CB.

I would prefer a multi-select box in any case. How can I do this?

Thanks,

Glen
Max_admin 12 May, 2009
Hi Glen,

multi select boxes can be done using the wizard dropdown or if you are doing your html then you need a multiple attribute in the select tag and the name should be : name[] , you can then use this field name NOT fields ids!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.