Skip to main content
Participant
May 8, 2020
Question

custom format script numbers other than 0

  • May 8, 2020
  • 1 reply
  • 231 views

I have a form that calculates out qty x unit prices and have entered the costum format if(event.value == 0) event.value = "" so that the 0's do not appear, but how do I make any value other than 0 appear in number or currency format? 

This topic has been closed for replies.

1 reply

JR Boulay
Community Expert
Community Expert
May 8, 2020

If there is no further calculation using the total field value, you can move your script as a "Validate" script and use builtin format options :

 

 

Acrobate du PDF, InDesigner et Photoshopographe