Form Checkboxes not saving to DB

demo38 15 Apr, 2009
Argh...

Can't get this working...

Joomla 1.5.10 / ChronoForms_V3.1_RC4.11 / WAMP Server

I have a form that is submitting to the DB now (thanks Bob!), also uploading files successfully, however, no data is being populated from the checkboxes?

Reading through the forums, I have the field types set to VARCHAR(3) for the Yes / No selections (check0 and check1), and VARCHAR(255) for check2, which is a large categories list.

Max suggested checking that "ChronoForms handle my posted arrays:" to Yes in a forum post, and it is.

Any insight???

Thanks!
Jonathon
GreyHead 15 Apr, 2009
Hi demo,

I think I've found a bug in ChronoForms RC4.11 - the code to split up arrays is only being run if emails are turned on. Until Max can fix it, set "Email the results ?" to Yes in the General Tab. This will enable the extra processing step and the checkbox arrays are saved OK.

Bob

PS You probably want radio button groups for the two Yes/No selections, with checkboxes it's possible to select both. Switch the inputs to type='radio' and give both the same non-array name (this is OK because only one will return a value).

Bob
demo38 15 Apr, 2009
Bob,
You are the man! Thanks, that works perfectly! I've spent literally days with Fabrik and LQM trying to get things configured, ChronoEngine blows them away!

-Jonathon
Max_admin 16 Apr, 2009
Thanks, I have fixed this one!🙂

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.