Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
9

Fillable PDF form Calculations

New Here ,
Mar 03, 2024 Mar 03, 2024

Hello!

 

I need help with a fill form I created.

It's to be used as an order form for candles.

 

I have a "total" field and figured out how to calculate the unit cost x the quantity number but then, I also have a column of "testers" that the customer can choose to add to their order.

 

I've tried several different ways to be able to have the "total" field calculate those 2 fields but can't figure it out. Basically I need (unit x qty + (tester) qty)

 

Thanks.Screen Shot 2024-03-03 at 3.10.24 PM.pngexpand image 

TOPICS
How to , JavaScript , PDF , PDF forms
294
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 03, 2024 Mar 03, 2024
LATEST

Did you try to use simplified field notation (SFN)?

In SFN you just enter field name: field1*field2+field3, if you have space character in your field name escape it with backslash like this "Unit cost1" write like this: Unit\ cost1.

If you have "sequential naming" of your fields: price1, price2, price3...etc you can use a custom calculation script in total field to loop over all fields and calculate price for each item and total with one script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines