App Connect Form Validator Support Product Page
Solved
Equal To validator set up question
Reported 12 Jun 2017 16:26:29
1
has this problem
12 Jun 2017 16:26:29 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 13 Jun 2017 06:59:54
13 Jun 2017 06:59:54 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 13 Jun 2017 07:50:10
13 Jun 2017 07:50:10 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 13 Jun 2017 08:05:44
13 Jun 2017 08:05:44 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 14 Jun 2017 14:39:04
14 Jun 2017 14:39:04 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 14 Jun 2017 14:55:18
14 Jun 2017 14:55:18 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 14 Jun 2017 15:25:31
14 Jun 2017 15:25:31 Nigel Robinson replied:
I think that's done. Still not working though.
Replied 14 Jun 2017 15:40:57
14 Jun 2017 15:40:57 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 14 Jun 2017 16:39:26
14 Jun 2017 16:39:26 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 14 Jun 2017 16:40:48
14 Jun 2017 16:40:48 Teodor Kuduschiev replied:
You must add clientside validation also ... Serverside validation is an addition to the clientside one.
Replied 14 Jun 2017 20:20:13
14 Jun 2017 20:20:13 Nigel Robinson replied:
That did the trick, thanks. All working now.
Replied 08 Jul 2017 08:13:17
08 Jul 2017 08:13:17 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