2 Replies Latest reply on Aug 30, 2010 9:32 AM by oskrsama

    Problem with "if" expression


      I'm creating a form in which I'm comparing a numeric field with a numeric value typed in it using the expression "if" (I'm using FormCalc language) in order to generate another numeric value automatically in another NumericField , the script goes like this:


      if (NumericField1 ==1) then

           NumericField6 = 100



      I type this script in NumericField6 and I used the script check option and marks no errors in the script but when I use Acrobat to test the form (typing "1" in NumericField1) it doesn't generate automatically the 100 value in NumericField6. Can someone help me telling me why the script is not working? or how can I do to generate a numeric value in another NumericField depending of the numeric value typed in a previous Field?


      Thanks in advance.