Pre-fill the fields with zeros in a repeated grid

25 views
Skip to first unread message

Daniel R.

unread,
Apr 2, 2025, 12:13:39 PMApr 2
to Orbeon Forms
Is it possible to pre-fill the fields with zeros in a repeated grid? Specifically, the fields should be prefilled with zeros (0) for a new iteration.
Existing iterations should not be changed.

screenshot.png

Alessandro Vernet

unread,
Apr 2, 2025, 7:30:36 PMApr 2
to orb...@googlegroups.com
Hi Daniel,

In the Control Settings, under the Formulas tab, try setting the initial value to "0". Let me know if this works for you.

initial-value.png

-Alex

Daniel R.

unread,
Apr 3, 2025, 7:04:29 PMApr 3
to Orbeon Forms
Hello Alex
Thanks for your reply.
I have already tried that, the problem is that all iterations are overwritten with 0. But I only want to fill the newly added iteration with 0.

Best regards, Daniel

Alessandro Vernet

unread,
Apr 3, 2025, 7:40:33 PMApr 3
to orb...@googlegroups.com
Hi Daniel,

Are you sure you are not setting the Calculated Value instead of the Initial Value? If that's not the case, I might be misunderstanding the problem. In that case, could you create a minimal form that demonstrates the issue on the demo server (linked below) and share the link to your form?


--
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 visit https://groups.google.com/d/msgid/orbeon/107df6e3-6234-4f44-8500-1c0eb5ae356an%40googlegroups.com.

Daniel R.

unread,
Apr 4, 2025, 3:29:28 PMApr 4
to Orbeon Forms
Hello Alex
Thank you that works well. I first confused this with Calculated value.

Thanks for your help.
Best regards,
Daniel

Alessandro Vernet

unread,
Apr 4, 2025, 3:30:35 PMApr 4
to orb...@googlegroups.com
Excellent, I am reassured ;). Thank you for the confirmation Daniel.

-Alex
Reply all
Reply to author
Forward
0 new messages