Forums

Multiple checkbox not saved

daniele80 20 May, 2014
Hi all,
i have created a form with 13 checks. When I make more than one choice, it save only one check...
Can someone help me pls?
Thanks for all.

Daniele
GreyHead 20 May, 2014
Hi Daniele,

The Checkbox group must use an array name like checkboxes[] with [] at the end.

Please also drag a Handle Arrays action into the OnSubmit event and move it up before the DB Save action if you don't already have one.

Bob
daniele80 20 May, 2014
Ehm... where should I put the array? I have no idea where :-( pls an example ( checkboxes[] with [] )
Daniele
GreyHead 21 May, 2014
Hi Daniele,

Please check the images below:

Bob

[attachment=0]2014-05-21_12-05-07.jpg[/attachment]

[attachment=1]2014-05-21_12-06-26.jpg[/attachment]
daniele80 21 May, 2014
[attachment=0]Catt01.JPG[/attachment]
[attachment=1]Catt02.JPG[/attachment]

I'm trying to follow your indications but don't work.
i try to post some screen to give you more indications.
Thank for your time.
Daniele
GreyHead 21 May, 2014
Hi Daniele,

What doesn't work?

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Bob

PS In the options box please make sure that there is a = in each line and remove the spaces round the = sign.
daniele80 21 May, 2014
[attachment=0]Catt03.JPG[/attachment]

I have always the same problem, every time i submit form, don't save multiple checkbox but only one :-(

Daniele
Max_admin 22 May, 2014
Hi Daniele,

Please post a link to your form here or by PM or contact us!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin 23 May, 2014
Hi Daniele,

After checking your form I found that the field name is actually set to "Equipaggiamenti" and does NOT contain the brackets!

Please fix it in order to receive an array of values!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
daniele80 23 May, 2014
I don't find the field name without brackets.
other this... (see screen) where is other "Equipaggiamenti" without brackets?

[attachment=0]Catt01.JPG[/attachment]

Thanks for your patience.

Daniele
Max_admin 24 May, 2014
Are you sure that this is the SAME form in the link you sent ? I checked the page source code and the brackets are not there!

Also please make sure that you don't have another form with the same name, or this may display the first one all the time and your changes wouldn't work!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
daniele80 24 May, 2014
Can I ask a favor?
I could not find where is the error, you may return the form, and make me a screen where I Correct?
Thank you again for your patience and availability.

Daniele
daniele80 24 May, 2014
Wait to connect pls.
I want try to delete checkbos and create new...
I will update soon.
Max_admin 25 May, 2014
Answer
You can simply copy your form then change its name and make sure the checkboxes group name has the "[]" then save and test the new one (with the new name)
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
daniele80 25 May, 2014
Ok, solved the problem... i have followed your tips.
Thanks for all and sorry for disturb.

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