Skip to main content
Participant
February 2, 2022
Question

Syntac Error: Missing ) in parenthetical

  • February 2, 2022
  • 2 replies
  • 1540 views

Trying to just create this simple formula, but it doesnt seem to be working. Thoughts? For context both the variables are calculated by adding other fields in the Adobe Form. 

(Head Count_Totals*0.5)-(Primary Workpoints_Totals*1)

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
February 2, 2022

Add a back-slash before each space in your fields' names, or use a script.

 

[Edited]

Thom Parker
Community Expert
Community Expert
February 2, 2022

For "Simplified Field Notation", the fields cannot contain spaces or punctuation. 

The solution is to rename the fields to remove all spaces and punctuation.

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
February 2, 2022

Hey I removed all the spaces, but it still doesn't seem to be working. I'm almost wondering if its not recognizing the variables, idk...

 

Thom Parker
Community Expert
Community Expert
February 2, 2022

The names in the script must exactly match the names of the form fields. 

Are any errors reported in the Console Window?

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often