Skip to Content
0

In a simple form in Webdynpro, NWDS. I want to display an error message, if the input field is empty

Apr 26, 2017 at 07:02 AM

52

avatar image

I am new to webdynpro. I developed a simple form in webdynpro, NWDS. I want to display an error msg at the bottom(like success msg) if the input field(eg.name) is empty...

Please help me

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sharath M G May 06, 2017 at 08:26 PM
0

Create a button in the form. Attach a action and an action method to the button. Now, on click of the button, this method gets trigerred.

Inside the form, map/bind the input field to the context variable.

Inside this method, write the code to check the value in the context variable bound to the form input variable.

If empty, trigger an error message.

Regards,

Sharath

Share
10 |10000 characters needed characters left characters exceeded