on 11-15-2011 11:48 AM
Hi Dear All,
My requirement is i want to validate the UI fields from context,not from code i dont know how to start please help me anyone.I am new to WebDynpro Java
Thank You!
Edited by: Rama krishna.T on Nov 15, 2011 12:49 PM
What exactly is your requirement?
I don't think there is a way to validate fields on context, but if you're referring to 'required' fields, just set the input field property to true and upon submitting your data it will check whether all required fields are filled.
Other than that, I don't see a way to validate input without coding these validation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could please explain your scenario.
If you are talking about using calculated attributes, check this [help.sap|http://help.sap.com/saphelp_tm80/helpdata/de/7f/a0384162316532e10000000a1550b0/content.htm] document.
Regards,
Anand G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Checking if fields are empty can be done without coding, just set the 'state' property of the respective UI input elements to true. This will add an asterisk to any bound labels indicating it's required, and the framework will then display a message upon submitting your data -- no code needed.
However, to check whether 'valid' data is entered -- what is valid data? -- I see no way to do achieve this without coding
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
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.