Forums

Invalid Anti-Spam or ReCaptcha clears the form

MattLG 06 Jul, 2009
If a user gets the Anti-Spam or ReCaptcha field wrong, the whole form gets cleared so they have to fill it all out again. I can't find a setting to change this so that the validated form data remains.

Cheers

MattLG
GreyHead 06 Jul, 2009
Hi MattLG,

Try "Republish fields if error occured" in the 'Other Form Settings' section of the General Tab.

Bob
MattLG 06 Jul, 2009
Yup, just found it :-)

MattLG
peter49 06 Jul, 2009
Hi,

after installation of RC5.3 I tried to use this mechanism.
With "Republish fields..." at "Dont Republish" the same form is republished in a cleared state.
With "Republish fields..." at "Try to Republish" the form is not republished at all, not even in a cleared state. Just the error message end the link message appear.
Is this a problem in RC 5.3 or do I have to adjust something else as well in the form? I tried "Renew Form Instance On Submit" at new/same but that doesn't matter.
I see this happening in two different forms.

Regards,
Peter
Max_admin 06 Jul, 2009
Hi Peter,

Please re download the RC5.3 and retest, the first installer had one old file (unfortunately the republish file) then I fixed it after few minutes!

it works fine here, if it didn't work for you then please send me your form code to test with!

let me know!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
peter49 06 Jul, 2009
Hi Max,

after renewed download and reinstall the problem still occurs.
The form is not independent of its environment, but when trying to untie it I most likely found the reason (at least one of the reasons :wink: ) of the problem.
The form contains a dropdown the options of which are generated from a database table. The form contains PHP code to read the table and form the options accordingly.
After removal of the dropdown (and the corresponding PHP code) the republishing works correctly!

The form contains another dynamic feature that (to my surprise!) does not obstruct correct republishing. It's PHP code that checks whether the form user is logged in. If so user properties are stored in hidden fields, otherwise the user is asked for these.

I'll send you the form via the usual channel (with a copy of this message)

Regards,
Peter
Max_admin 06 Jul, 2009
Hi Peter, Great, I think we got this one solved! Thank you!🙂

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.