Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 06, 2017 at 08:26 PM

    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

    Add comment
    10|10000 characters needed characters exceeded