can I put radio buttons inside checkbox list for multilevel

metabase 07 Jun, 2011
Can I use the forms wizard to put radio buttons inside checkbox entries for a form of the type:
Dress the doll with up to three items and choose their color

The checkbox choices would be: cap, glasses, collar, shirt, waist band, belt, shorts

Within each, a color selection radio button: white, yellow,red, green, blue, purple, orange, black

then store 3 two-part values in the database. for example: cap yellow, shirt orange, belt green

As an alternative, can I use 3 multi-level dropdowns and validate the same clothing choice has not been selected twice among them.

Thanks!

Stephen
GreyHead 07 Jun, 2011
Hi Stephen,

You can't do this with the Wizard as far as I know.

I'm pretty certain that you can set it up with a little manual coding and some JavaScript (to limit the check boxes to 3 choices). We have a thread here - from a long time ago - about limiting the number of check-boxes, not sure I could find it now but you might be lucky.

You'd assemble the results in one of the OnSubmit boxes to format them for saving.

Bob
metabase 13 Jun, 2011
Hi Dave,

Thanks for getting back to me.
Another newbie question: where do I find the generated code so I can add custom code to it, reformat the appearance of the checkboxes and radio buttons (for example from vertical to horizontal)etc.

Thanks!

Stephen
GreyHead 13 Jun, 2011
Hi Stephen,

Which version of ChronoForms are you using?

Bob

PS Who is Dave?
metabase 14 Jun, 2011
Hi Bob,

It's Chrono Contact V 3.2 with Chrono Connectivity 2.0 RC3 in Joomla 1.5. My goal: I want the form to work as a data entry module in the center panel with the radio buttons next to the checkboxes (currently the wizard puts them underneath the checkboxes) and update a table in the mysql database when the submit button gets clicked.

Stephen

PS Oops, I guess Dave must be my Joomla imaginary friend :-)
GreyHead 14 Jun, 2011
Hi metabase,

You can see and edit the Form HTML if you open the Form Editor by Clicking the Form Name link in the Forms Manager, the the Form Code tab, then the [+/-] link next to the Form HTML label.

Bob
This topic is locked and no more replies can be posted.