Forums

Chronoforms v5 and multiple choice

emarae100 02 Sep, 2014
Hello

I have a set up chronoforms v5 on Joomla3 and need to make a form with an choice of 4 different documents to order... it should be possible to choose 1, 2, 3 or 4 of them..... I have made the form with checkbox group, but the systems only takes ONE choice.... no matter what I order.... what do I need to do? working with the basic form.

Thank you very much.
Emarae100
GreyHead 02 Sep, 2014
Hi Emarae100,

Please drag a Handle Arrays action into the OnSubmit event and move it up after any Validation actions and before any email or DB Save actions.

Bob
emarae100 03 Sep, 2014
Hi Bob, thanks very much for your reply. Since I am only working with the basic form, I decided to go back to the 'quick start guide' and learn all about the onLoad / On Submit stuff.... and in the very basic tutorial I have learnt how to tackle my problem... it says:

"For multiple selections fields, like check-box groups, the field name should end with 2 square brackets [], this is a common mistake, if you remove the 2 brackets then the field will not post multiple values when the form is sent."

... 2 square brackets..... can't unterstand the logic behind it, but it works!!!!!!! Thanks very much for your help anyway, much appreciated!

Kind regards,
Emarae100
GreyHead 03 Sep, 2014
Hi Emerae,

The logic behind it is that it is the way that the HTML designers decided they would handle inputs with multiple results :-(

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