App Connect Form Validator Support Product Page
Solved
Equal To validator set up question
Reported 7 years ago
1
has this problem
7 years ago Nigel Robinson posted:
Got a form working with all required fields plus two with extra validation, an email field and a password confirmation field. Password confirmation is using the Equal To validator and, if the field is empty the Required validator stops the form being submitted, but it doesn't then compare with the password field to stop the form being submitted if there is no match. Any ideas? Replies
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
Hello Nigel,
I am not really sure i understand what exactly are you trying to do .... equal to rule should not be used empty. In the equal to rule you must enter the name of the field you want to compare to.
I am not really sure i understand what exactly are you trying to do .... equal to rule should not be used empty. In the equal to rule you must enter the name of the field you want to compare to.
Replied 7 years ago
7 years ago Nigel Robinson replied:
What I mean is that the Required Validation works if the field is left empty, but if the field contains a value not equal to the password field, the form is still submitted. Does the order of adding these validations matter?
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
If the form is submitted when the field contains a value not equal to the password field, then something is not setup properly. Please provide a link to your page, where i can check this.
Replied 7 years ago
7 years ago Nigel Robinson replied:
Sorry about the delay in replying. Deleted and restarted from scratch to make sure I'd followed all the steps. Still the same.
www.littlerascalsclothes.com/test.php
www.littlerascalsclothes.com/test.php
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
The following files are missing from your server:
test.php:6 GET www.littlerascalsclothes.com/dmxAppConnect/dmxValidator/dmxValidator.css
test.php:7 GET www.littlerascalsclothes.com/dmxAppConnect/dmxValidator/dmxValidator.js
Please make sure to upload everything.
test.php:6 GET www.littlerascalsclothes.com/dmxAppConnect/dmxValidator/dmxValidator.css
test.php:7 GET www.littlerascalsclothes.com/dmxAppConnect/dmxValidator/dmxValidator.js
Please make sure to upload everything.
Replied 7 years ago
7 years ago Nigel Robinson replied:
I think that's done. Still not working though.
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
Are you just cutting and pasting this code around? App connect is not applied to this page, includes are missing in the head tags....
Please start from scratch and follow the tutorial step by step.
Please start from scratch and follow the tutorial step by step.
Replied 7 years ago
7 years ago Nigel Robinson replied:
Done it all again following the video instructions from "Adding Server-side Validation to Your Forms" on the App Connect Form Validator page. Still not working.
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
You must add clientside validation also ... Serverside validation is an addition to the clientside one.
Replied 7 years ago
7 years ago Nigel Robinson replied:
That did the trick, thanks. All working now.
Replied 7 years ago
7 years ago Greg Walton replied:
This may solve my issue as well then, the videos didn't say you have to add both client and server side validation - maybe worth mentioning as an addition on the video?!
update;
added Client side and Server side validation and it enters into the database! YES!!
However, I've now added email validation to check the entered value 'Does NOT exist in the database' - Now the form just sits there!! it's obviously checking but no error message is showing and I get green ticks on the form - something still very wrong.
Sending the relevant files to DMXZone for appraisal
update;
added Client side and Server side validation and it enters into the database! YES!!
However, I've now added email validation to check the entered value 'Does NOT exist in the database' - Now the form just sits there!! it's obviously checking but no error message is showing and I get green ticks on the form - something still very wrong.
Sending the relevant files to DMXZone for appraisal