Answered
If Greater than Multiple by
I am trying to create a pdf javaScript formula that calculates if a field is greater than 2 multiple that field's value by 25 but not to exceed $250
I am trying to create a pdf javaScript formula that calculates if a field is greater than 2 multiple that field's value by 25 but not to exceed $250
Use the following custom calculation script:
var fld=this.getField("theField").value;
if(fld>2)
{event.value=fld*25}
else
{event.value=""}
if(event.value>250)
{event.value=250}
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.