on 02-07-2009 2:55 AM
Hi, i started to work with Sap netweaver visual composer. i have to validate a "input field" where it only have to accept letters like 'Abraham cuahutle' but not 'Abraham00939383%6$ Cu398403' somebody can help me.
Hi Abraham,
I was just reading the library and i came across this topic.
I had your question in my mind. Please have a look.I am sure it will be helpful.
Link: [ValidateForm|http://help.sap.com/saphelp_nw04s/helpdata/en/a3/b65242f8a0bd30e10000000a155106/frameset.htm|Tip].
Have a best day ahead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abraham,
Try the below steps.
1) open the properties of the 'Input field'
2) Select 'Validation' tab.
3) Add one condition and set Condition='Contains' Value= '1' Error message = 'No numbers or symbols'
4) Add another condition and set Condition='Contains' Value= '2' Error message = 'No numbers or symbols'
5) Continue for the steps for numbers and symbols which are you don't want to enter.
Hope it helps...
Regards
Basheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Basheer :
I did that, it's function good for numbers, but what's up whit special characters like "$&%!@)(", i try to validate this with regular expressions but i don't know how to do it,
When i try to validate the input field as you said it is good but when try to validate more characters (around 20, numbers and especial characters) i have an error 32k or 64k
Do you know how to validate this with regular expressions.
Please help me.
Thanks.
Abraham,
There is no such a method to check the availability of numbers and special characters in input field. You can make it as possible by checking for individual numbers and also for special characters.
Use the step I've given for numbers also for the special characters.
For example,
Condition='Contains' Value = '%' Msg='No special characters'
Condition='Contains' Value = '@' Msg='No special characters'
.........
.........
Regards
Basheer
Ok it is function very well, but i have a form with 30 input fields and i have to put around 30 validations each one of input fields including numbers and special characters, if a do this i have 900 validation per iviews i have 40 iviews then i get 32k or 64k error, for that i would like one expression that validate and permit to capture only letters no numbers no special characters.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.