Thanks Robert! I ended up using this formula after reading your reply and a
few others. Another tip I was missing is to make sure that the calculated
field is read only.
// Get first field value, as a number
var v1 = +getField("Quantity1").value;
// Calculate and set this field's value to the result
event.value = 20 * (v1 + 0);
On Wed, Sep 10, 2014 at 2:29 AM, Robertlopez <forums_noreply@adobe.com>