App Connect Form Validator Support Product Page

Server side validation rule for 'Other' > 'Not Equal to' doesn't seem to be working

Reported 15 Apr 2019 14:03:27
1
has this problem
15 Apr 2019 14:03:27 Bruce Wilkie posted:
Hi there

I can get this to work on client side but not on server side.

I just want the form to not send if one of the fields has a specific word in it.

Using 'google' as the word for the purpose of demonstration.

I can get this to work with client side validation using the option: Text > Pattern
^((?!google).)*$

And I can get this to work with client side validation using the option 'Other' > 'Not Equal To' and then entering 'google' into a hidden field and comparing the two.

These two options both work fine for client side, but when I set them up just as server side validations, the form just processes as normal and ignores the validation rules.

Other validation rules when set up as server sde only on the same form work file (eg 'Required' and 'Text' > 'Email')

Note, I only want server side validation in this instance which is why I can't just use client side validation and leave it at that.

Can you let me know what I'm doing wrong here?

thanks
Bruce

Replies

Replied 15 Apr 2019 14:24:41
15 Apr 2019 14:24:41 Teodor Kuduschiev replied:
Hi Bruce,
The Not Equal To requires you to enter the name of the field to compare to.
Are you sure your form inputs have names and ids assigned? And are you sure you are entering the right name there?

Reply to this topic