App Connect Form Validator Support Product Page

Answered

validate email address to ignore case

Asked 12 Mar 2018 15:02:33
1
has this question
12 Mar 2018 15:02:33 steve kirchuk posted:
I need to have the login username (also email address) to ignore letter case ...

Replies

Replied 12 Mar 2018 15:07:58
12 Mar 2018 15:07:58 Teodor Kuduschiev replied:
Hi Steve,
just use the "lowercase" filter - both for insert(register) form and for validation(what user entered).
Replied 12 Mar 2018 17:07:13
12 Mar 2018 17:07:13 steve kirchuk replied:
i am using app connect form validator and I do not see a filter for lowercase ... there is validation for email , alphanumeric etc
Replied 12 Mar 2018 18:10:13
12 Mar 2018 18:10:13 Teodor Kuduschiev replied:
Hi Steve,
the lowercase filter is not included in form validator. It is part of app connect formatter/server data formatter, so please apply it according to where you need it - on the client or on the server side.
Replied 12 Mar 2018 19:24:14
12 Mar 2018 19:24:14 steve kirchuk replied:
I added the convert to lowercase on the field and it doesn't seem to work .. for example: if a user types in I want it to be teodorkuduschiev@dmxzonecom because that is what is in the DB
Replied 13 Mar 2018 05:59:07
13 Mar 2018 05:59:07 Teodor Kuduschiev replied:
But that is what i am saying - apply the lowercase formatter to the post var you are using to log users in.
Replied 13 Mar 2018 13:34:36
13 Mar 2018 13:34:36 steve kirchuk replied:
I added the lowercase filter but I think it's the opposite issue .. users are putting in multi case emails in the database when they sign up and some were bulk loaded into the db as well ..so I assume I have to apply a filter on the server side as well ? Is that the server connect data formatter?
Replied 13 Mar 2018 13:40:06
13 Mar 2018 13:40:06 Teodor Kuduschiev replied:
Yes, as i explained in the first post:

Quotejust use the "lowercase" filter - both for insert(register) form and for validation(what user entered).


Add the tolowercase filter to the post in the insert record step.
Replied 13 Mar 2018 14:15:22
13 Mar 2018 14:15:22 steve kirchuk replied:
yeah It's telling me I need the server data formatter ... I have app connect data formatter and form validator
Replied 13 Mar 2018 14:22:13
13 Mar 2018 14:22:13 Teodor Kuduschiev replied:
In order to format server-side related data you need to have the server data formatter installed.

Reply to this topic