Hello,
I've created a field using a custom script, however I'd like to suppress the 0% which is showing within the field. The field has been set to a format of Percentage. "0" decimal places and a separator style of "1,234.56".
Here is the script I'm using which was provided via a prior post:
var quotient = "";
var divisor = this.getField('LTVValue1.0').value;
if( divisor != 0) {
var dividend = this.getField('OLA1.0').value;
quotient = dividend / divisor ;
}
event.value = quotient;
If anyone could provide any type of direction, that would be greatly appreciated.
Thanks -
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com