Skip to main content
Participant
Feb 2, 2022 7:04 PM UTC
Question

Syntac Error: Missing ) in parenthetical

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 is closed to new replies. Start a new post to keep the conversation going.

8 replies

try67
Community Expert
Community Expert
Feb 2, 2022 7:59 PM UTC

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

 

[Edited]

Translate
Thom Parker
Community Expert
Community Expert
Feb 2, 2022 7:17 PM UTC

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

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

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
Feb 2, 2022 7:27 PM UTC

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...

 

Translate
Thom Parker
Community Expert
Community Expert
Feb 2, 2022 7:42 PM UTC

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

Are any errors reported in the Console Window?

 

 

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