Removing control binding from XML result (model)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Removing control binding from XML result (model)

rovsh
Hello,

In my Orbeon forms created using Orbeon Form Builder I have controls such as text output, which does not have value stored in XML model. However, the node (with text output control id as a node name) referencing the text output control is present in XML model.
Is it possible in Orbeon to remove from XML model references to controls such as text output?

What I tried is that I removed the node from XML model and its binding (in bindings section and from control itself). However, if one of my controls have initial value in XML model (such as value of selected radio button by default), then all my text output controls have that initial value as text (together with their own labels text).

Thanks in advance.

-Rovsh
Reply | Threaded
Open this post in threaded view
|

Re: Removing control binding from XML result (model)

Alessandro  Vernet
Administrator
Hi Rovsh,

Right now, this isn't possible. An element is automatically created in the instance for every control in the form. But we're right now adding support for controls that don't need an element in the instance, so this is something that might come in the near future.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Removing control binding from XML result (model)

Alessandro  Vernet
Administrator
Also, here is the RFE for this:

https://github.com/orbeon/orbeon-forms/issues/176

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Removing control binding from XML result (model)

rovsh
Hi Alex,

Thanks a lot.

-Rovsh

Alessandro Vernet wrote
Also, here is the RFE for this:

https://github.com/orbeon/orbeon-forms/issues/176

Alex