Validation & Conditions Not Working

Issues related to forms.
Post Reply
rogerr
 
 
Posts: 55
Joined: Fri Feb 02, 2018 2:43 am

Validation & Conditions Not Working

Post by rogerr »

Hello,

I've created a form several times. Each time, it works for a few tries then the Validation & Conditions
don't work any more. There are two check boxes for Email and Domain Name which should display
a field below them for entry of email and domain. These fields should not display until the
appropriate box is checked. When a box is unchecked, the field should hide. However, both
fields display all the time despite the status of the check boxes.

Various fields have popup validations which don't work at all. Customer name, address, credit card
information - all should require data entry. When the form was first created, all worked correctly.
Now it doesn't - even after rebuilding the form from scratch.

https://located.net

Project file: https://located.net/located.wbs

Roger
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Validation & Conditions Not Working

Post by Pablo »

In the validation settings of Editbox8 there is a quote in the text. This should be escaped otherwise it will break the structure of the script.

Code: Select all

Enter the card owner's name
should be

Code: Select all

Enter the card owner\'s name
rogerr
 
 
Posts: 55
Joined: Fri Feb 02, 2018 2:43 am

Re: Validation & Conditions Not Working

Post by rogerr »

Thank you Pablo! That was a pretty obscure issue that I could never have found.
It is working fine now.

Roger
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Validation & Conditions Not Working

Post by Pablo »

You can trace these type of errors by using the error console of the browser (F12). In most cases, it will point to the exact location of the error.
Post Reply