Sagar,
I'm not going to write the exact queries, but I think 'Email Address' LIKE
("%" + " " + "%") with a space in the quotes will find any spaces.
There might be better ways to do this, but to meet the 2nd requirement you
could look for something like 'Email Address' LIKE ("@%@") AND (NOT('Email
Address' LIKE "%;%")) and throw an error. If the field is long enough to
contain more than just 2 addresses, you might have to have multiple active
links/filters - one to check for 3 addresses by looking for three @ signs
missing 2 semicolons, another to check for 4 addresses missing 3 semicolons, so
forth.
David Durling
University of Georgia
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of vidyasagar kommu
Sent: Wednesday, September 11, 2013 2:14 AM
To: [email protected]
Subject: Email Id validation in remedy
**
Hi All,
Could you please guide how to do the below requirements .
Requirment1 : Whenever there is a Space Email Address remedy should not allow
to create or save the form .
This space could be at any place in the email field, could be at the beginning
,middle or end of the email ID.
So ideally this field should not accept a space anywhere in the field.
Requirment2:If there are two or more email ID 's in the email field then those
should be separated by a semicolon (;), so if there is no semicolon (;) between
two email addresses then remedy should not allow to save form It should throw
any error message
Requesting you provide the suggestion on this.
Thanks in advance
Thanks
Sagar
_ARSlist: "Where the Answers Are" and have been for 20 years_
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"