Skip to main content
Participant
December 23, 2024
Question

After editing calculated fields an error

  • December 23, 2024
  • 2 replies
  • 209 views

Hello,

 

i have created a price list with calculated fields. I use a

1. check box_1,

2. Price_2 (this.getField("Price_2").value = "6495";)

3. and Calc_2 (this.getField("Price_2").value;)

 

It worked perfectely , but now i want to add check boxes and what i am trying. All the numbers in my pricelist go to 0000.

 

Can someone help me?

This topic has been closed for replies.

2 replies

Nesa Nurani
Community Expert
Community Expert
December 23, 2024

It would be helpful if you could provide more info.

If you use fixed numbers values in your script don't put them inside quotes, because then you are trying to calculate with a string, instead use just numbers 6495.

If you are trying to add price to checkbox, just add price as checkbox export value under checkbox properties, 'Options' tab, in that case you may don't even need calculation script, you could use built in calculation option 'Value is the'.

 

PDF Automation Station
Community Expert
Community Expert
December 23, 2024

You need to provide more information.  It will be helpful to upload your form instead of screenshots of a field with 2 values.