Hi Frederic,
Got it; so, you could, editing the source of the form in Form Builder:
1. Find the <xf:instance> with id="fr-form-resources". In this instance,
remove the xxf:readonly="true", so you can programmatically change the
content of that instance.
2. Set the value with code along these lines (here assuming this is
triggered by a button named `set-label`, and that the control you're setting
the label of is named `my-control`.
<xf:action observer="set-label-control" event="DOMActivate">
<xf:setvalue ref="instance('fr-form-resources')/resource[@xml:lang =
'en']/my-control/label"
value="'My value'"/>
</xf:action>
You'll let us know if this works for you,
Alex
-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
View this message in context:
http://discuss.orbeon.com/Changing-section-s-label-dynamically-tp4661767p4661773.html