Skip navigation
saty_madhav
Currently Being Moderated

value zero in form

Aug 11, 2012 1:51 AM

I am new to Adobe acrobat Pro and designing a form. I have fields which are calculated by multiplying two fields. I dont want it to display or print if the valve is zero. how do i go about it?

Please help

 
Replies
  • Currently Being Moderated
    Aug 11, 2012 7:52 AM   in reply to saty_madhav

    With a form created in Acrobat, you can use the custom validation script to set the field value to a null string when the calculated value is zero or you would need to write a custom validation script.

     

    // set value to null if event value is zero

    if(event,value ==0) event.value = "";

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 11, 2012 2:10 PM   in reply to saty_madhav

    There's a typo: 'event,value' should be 'event.value'

     

    if(event.value ==0) event.value = "";

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points