Forums

[SOLVED] Validation message does not show?

JeLu 11 Mar, 2013
Hi!

I have a problem with validation. My form is a MultiPage form and it alidate and stop where the error is but the error message is not shown.

I did a view source in IE9 and found this:
 <script type="text/javascript">
//<![CDATA[
			window.addEvent('domready', function() {
				document.id('chronoform_my_test').addClass('hasValidation');
				formCheck_my_test = new FormCheckMax('chronoform_my_test', {
					onValidateSuccess: function(){},
					display : {
						showErrors : 0,
						errorsLocation: 1					}
				});										
			});
			
//]]>


I supose that showErrors should be set to 1 but I can´t figure out where to change this value.

Thanks in advance

JeLu
GreyHead 11 Mar, 2013
Hi JeLu,

That's unlikely to be the problem*, it's more likely that there is a CSS problem and the tooltip error message is hidden either behind another page element or off the page.

If you click the Test Form icon in the Form Wizard view can you see the error messages then?

Bob

* The showErrors setting sets whether the errors are shown only on Submit or on Blur and on Submit. You can change the setting on the JS Validation tab of your form.
JeLu 11 Mar, 2013
I changed to show after element, and then it shows. In english but I think I know how to translate to Swedish.

//JeLu
GreyHead 11 Mar, 2013
Hi JeLu,

Still sounds like a CSS problem with the ToolTip messages but if the 'show after' are Ok this will work well.

There's a FAQ about setting the language.

Bob
JeLu 11 Mar, 2013
Thank You!

Fixed Swedish langauge and it works. Perkahps it is something with my template. Shall see if I can get to look nicer with som css.

Change to solved in subject

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