Validation of input fileds on key pressed
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
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