Why is the blank field script not working in my pdf?
I created a template in Scribus and added pdf forms fields before saving it as a pdf. I then opened the pdf in Adobe Acrobat Pro 9 and entered the following scripts in my percentage fields, but neither worked.
if(event.value == 0 | event.value = "") event.value = "";
if( Number(event.value) == 0) event.value = "";
I entered each on their own, but neither worked. I also tried entering them in the "Run custom validation script:" and "Custom Calculation Script" sections and neither worked.
Currently, my form will print out "0.00%" when no value is inputted into said fields. I want the fields to print blank if no value is entered.
Any help is highly appreciated, thanks!
