These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Malformed SOM Expression

SBaa07
Registered: Aug 29 2007
Posts: 6

I tried turing on the Javascript debugger and in the box it did not say that there was any problems with my file. So everytime I open up my document it continues to have boxes pop up saying "Malformed SOM Expression..." Please let me know what I need to do to get rid of this popping up everytime I use the file. Thank you.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Does the "popup" box provide any more information? JavaScript errors are displayed in the debugger console. Acrobat typically uses the popup boxes when the error is not JavaScript. So it's likely that the SOM error is in a FormCalc script.

It's very common to forget to change the scripting language when entering a script in LiveCycle Designer. I do it all the time. This is exactly the kind of thing that would cause the problem you are seeing.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

SBaa07
Registered: Aug 29 2007
Posts: 6
The document is a client questionnaire I created in LiveCycle Designer. The questionnaire has boxes for the client to fill in in response to the questions listed on the form. The error popup boxes have the heading "Adobe Acrobat" and the message "Malformed SOM Expression: (Category I created)*(title of specific box I created)" There are around 150 boxes that begin popping up as soon as I open the document. Thank you so much for your help and attention to my problem, but can you be more specific in regards to ensuring that the scripting language is correct? How do I check which language I am using?