Page 1 of 1

Validation & Conditions Not Working

Posted: Sun Jun 06, 2021 2:29 am
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

Re: Validation & Conditions Not Working

Posted: Sun Jun 06, 2021 6:54 am
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

Re: Validation & Conditions Not Working

Posted: Sun Jun 06, 2021 9:25 am
by rogerr
Thank you Pablo! That was a pretty obscure issue that I could never have found.
It is working fine now.

Roger

Re: Validation & Conditions Not Working

Posted: Sun Jun 06, 2021 9:41 am
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.