Copy link to clipboard
Copied
I am preparing Fillable order form through Adobe Reader I have a special price (if you buy one from the product will cost $11 any additional from the same product will cost $9 could you please help me on this
So let's say the quantity field is called "Quantity" and the total field is called "Total".
You can use this code as the custom calculation script for Total:
var quantity = Number(this.getField("Quantity").value);
if (quantity<=1) event.value = quantity*11;
else event.value = 11 + (quantity-1)*9;
PS. I'm moving this question to the PDF Forms forum
Copy link to clipboard
Copied
Hi mahas40823778 ,
Please provide the application name you are using for preparing form, Adobe Reader (Free version) will not allow you in Preparing Form.
Also please elaborate what you are experiencing so that can help you further .
Regards,
Yatharth
Copy link to clipboard
Copied
Thanks for your return. I am using Adobe Pro can create a lot of formula. This special price. Thanks
Sent from my iPhone
Copy link to clipboard
Copied
So let's say the quantity field is called "Quantity" and the total field is called "Total".
You can use this code as the custom calculation script for Total:
var quantity = Number(this.getField("Quantity").value);
if (quantity<=1) event.value = quantity*11;
else event.value = 11 + (quantity-1)*9;
PS. I'm moving this question to the PDF Forms forum