I have posted before about this issue and adding the post value in my form fields does not prevent an incorrect image verification from clearing my form data. I have added:
<input name="name" value="<?php echo $_POST['name']; ?>">
I previously had a Javascript onSubmit to check for missing fields, which I have removed for testing this problem.
My Submit URL field on the Form URLs tab is blank (default).
I am using version 1.0. Do I need to upgrade to get this to work, or make some modifications to the code? Help would be greatly appreciated as this is a big problem. Thank you.
<input name="name" value="<?php echo $_POST['name']; ?>">
I previously had a Javascript onSubmit to check for missing fields, which I have removed for testing this problem.
My Submit URL field on the Form URLs tab is blank (default).
I am using version 1.0. Do I need to upgrade to get this to work, or make some modifications to the code? Help would be greatly appreciated as this is a big problem. Thank you.
Hi drcleave,
Notexa and I worked this out in this thread a few days ago. It's a bit messy, I'll pull it together into a FAQ when I have a few minutes.
BTW: your Java Script validation code shouldn't affect this, the ImageValidation takes place on the server side for security and only triggers once the Java Script validation is complete.
Bob
Later: add the work-around to this FAQ
Later: edited to try and get these forums to accept a message with the JS word included as well as a URL<br><br>Post edited by: GreyHead, at: 2007/09/10 00:29
Notexa and I worked this out in this thread a few days ago. It's a bit messy, I'll pull it together into a FAQ when I have a few minutes.
BTW: your Java Script validation code shouldn't affect this, the ImageValidation takes place on the server side for security and only triggers once the Java Script validation is complete.
Bob
Later: add the work-around to this FAQ
Later: edited to try and get these forums to accept a message with the JS word included as well as a URL<br><br>Post edited by: GreyHead, at: 2007/09/10 00:29
I have upgrade to version 2.3 and have made modifications to the chronocontact.php file based on the Hints & Tips FAQ post (How can I keep the form data with ImageValidation?), but the image validation still does not work. I have it turned on with the {imageverification} code added to my form. When I submit the form, I receive the email, but the form submits if an incorrect image code is entered, or if it is left blank. Am I missing something?
Hi,
We will have this implemented in v2.3 stable, please wait for it in the next couple of days🙂
Cheers
Max
We will have this implemented in v2.3 stable, please wait for it in the next couple of days🙂
Cheers
Max
This topic is locked and no more replies can be posted.