To get the form object we use the id attribute. For example you can use the following JavaScript in a calculated field to shorten the length of the text being displayed by 1 character where VARIABLE is the name of a variable defined earlier in your form. Param float percent The percent that you want to get.
Param floatint num The number that you want to calculate the percent of.
To get the form object we use the id attribute. MathE returns Eulers number. Param float percent The percent that you want to get. And we did the math using eval operator.