on 12-07-2009 10:38 AM
Hi All ,
I am working with WebDynpro Applicaton. I have few input fields , e.g. first name , last name , age.
I want to validate input fields on key event. like if i enter first name and enter tab or click next input filed i want to validate first name input field. is is possible in web dynpro java?
Thanx in advance
Regards
Kavita
Kavita,
I am not aware of the exact implementation of keyboard buttons like tab..
However each input fiels has a property called onEnter. You can define an action here in which you can do your validation .
This method will be called every time the user hits on enter provided the cursor is in that input field
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Version 7.1 (or 7.11 I don't remember exactly) has added an "onChange" event for input fields which is triggered when the input field is left by pressing the tab key.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kavita,
This thing is not possible in web dynpro java.
There is only one event available for input field that is OnEnter (i.e. when you press enter)
So you can validate it only by pressing enter.
Reagrds,
Sarbjeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.