Is the data saved if we filled something in invisible sections / grids or in invisible control and then hidden them?

32 views
Skip to first unread message

Władysław Czaja

unread,
Jul 9, 2020, 8:58:10 AM7/9/20
to Orbeon Forms

Is the data saved if we filled something in invisible sections / grids or in invisible control and then hidden them?

Jarosław Kowalewski

unread,
Jul 9, 2020, 4:28:37 PM7/9/20
to orb...@googlegroups.com
Hi,
yes by default all data is saved even controls are hidden. 
I saw that it was possible to delete irrelevant fields during submission but I found that you can specify that when you write in a pure forms or you add attribute in the source code. https://doc.orbeon.com/xforms/submission/submission-extensions#element-relevance-information

No idea if it is supported in Form builder or in process definitions. 

Do you need to clean the data or to delete nodes at all?

//Jarek

czw., 9 lip 2020 o 14:58 Władysław Czaja <wladysl...@gmail.com> napisał(a):

Is the data saved if we filled something in invisible sections / grids or in invisible control and then hidden them?

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orbeon+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/5a1bb240-412b-4d17-aa37-15fe3d9ea902o%40googlegroups.com.

Władysław Czaja

unread,
Jul 10, 2020, 5:49:56 AM7/10/20
to Orbeon Forms
I need clean data when I save form. I mean, in my form, I have the situation that the visibility of one section (let's call it section B) depends on the value of the checkbox in another section (let's call it section A). And we can imagine such a situation that the user completing the form will fill something in section B, maybe by mistake (and this will be data that does not have to go to the database), then return to section A and set the checkbox to false, so the section B will not be visible


W dniu czwartek, 9 lipca 2020 22:28:37 UTC+2 użytkownik Jarek napisał:
Hi,
yes by default all data is saved even controls are hidden. 
I saw that it was possible to delete irrelevant fields during submission but I found that you can specify that when you write in a pure forms or you add attribute in the source code. https://doc.orbeon.com/xforms/submission/submission-extensions#element-relevance-information

No idea if it is supported in Form builder or in process definitions. 

Do you need to clean the data or to delete nodes at all?

//Jarek

czw., 9 lip 2020 o 14:58 Władysław Czaja <wladysl...@gmail.com> napisał(a):

Is the data saved if we filled something in invisible sections / grids or in invisible control and then hidden them?

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orb...@googlegroups.com.

Alessandro Vernet

unread,
Jul 10, 2020, 3:18:10 PM7/10/20
to orb...@googlegroups.com
Hi Władysław,

I think that what you're looking for is covered by the request for
enhancement #3152. I've added a +1 from you, and you'll let me know if I'm
missing anything.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

Seth Parkhurst

unread,
Jul 10, 2020, 4:25:57 PM7/10/20
to Orbeon Forms



You can use this above to erase data that is not visible

Seth Parkhurst

unread,
Jul 10, 2020, 4:27:59 PM7/10/20
to Orbeon Forms
if visibility is "
$control1= '1' and $control2 != '3'
"

then calculated value is "
if($control1= '1' and $control2!= '3') then . else ''
"
and 
read only is "
false
Reply all
Reply to author
Forward
0 new messages