I have a checkbox in comprofiler which the value I need to update using a CF registration form (tied to CB) as a user registers for the first time. I am able to store all the basic data and other fields but how is the checkbox value saved - no idea.
I have been trying for hours because I am new to PHP. Pls help, anyone.
Hi ranjeev,
They can be stored in different ways - sometimes 1 bit ( 0 or 1 ) sometimes yes or no, sometimes with a value or no value. What's the field format in the comprofiler table and what does stored info look like in the field?
Bob
Hi ranjeev,
I just tried to create a simple form in the wizard then created a table through Chronoforms and choose TINYINT for the field type which results in a TINYINT(4) table field and all is working fine!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thank you. Missed that simple thing.
*edit-
I agree it works on newly created forms & tables via CF. But my main idea is to put in the checkbox value during registration which is crucial. I used the cb registration plugin for that & my target field to update is cb_cbox.
I think that this may be the problem yes, because the cb_plugin inserts the data to the CB table in a different way, I have no solution for this now except by a new version of the cb_plugin! :?
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.