Forums

No validation checks in V4_RC2.0

Nico Meurders 11 Nov, 2011
Hello,
After installing Chronoforms V4_RC2.0 I made a simple form to test this (for me) new component.
I made an orderform with name, email, product, measure, and gender. All the fields are required. I added captcha as well.
On testing a noticed that only the validation of the emailadres and captcha works.
And an email was send, even when I did not fill any of the fields.
So I added in the On Load and in the On Submit a Debugger event.
This is the result of when of my tests (with empty fields):

Language string failed to load: invalid_address: Data Array:
Array
(
[naam] =>
[email] =>
[product] =>
[maat] =>
[geslacht] =>
[chrono_verification] =>
[Submit] => Verzenden
[e73b5e843560776acef8cd49e4d48feb] => 1
[chronoform] => Bestelformulier
[event] => submit
[Itemid] => 208
[option] => com_chronoforms
[view] => form
)
Debug Data
1. Core Captcha
1. Failed the core captcha check!
2. An email has been SENT successfully from () to [email]nmeurders@tele2.nl[/email]
Email template:
Naam*
Email*
Product*
Maat*
Geslacht*
Beveiligingscode*

I hope you can tell me what i did wrong.
Kind Regards,
Nico
GreyHead 12 Nov, 2011
Hi Nico,

You probably need to drag an Event Loop action into the On Fail event of the Check Captcha action. That will sort the Captcha problem. Please see the video below.

The validation could be a configuration issue, or a Javascript problem. Please post a link to the form so I can take a quick look.

Bob

[flash=640,360]http://www.youtube.com/v/XvFJ7RqN9LA[/flash]
TomX 14 Nov, 2011
I have the same issue, no matter if I use a Captcha or not.

I always get a "Language string failed to load" and the form was sent, even if it's empty.
GreyHead 14 Nov, 2011
Hi Tomx,

Which language string isn't loading?

Bob
TomX 14 Nov, 2011
Hi Bob,

I get this error message on IE9:

Language string failed to load: invalid_address:



I tried the IE9 fix that you've posted but it doesn't seem to work.


Greetings
Tom
GreyHead 15 Nov, 2011
Hi Tomx,

There's a fix in this post - not elegant but seems to work.

Bob
This topic is locked and no more replies can be posted.