Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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



Former Member
Former Member replied


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



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question