on 07-18-2008 6:20 AM
Hi,
I have created an application which has 2 input fields : period_from & period_to and a Search button.
on clicking the search button a table with the required fields corresponding to the values selected gets displayed.
My requirement is to limit the length of the 2 input fields: period_from & period_to TO 7digits and that the user has to enter the period in "MM.YYYY" format. In case the length exceeds or the format is incorrect , an error message should get displayed.
Can anyone help me with the validation code??
Regards,
Anurupa
Hi,
When ever you create thses fields we can options/properties for the lenght of the field (both input and ouput length) there we can restritct the number of characters.
At run time on this element, we can use method related to that UI emelent. check the parent UI element class or object from that we can validate.
Reward if helpful.
Best Wishes,
Chandralekha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.