cancel
Showing results for 
Search instead for 
Did you mean: 

web dynpro - enter key

Former Member
0 Kudos

Hi guru's,

I created web dynpro application.. I need validations while pressing 'Enter Key' .

Where to write the code? Is there is any default method there or we need to create new method in name 'ONENTER'?

Meenakshi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Meenakshi

Follow these steps:

1. In the "On Enter" property of input field, you will find a button(right most) to create an action, Click it.

2. In the pop up,give any name in Action field with a description.

3. Now goto methods tab in the same view. Here you will the previously given method with prefix "ONaction"

4. You can perform validations over here.

if u have multiple fields to validate, instead of doing individual validations I think it will be better to validate all the fields on a button click.

Hope to help

Cheers

Gaurav

Edited by: GauravKaneria on Sep 16, 2011 7:59 AM

Former Member
0 Kudos

Hi Gaurav,

Thank you .. Worked..

Regards,

Meenakshi

Former Member
0 Kudos

Most Welcome..

Answers (0)