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

Reg. changing Default Validation of WebDynpro

Hi xperts,

I have a input field which mapped to date format attribute. Now when i try to enter string in that and press any button in that screen, it throws me with a error message like "Enter the date in the format 11/25/1987".

Is it possbile to change this message via coding??.

Note that i cant keep the input as string as i will not get the calendar next to the input field.

Thanxz

Yusuf

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 10, 2007 at 04:29 PM

    Mohamed,

    This is possible to do with little bit extra coding but it will effect the standard functionality.

    - Go to Actions tab in the View window

    - Select each action object for editing and select the <b>Without Validation</b> check box.

    - This will avoid automatic validations. Now you have write custom validations for each field, display messages as required and check them on execution of any of the events execution.

    (Create a validation method which will have validations for all custom attributes and call this method from on event of buttons)

    Regards

    Abhilash

    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.