Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Conditionally Displaying a Subform

$
0
0

Hello,

 

    I am working on a LiveCycle Output form and have a subform which I conditionally need to display. It is an URGENT flag that displays on a memo, so it is set on whether or not the user set the memo to be urgent. I pass the urgent flag within the XML that is sent to LIveCycle. I created a Subform Set with the following code. The language is FormCalc:

 

URGENT == "Y"

 

I receive this error in the log:

 

Script failed (language is formcalc; context is xfa[0].datasets[0].data[0].ROOT[0].XML_WORKFILE[0])

script=URGENT == "Y"

   Error: accessor 'URGENT' is unknown.

Malformed SOM expression: $.XML_WORKFILE.[URGENT == "Y"]

   Error: accessor 'URGENT' is unknown.

 

Any ideas?

 

Thank you!

 

Wendy


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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