This content has been marked as final.
Show 2 replies
-
1. Re: Calculate quotient in form field
try67 Feb 18, 2011 7:45 AM (in response to Kenneth Benson)You can use either the Simplified Field Notation option, using just the
field names (if they have no spaces or other special characters in them) and
numerical values, like so:
score / high_score * 100 * 0.1
Or you can use a Custom JavaScript calculation, like so:
event.value = this.getField("score").value /
this.getField("high_score").value * 100 * 0.1;
(I'm assuming here you have two fields with the highest score and the
current score.)
-
2. Re: Calculate quotient in form field
Kenneth Benson Feb 18, 2011 7:59 AM (in response to try67)Thank you, try67. Simplified Field Notation works great.
Ken Benson



