1,232 questions
1
vote
1
answer
48
views
How to count mandatory controls in a given section
Let's say we have 4 controls in a given section where only 3 of them are mandatory (required="true()").
How can I dynamically calculate the number of mandatory controls?
I have tried the ...
0
votes
2
answers
80
views
An empty sequence is not allowed as the value of variable $attachment-mediatypes
I am using the image orbeon/orbeon-forms:2025.1-pe and using MySQL server as a database.
orbeon.xml:
<Context path="/orbeon">
<Resource
name="jdbc/mysql"
...
Advice
2
votes
1
replies
57
views
Repeated grids & paging
I have a specific requirement to implement in Orbeon.
Client would like to add a new mode for the repeated grids.
The idea is to introduce a paging feature for repeated grids. In the form view, users ...
2
votes
0
answers
41
views
Populate all repeated grid control values [closed]
We want a button that displays a dialog popup with YES/NO options. If the user chooses YES, then we want to populate a specific control with "done" in all the rows in a repeated grid.
We ...
5
votes
1
answer
96
views
Custom label for “Remove” button in repeatable section/grid
We have a requirement to provide a way in Orbeon Builder to define a custom label for the "Add" and "Remove" buttons on repeatable instances.
For example, instead of the default &...
1
vote
1
answer
40
views
Orboen Form custom css properties files
I am trying to update custom css in Orbeon. After editing the properties-local or my custom css file. It only allows me to point towards a new file name, if I point to a used file name, Orbeon seems ...
1
vote
1
answer
57
views
Orbeon Forms: How to add an Icon to a text field
How can you add an icon next to a text field similar to telephone number field in the image below.
We would like to add other images, such as an email icon, to the left-hand side of text boxes.
I ...
-2
votes
1
answer
63
views
How to change the background colour of the section up/down arrow
The corporate colour scheme dictates that the section should have a dark blue colour. The implication of this is that the expand/collapse icon (up/down arrow) is barely visible (see image below)
I ...
1
vote
0
answers
45
views
Orbeon Forms: How to move down to next question
Some of our forms have 10-20 questions, and when answer the question at the bottom of the current page, the user has to page-down to see the next question, and so on until they reach the last question....
-1
votes
1
answer
98
views
Orbeon Forms - How to enter Complex CSS Code [closed]
I was trying to use the IF/THEN/ELSE syntax in the Custom CSS Classes field within a control
For example, we wanted to change the background colour of a text depending on a radio-button setting:
So
...
1
vote
1
answer
110
views
Forcing repeated grid iterations
We have a requirement to enter a value in a control (Repeating Grid Rows), then use that number to create the same number of Repeated Grid rows/iterations.
Furthermore, if that control number is ...
1
vote
1
answer
42
views
Check text for valid JSON string
We paste a JSON string into one of our form controls which is then used by another application to generate data.
We need a way of validating this JSON string before the form is saved/submitted.
How ...
2
votes
1
answer
52
views
Orbeon Forms: Populate Hidden Field at xform-ready
I know we can populate a hidden control at the xforms-ready event:
<xf:action event="xforms-ready" type="javascript">
var vProtocol = window.location.protocol;
var ...
2
votes
1
answer
85
views
Orbeon Forms Configuration Issue: "Data source SQL not configured" Error
I'm trying to configure Orbeon Forms to use SQL Server instead of SQLite, but I keep encountering this error:
2024-07-01T18:53:45,482 ERROR relational - Data source `sqlite` not configured
2024-07-...
1
vote
1
answer
126
views
Orbeon Forms: Triggering an Auto Form Save
We have a situation whereby the user is losing form data when they navigate away from the form (e.g. clicking on a URL link).
So we want to force a form SAVE before the URL is opened.
Is there a way ...