on 02-11-2015 5:11 PM
Hi,
I am trying to validate, if the email address entered by user is of the following pattern {[a-z][0-9]._}@{[a-z][0-9]._}.[a-z]}
When I try to create a user defined validator with function contains and above pattern, it doesn't work.
It always returns true, that mean even if user enter just name, it return true.
I want to validate this at the form itself not hit backend for validate. Please suggest.
Thanks
Prashil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Udi,
What is the best way to achieve it.
Can I trigger the RFC, to validate the email format as soon as the field lost the focus?
Best Regards
Prashil Wasnik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prashil,
Yes - you could define the Action on the control:
Then, on focus lost / Enter press, the SUBMIT Action is triggered. If you use it on the relevant link, it activates the Data Service:
You could still use the Validation feature to prevent going to the backend if some input is missing etc.
The SUBMIT action is not triggered if there are Validation errors. So you can perform all the checks you can on the Client Side. Only then the Data Service is executed.
Thanks,
Udi
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.