Emailverfication and checkbox problem

jduntze 25 Sep, 2009
Hi all,

I am quite new to chronoforms and thanks to the great forums I managed to nearly complete the form I am working on. But now I stumbeld over a problem I cannot solve.

In my form (made with the form wizard) I have a checkbox with several values. DB connection is on and working. But when I add email verfication (a must-have for this form) the values of the checkbox are neither transfered to the database nor to the emails. I tried to change the order of running of the blocks with no effect. Also changing "Saving data/email" settings in DB Connection does not help. It looks like the emailverification-process prevents the data from the checkbox from being recorded.

I have also a radio button in the form which works without problem.

BTW I just upgraded to the newest version of chronoforms.

Any idea where else I can look to solve the problem?


Greetings,

Joerg
GreyHead 25 Sep, 2009
Hi Joerg,

Do you have "ChronoForms handle my posted arrays" set to 'Yes' in the Form General Tab?

Bob
jduntze 25 Sep, 2009
Yes, I have it enabled. Sorry. Forgot to mention it.

Joerg
GreyHead 25 Sep, 2009
Hi Joerg,

Have you edited the form since you created the DB Connection? The Connection has to be refreshed to pick up new fields.

Otherwise I haven't got much to suggest, the data should be save pretty much automatically.

You can turn on Site debug and then look at the MySQL queries when the form is submitted to see what the generated query is.

Bob
jduntze 25 Sep, 2009
Hi Bob,

thanks for the suggestion. i will try this when I´m back in the office on tuesday. Will keep you posted.
Have a nice weekend,

Joerg
jduntze 30 Sep, 2009
Hi Bob,

now I had another try. I built a new form right from the scratch. Same problem.

The debug is the following:

1.Form passed first SPAM check OK
2.Form passed the submissions limit (if enabled) OK
3.Form passed the Image verification (if enabled) OK
4.Form passed the server side validation (if enabled) OK
5.$_POST Array: Array ( [radio0] => subscribe [email] => [email]jduntze@freenet.de[/email] [name] => jojo [check0] => Array ( [0] => General biotech news [1] => Neuroscience [2] => Pain [3] => Chemistry [4] => Hospitals & Doctors [5] => Lab Automation ) [button_4] => Submit [recaptcha_challenge_field] => 022SWjfXlaWF3jdn0EngWoJqr5zTYo8aUyncaiZ3wOF89_h6yYIs1biiaGu5CXI3cUENk_2MLpqbCRXsDt-JzvyX3Hw-bl6JFIQwx4MK6QQQ-P53J_JsS3NU4dKteRtUpPQMGYJf7LsnybpFCPgOVGuDIRaR_WuYmziBHvoBGhU2mB33CMPHVSukBsCfqDd9ZEfFCjryRhctgsNfokDgiry0_3MciFxBNjxq-DISIH2SOpe8KIIKsTBnGuLof_iT7Imv3CtnjXloElkrqr-PZ91soRmSwB [recaptcha_response_field] => tough duncan [4a8643f395e6be5274d67d21e88fea64] => 1 [1cf1] => 188a817706d8786a72b19902ca9551ab [chronoformname] => mytest )
6.$_FILES Array: Array ( )
7.Form passed the plugins step (if enabled) OK


That´s all. The emails arrive but the checkbox_field is empty.

Do you have another idea what to try next?

Thanx,

Joerg
GreyHead 30 Sep, 2009
Hi Joerg,

Please double-check that you have "ChronoForms handle my posted arrays" set to 'Yes' in the Form General Tab?

If this isn't the problem an dthe form is on-line pleae email or PM me a SuperAdmin login and I'll take a quick look.

Bob
GreyHead 01 Oct, 2009
Hi Joerg,

Thanks for the login. I took a look and fixed the problem - or at least found the cause. It was the Email Verification plugin which I've now turned off.

I've not seen that problem before and I'm not very familiar with how the plugin works but it had two effects, it stopped the checkbox array being written and it stopped the ReCaptcha box re-displaying properly.

Bob

PS I also made a small tweak to the divs around the ReCaptch box to get the input back in place.
jduntze 01 Oct, 2009
Hi Bob,

thanks for your help. Unluckily I need the email verfication plugin. I was told that we need a double opt in for the formula. Do you have any idea, how to deal with this. I thought about a complete user registration but that´s a little bit to much for what we need.
If you have any idea I would be very happy.

greetz,

Joerg
Evopro 09 Jan, 2011
Hi there

I just have spent 10 hours finding out I have exact the same problem with our form. this must be a bug then!

Please let me know if anyone will look into this since we must have email verification to this form.

Best Regards
Johan Niklasson
This topic is locked and no more replies can be posted.