Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

validating user input before page is refreshed

former_member186020
Participant
0 Kudos
113

Hi,

i am working on BSP and i need to validate a input field as soon as user enters the data i.e, before the page is refreshed.please help..!!

vishesh.

1 ACCEPTED SOLUTION

sridhar_meesala
Active Contributor
0 Kudos
80

Hi,

What do you mean by as soon as the user enters the value? Validation cannot be done untill an action is performed, like pressing ENTER or button click etc. You can handle the same in PAI of the screen. Revert in case of further assistance.

Thanks,

Sri.

5 REPLIES 5

Former Member
0 Kudos
80

HI,

If you are navigating from one page to another use the Event Handler OnInitiatization of the second page, else write the code in OnInputProcessing.

Hope this helps.

Regards

sridhar_meesala
Active Contributor
0 Kudos
81

Hi,

What do you mean by as soon as the user enters the value? Validation cannot be done untill an action is performed, like pressing ENTER or button click etc. You can handle the same in PAI of the screen. Revert in case of further assistance.

Thanks,

Sri.

former_member186020
Participant
0 Kudos
80

hi sri,

I know that it cannot be done until any action is performed as u said like button click or pressing enter but my requirnment is somthing like that..

former_member186020
Participant
0 Kudos
80

hi benumartin ,

thanks for your reply but i am not navigating from that screen.

anand_govardhan
Active Participant
0 Kudos
80

Hi Vishesh,

Go through the link below, it might help you.

Link: [http://wiki.sdn.sap.com/wiki/display/BSP/BSPapplicationtodisplaymessageswithstandard+class]

Regards,

Anand