Skip to main content
Known Participant
September 13, 2019
Question

calculations in a fillable form

  • September 13, 2019
  • 1 reply
  • 1252 views

i have a fillable form that i have created ttext fields in that i need to do multiple calculations to get a subtotal in the subtotal text filed i have created. I know how to do it if i am just addingor multiplying but in this case I need to multiple two text fields x 2 and then sum those totals together to get my subtotal like below:

 

Straight hours x hourly rate  +  OT Hours + OT hourly rate =Labour subtotal text field

 

please help i am thinking I need to do a custom  javascript but not sure how

    This topic has been closed for replies.

    1 reply

    Bernd Alheit
    Community Expert
    Community Expert
    September 14, 2019

    You can use the simplified notation for this.

    Known Participant
    January 9, 2020

    how would i do this simplified notation work as i have never done that? What i am finding because i have so many boxes that require calculations it takes a while to enter info into even in a box that doesn't require a calculation the form does a calculation everytime.

    Bernd Alheit
    Community Expert
    Community Expert
    January 9, 2020

    Sample:

    field1 * field2 + field3 + field4