Trusted Contributor.. prasadeapen Trusted Contributor..
Trusted Contributor..
128 views

need rule to detect symbols in username field

need rule to detect symbols in username field

Labels (3)
0 Likes
Reply
3 Replies
chenselein1 Absent Member.
Absent Member.

Re: need rule to detect symbols in username field

Username NOT contains $SYMBOL?

0 Likes
Reply
Trusted Contributor.. prasadeapen Trusted Contributor..
Trusted Contributor..

Re: need rule to detect symbols in username field

username contains $ or # or ! or any SYMBOL should trigger rule

0 Likes
Reply
Acclaimed Contributor.. lless Acclaimed Contributor..
Acclaimed Contributor..

Re: need rule to detect symbols in username field

If I understand correctly:

Rules - New Rule - Rule Editor - Local Variables - Add.

Function - String -  Index Of - String 1 - User name field, String 2  - You simbols.

In conditions: you variable !=-1.

0 Likes
Reply
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.