on 09-16-2011 6:46 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.