Hello World!
Firstly, I must say this component is simply fantastic! Kudos to the people working on it.
That being said I wanted to check if this issue I'm having is a bug or not. So here goes...
I setup reCAPTCHA to work with a form that I created. I then decided to add some ServerSide Validation to check if any of the input already existed in my db.
What I noticed was that when the ServerSide Validation was active the reCAPTCHA would not display an error and the form was submitted (and the serverside validation did it's thing..). However, if the ServerSide Validation was turned off, the reCAPTCHA would throw an error if an incorrect response was entered.
Could this be an issue? I tried debugging the chronoforms code myself but I couldn't find the cause of the issue.
Any helpful suggestions?
Cheers,
-Turner
EDIT: After further looking into the issue I noticed that this error only occurs when a duplicate entry is sent using the form. For example: In my registration form I allow input for email. However, in my serverside validation I make sure there is no other person registered with the same email. If there is...then I return an error message. So back to the problem..if I try using the form and enter [email]admin@something.com[/email] in the email field and enter garbage in the reCAPTCHA, the form will proceed if [email]admin@something.com[/email] is already registered. Granted the server side validation will throw an error. But the form should not have been submitted in the first place.
Firstly, I must say this component is simply fantastic! Kudos to the people working on it.
That being said I wanted to check if this issue I'm having is a bug or not. So here goes...
I setup reCAPTCHA to work with a form that I created. I then decided to add some ServerSide Validation to check if any of the input already existed in my db.
What I noticed was that when the ServerSide Validation was active the reCAPTCHA would not display an error and the form was submitted (and the serverside validation did it's thing..). However, if the ServerSide Validation was turned off, the reCAPTCHA would throw an error if an incorrect response was entered.
Could this be an issue? I tried debugging the chronoforms code myself but I couldn't find the cause of the issue.
Any helpful suggestions?
Cheers,
-Turner
EDIT: After further looking into the issue I noticed that this error only occurs when a duplicate entry is sent using the form. For example: In my registration form I allow input for email. However, in my serverside validation I make sure there is no other person registered with the same email. If there is...then I return an error message. So back to the problem..if I try using the form and enter [email]admin@something.com[/email] in the email field and enter garbage in the reCAPTCHA, the form will proceed if [email]admin@something.com[/email] is already registered. Granted the server side validation will throw an error. But the form should not have been submitted in the first place.