Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all articles
Browse latest Browse all 16286

Malformed SOM Expression!!

$
0
0

Hello

 

I have developed a interactive form (its name is 'MY_FORM_VISITOR') and its launched on the intranet's portal, fine.

The form's some fields are prepopulated/defaulted from the back end data base/server/SAP's Oracle data base.

 

But, when the form is launched on the portal browser, a small (JavaScript Debugger) popup is instantly coming and disappearing with in a fraction second.

 

If i save this form on my local desktop, and then when i opens it on my local desktop, then am getting the same popup and it stayed until i closes it.

 

So, i saw the below message in the popup,

 

Acrobat EScript Built-in Functions Version 9.0
Acrobat Annotations / Collaboration Built-in Functions Version 9.0
Acrobat Annotations / Collaboration Built-in Wizard Functions Version 9.0
Acrobat SOAP 9.0

GeneralError: Operation failed.
XFAObject.resolveNode:26:XFA:MY_FORM_VISITOR[0]:docReady
Malformed SOM expression: MY_FORM_VISITOR..


GeneralError: Operation failed.
XFAObject.resolveNode:26:XFA:MY_FORM_VISITOR[0]:docReady
Malformed SOM expression: MY_FORM_VISITOR..

 

I am making some fields as mandatory (yellow coloring) and some fields as greyed out (grey color and readOnly) DYNAMICALLY by tracking/tracing/finding the field in question using the below JavaScript,

 

(From this forum, i came to know that by using two periods - ..we can track/trace/point/find a field in question, so am using the same-2 periods)

xfa.resolveNode("MY_FORM_VISITOR.." + myArrayGrey[i]).ui.oneOfChild.border.fill.color.value = "192,192,192"

xfa.resolveNode("MY_FORM_VISITOR.." + myArrayGrey[i]).access = "readOnly";

 

Pls. let me know why am getting this message? How can i fix it?

 

Surprisingly, am using the same logic/JavaScript code syntax/statements in another form (Its name is just VISITOR), there i dont see any issue!!

 

Thank you


Viewing all articles
Browse latest Browse all 16286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>