Skip to main content
Participating Frequently
November 19, 2019
Answered

Help a newbie simple edit a file.

  • November 19, 2019
  • 1 reply
  • 1530 views

I'm sure there is a very simple explanation for this. Our business uses a Bill of Sale in pdf format for all of our dealings, recently its come to my attention there is a single line that is off in the calculation, and all I need to do is add one more field to the total cost calulation, but anytime I make ANY change to the file and save it, it no longer populates the Total amount of sale. I was making a simple javascript addition to the text box, to make sure it adds the sum of 6 different text box's to my total cost. But as soon as I add the +text field130 to the existing script then save, my last text field "total cost" no longer populates.

I even tried just changing a random letter in the file and then changing it back to what it was, just so i could save the file. Once I did that, it still no longer populated.

 

Help?

This topic has been closed for replies.
Correct answer Bernd Alheit

Text Field123+Text Field124+Text Field125+Text Field126+Text Field127-Text Field128 ------Is the script thats already there and working fine. But as soon as I add +Text Field130 to the script, it no longer populates my total cost.


For the spaces in the field names you must use \ .

E.g. Text\ Field123

1 reply

Bernd Alheit
Community Expert
November 19, 2019

What script does you use?

Participating Frequently
November 19, 2019

"Simplified field notation" it's an option on the "calculate" tab under text field properties. It's just simple Javascript.

Bernd Alheit
Bernd AlheitCorrect answer
Community Expert
November 19, 2019

Text Field123+Text Field124+Text Field125+Text Field126+Text Field127-Text Field128 ------Is the script thats already there and working fine. But as soon as I add +Text Field130 to the script, it no longer populates my total cost.


For the spaces in the field names you must use \ .

E.g. Text\ Field123