Skip to main content
karliz28
Participant
June 13, 2018
Answered

Calculation in PDF Fillable Form

  • June 13, 2018
  • 2 replies
  • 2534 views

I have created a fillable form. I have a field (Total Miles) that needs to be a calculation of Miles multiplied by a fixed rate of .545. In the past I have been able to go into the text field properties under Calculate and choose the field name and multiply it by the .545. It seems to have changed and now has Value is the product x of the following fields and I have to choose the fields and cannot edit to make one the hard amount of .545. I don't know JavaScript to write a script for this calculation. Any help would be appreciated. Thanks1

Correct answer Bernd Alheit

Use the simplified field notation and enter fieldname * 0.545

2 replies

Known Participant
April 30, 2020

I'm doing something very similar and this isn't working.  I'm trying to create a service estimate for clients.  (I digitize media.).  So if someone brings me, say, 100 photos and I charge 50 cents each to digitize them, then in the field notation it should be the field saying how many photos (5x7count) multiplied by 0.5.  So, 5x7count * 0.5.  But I've tried and nothing happens.

try67
Community Expert
Community Expert
April 30, 2020

The issue is that the field name starts with a number. Change it to count5x7, for example, and it will work.

Or you could use a script for the calculation, instead of the Simplified Field Notation, and then you can call it whatever you want.

Participant
August 2, 2023

I'm having the same issue as the person above and I tried your solution of removing the number at the beginnig of the field name but it's still not calculating for me. It shows $1.00 no matter what is in the fillable field. 

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
June 14, 2018

Use the simplified field notation and enter fieldname * 0.545

karliz28
karliz28Author
Participant
June 14, 2018

Perfect! I thought it would be something simple. Thank you!