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

How to validate a Numeric Field in an Interactive form


In my Interactive form i had placed certain Numeric Fields (Price Information). The user may change the pricing info. My requirement is, the user enters any numeric data the form should show an alert message and revert back the pricing information to the existing one.

Please help.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 15, 2006 at 11:10 AM

    Hi Ranjan,

    I guess you are talking about the display format of the pricing information.

    You can adapt this by using the Object tab of the Numeric Field. You can enter the desired Display Pattern on the Field tab (possibly also an Edit Pattern), and work on the message on the Value tab under Validation Pattern Message.

    In the Designer documentation, look for, for example, the topic entitled 'Numeric field properties in the Field tab'.

    Kind regards,

    Markus Meisl

    SAP NetWeaver Product Management

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Kavita,

      patterns are not processed during editing. If you can't use the default behavior of the numeric field when a character is entered (handled when the user finished editing), you could use scripting to process input. Depending on what you want to do you could use the exit event or the change event.

      A change event has a property called "change" that caused the event. You could try " upper(event.change) )" in FormCalc to show the characters in upper case.

      But, you should go this way only if the patterns for editing and for display and validation scripts can't be used in your case.

      Best regards


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.