Hello,
I am currently trying to implement a custom validation captcha for a project I am working on and have got a little stuck.
I have managed to get the form to display my new captcha and post the data through etc, and I have managed to check whether the value being sent is valid/invalid by adding code to the "On Submit code - before sending email:" section.
What I'm unsure how to do is when I conclude whether to go back to the form and display an error, how to do this?
So
if ($customVerificationFailed) {
}
what would I put in the if to fail verification and display an error message?
I'm using the newest versions of joomla/chrono forms.
I hope this is clear and thank you for your help!
I am currently trying to implement a custom validation captcha for a project I am working on and have got a little stuck.
I have managed to get the form to display my new captcha and post the data through etc, and I have managed to check whether the value being sent is valid/invalid by adding code to the "On Submit code - before sending email:" section.
What I'm unsure how to do is when I conclude whether to go back to the form and display an error, how to do this?
So
if ($customVerificationFailed) {
}
what would I put in the if to fail verification and display an error message?
I'm using the newest versions of joomla/chrono forms.
I hope this is clear and thank you for your help!