I have a number of forms that all reference a 'Header' Section Template. I would like to reference a control in this section template from another control in the form. (Using the method shown here: Write constraint to validate a field based on the value entered in another field in Orbeon Form Builder)
I get the following error when I try to reference a control named 'section' in the section template:
Undeclared variable in a standalone expression: $section
Here is the XPath Expression I am using:
if($section = 'PKP' or $section = '') then true() else false()
There is a control named 'section' in the Section Template, but it appears that it is not accessible from the rest of the form.
Does anyone know if it is possible to reference a control that is in a 'Section Template' in Orbeon form builder?