Skip to main content
Participant
November 2, 2023
Answered

Field not calculating

  • November 2, 2023
  • 2 replies
  • 1117 views

I am looking for help with a custom calcuation.

 

I want to calculate the total from the field above by a tax rate of 3%.  The 3% does not have its own field. I want the amount in the calculation.

 

I have check the field calculation order.

 

This is the custom calculation script:

event.value = Number(this.getField("undefined3").valueAsString) * .03

This topic has been closed for replies.
Correct answer JR Boulay

Why make things complicated when you can make them simple?

 

2 replies

JR Boulay
Community Expert
JR BoulayCommunity ExpertCorrect answer
Community Expert
November 3, 2023

Why make things complicated when you can make them simple?

 

Acrobate du PDF, InDesigner et Photoshopographe
Participant
November 14, 2023

Thank you JR Boulay. 

That worked and so much easier.

try67
Community Expert
Community Expert
November 14, 2023

The code you posted should have also worked just fine, assuming the field-name used in it was correct.

Nesa Nurani
Community Expert
Community Expert
November 3, 2023

Check console for errors.