cancel
Showing results for 
Search instead for 
Did you mean: 

Reg : Mesage in Adobe form

Former Member
0 Kudos

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?/

Accepted Solutions (1)

Accepted Solutions (1)

chintan_virani
Active Contributor
0 Kudos

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

Former Member
0 Kudos

HI Chintan,

Thanks again for ur anwer.

Awarded points

Answers (1)

Answers (1)

former_member185029
Active Contributor
0 Kudos

You can use javascript for checking value.

-Ashutosh