Custom Form Client Side Validation Problem

Hi there,


I was just wondering if someone can help me figure out why everytime I turn on the client side validation on any custom form, the following popup window message appear when I have a form submit error. The correct message is there, however, there are lots of extra "function" codes that appear at the bottom.



---------------------------------------------------------------------------------------------



[size="2"][font="Courier New"]The following errors must be corrected before the form can be submitted:

You are required to enter some comments

function (iterator) {

var index = 0;

try {

this._each(function (value) {try {iterator(value, index++);} catch (e) {if (e != $continue) {throw e;}}});

} catch (e) {

if (e != $break) {

throw e;

}

}

}

function (iterator) {

var result = true;

this.each(function (value, index) {result = result && !!(iterator || Prototype.K)(value, index);if (!result) {throw $break;}});

return result;

}

function (iterator) {

var result = true;

this.each(function (value, index) {if ((result = !!(iterator || Prototype.K)(value, index))) {throw $break;}});

return result;

}

:

:

so on[/font][/size]



---------------------------------------------------------------------------------------------



Is this a config issue?



Thanks a lot in advance.

By the way, the version we are using is Squiz MySource v3.16.6 (Matrix). Thanks

[quote]
By the way, the version we are using is Squiz MySource v3.16.6 (Matrix). Thanks

[/quote]

Hi flores I noticed this too when setting up client side validation. So looking forward to an answer to this one :slight_smile: