Skip to Content
avatar image
Former Member

Reg : Mesage in Adobe form

Hi,

I have an input field on the form.

I want to validate the field.

If the entered value is Greater than 10 .. then I need to raise a message saying that Please enter a value less than 10.

Can you please tell how to dothis?/

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 03, 2008 at 07:38 AM

    Arjun,

    In the exit event of the textfield, change the language to JavaScript and enter below code:-

    if(TextField1.rawValue > 10)
    {
      xfa.host.messageBox("Please enter a value less than 10");
    }

    Note: TextField1 is name of my TextField. Change it as per your field name.

    Chintan

    Edited by: Chintan Virani on Oct 3, 2008 1:10 PM

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 03, 2008 at 07:30 AM

    You can use javascript for checking value.

    -Ashutosh

    Add comment
    10|10000 characters needed characters exceeded