Skip to Content
author's profile photo Former Member
Former Member

Field Validation!


I´ve got an Input mask and I want when you have forgotten to input some fields that all of them marked and in a message it is said that these fields are missing.

The other thing I want to know, is that when you fill an input field with a wrong type there is an error message at the input field. Can you produce this message manual?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 13, 2004 at 08:50 AM

    Hi Ulrike,

    For the first part i believe you will have to check whether the user has entered values in the input field or not. This can be done by checking the values in the context attributes.

    For the second part i feel you should try creating simple types and assign the context attributes these simple types. Then the issue of wrong type being entered is automatically handled.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 14, 2004 at 10:30 AM


    For the second case you have to use WebDynpro Error Handling.There are four types standard,message,text and error have open the message editor in Wed Dynpro and have the evtry for type of message there.then you shd call an event for checking the required format of what the method is supposed to validate.You have to handle them in user defined validation method using input field name.Then while you are entering alues its checks the method and issue error validating message accordingly.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.