607
questions
1
vote
1
answer
60
views
xf:dispatch : dynamic event name based on context node not working?
I'm trying to define a bank of buttons based on the contents of an instance.
I am doing this to de-clutter my view, by placing the actions in the model.
I am using the dispatch element to fire off a ...
0
votes
1
answer
33
views
XForms + MQTT Websocket JS integration. (XSLTForms + Paho)
I am trying to integrate Xforms - using XSLTForms - and MQTT, over a Websocket using Paho JS library talking to a Mosquitto broker.
I have successfully managed to send a message using xf:load (albeit ...
0
votes
2
answers
55
views
Deal with HTTP error in XSLTForms? (CORS, not found etc)
I'm looking for a suggestion on how to deal with an error when fetching XML data for an instance.
I can do this for instance (forced error):
<xf:instance id="feed" src="https://...
0
votes
2
answers
23
views
XSLTForms: set attributes on output node? (<xf:output>)
The following output works (it is part of an <xforms:repeat), but is there a way I can dynamically set the value of attributes?
<xf:output value="concat(
instance('images')/@base_api,
...
1
vote
1
answer
76
views
XForms conditional itemset
I am attempting to limit items in an item set dependent on the data (contained in instance 'i-rec') and a series of constraints (contained in instance 'i-schemaConstraints'). In essence, if there are ...
0
votes
2
answers
52
views
XSLTForms / XForms - Namespaces in instance data?
What am I doing wrong here - my XForms data source is a SPARQL result - and I can get at it using the following XPATH:
<bind id="bnd_results" nodeset="instance('sparql')/*/*/*"/...
0
votes
2
answers
59
views
XForms: Possible to modify HTML element attribute ? (I'm using XSLTForms)
Does XForms have a mechanism for manipulating attributes of the resultant HTML?
I guess I mean emitting HTML dynamically and setting the attributes as part of that.
I know that using a xf:repeat - you ...
0
votes
1
answer
59
views
XSLTFORMS: refresh model from URL?
I have some dynamic XML - generated in a PHP script.
The script takes a single param 'p' - for 'pagenum'.
The idea is to show paginated data - allowing the user to select next/previous page of data.
...
0
votes
1
answer
66
views
XSLTForms: Convert Text to HTML - add to DOM - deal with bad input?
Is there some way I can get XSLTForms to convert CDATA into HTML nodes which can then output to the DOM?
Any tips appreciated - one requirement - the data cannot be guaranteed to be valid HTML, so the ...
0
votes
1
answer
45
views
XSLTforms/xforms moving elements up and down with in a repeat section
I am using XSLTforms to render my XForms. I have a form that dynamically groups elements into different repeat groups (client wants to group the elements in this way for UI purposes). The two groups ...
1
vote
1
answer
99
views
How to add an image in a Xforms interface in language C
I have to do an a GUI for a project and for better ergonomics i want to add images or pictures to it. For the project i have to do it in C or C++ and I'm using Xforms to create the GUI.
There is my ...
-1
votes
1
answer
49
views
Get name of submission in event (xforms-submit-error)
I'm trying to make some generic handle of all submission with end with error.
It is possible to get name (id or something unique) of submission in event xforms-submit-error?
I already make my own ...
1
vote
1
answer
61
views
XForms move node up or down in the XML tree
I need to allow my XForms (using XSLTForms) users move elements up and down the XML tree. I have this working as long as I am using the full path to the element including the instance. However I'm ...
0
votes
0
answers
82
views
Using schema validation: custom date type and datepicker control
I'm using Orbeon 2019.2 CE on Tomcat 8, using plain XForms.
I have xml schema for xml docs that will completed by several people, so I need to be conscious of whether the document will be valid before ...
-2
votes
1
answer
163
views
XForms: get values from an instance based on the current element name in a xf:repeat
In the following XForm, I would like to link the xf:labels (and eventually other xforms controls or values) to elements in the 'i-elementSchema' instance. I can not figure out the correct XPath to ...
0
votes
1
answer
45
views
Setting value of root node in repeat function on xforms
I have an xforms (xsltforms) form containing a repeated list on the TEI <placeName> element. The repeat works fine, as does initializing the data for the <placeName> attributes, but I can'...
1
vote
1
answer
102
views
XFDL Date Constraints
I have a form, and on the form it requires a date. The date must be on YYYY-MM-DD format and be on or after 2022-04-01.
I am using XFDL and XForms. The only ref I can find in the source code for date ...
0
votes
1
answer
83
views
Orbeon using xxf:lang() as condition
I am trying to use XForms xxf:lang() function in Orbeon form to conditionaly hide a field.
Here is code in Visibility parameter of field:
xxf:lang() = 'en'
Here is an example:
https://demo.orbeon.com/...
0
votes
2
answers
387
views
Are XLSForm, ODK XForm and XForms equivalent?
I'm currently looking into XLSForm, ODK XForms and XForms
How do these standards compare in terms of functionality and features?
Can they be considered equivalent or are there substantial differences?
0
votes
1
answer
42
views
XSLTForms calculation not working when referencing data held in attributes
Apologies if the following question isn't worded well, my experience with all the correct terms in XML is limited.
So I have been using XSLTForms recently as a way to quickly generate xml ...
0
votes
1
answer
35
views
Orbeon Forms - Is it it possible to localise shared forms?
Perhaps a silly question, but is it possible for customers to be able to share a form but it be localised to them?
What I mean by that is, for a given form would it be possible to dynamically change ...
0
votes
1
answer
122
views
How to prefill geopoint in enketo form through URL
I want to pre fill geopoint(latitude,longitude,altitude,accuracy) through URL?
i tried like this : www.myform.com?d[/data/myformname/lat]=28.5825583292
but it not reflected in form. Can anybody help?
0
votes
0
answers
66
views
Orbeon: Static dropdown in repeated grid
I have a problem in repeated grid, I have a drop-down list where the users will choose what model they want.
Then I also have a JSON array which contains the model and other description of different ...
2
votes
4
answers
1k
views
How are XForms used?
I recently stumbled over XForms (W3C 1.1, ODK XForms) and I struggle to see how they are used (if they are still used).
The SO tag page says:
XForms is an XML format that specifies a data ...
0
votes
1
answer
213
views
How to define dynamically the label of a 'text field' control in Orbeon Forms?
I wish to ask you if it is possible to define dynamically the label of a 'text field' control when a form is loaded. Actually, I need to pass the label value through a URL parameter and use this value ...
2
votes
0
answers
155
views
Xforms submit error with multiple submissions : submission-in-progress
We are developing an app with xforms (with XSLTForms client) and BaseX, to manage historical entities (actors) and conduct network analysis. In one of our forms, we fill the relations between an actor ...
1
vote
1
answer
192
views
Conditions based on the dynamic values of iterated controls in repeat section in Orbeon
I have a checkbox in the repeated section. It can only be ticked once in the iteration. Once it is ticked in the repeated section the rest must be read-only. ex: "Once Make him primary applicant" is ...
1
vote
1
answer
359
views
Orbeon form localization using current site's session language
I'm using ORBEON 2018.2.3.201905172253 PE within SAP Commerce (Hybris). From Orbeon documentation and the tests I've run, I understand forms localization works through a language dropdown selector ...
0
votes
1
answer
685
views
Orbeon Form - reCAPTCHA Field required error after submitting form
I'm struggling to make reCAPTCHA work in my Orbeon form.
I'm using ORBEON 2018.2.3.201905172253 PE within SAP Commerce (Hybris).
After submitting the form, I get the error "Please check your answer ...
0
votes
1
answer
59
views
Is there any way to link xform bind and xform action?
In a form, when user clicks a button , it will show a popup - in which i will take a input from the user - which should of ID type (http://books.xmlschemata.org/relaxng/ch19-77151.html).
When the ...
1
vote
1
answer
91
views
Mobile version of Orbeon forms
We are considering the development of a mobile application to manage offline xforms just like the ODK Collect application for Android. I would like to ask if there is any progress regarding the plan ...
2
votes
0
answers
157
views
Saving html page into .doc works on firefox, doesn't work on ie - how to fix it?
It's my first time posting here so please bear with me as I'll try to be as exhaustive as possible. I'm currently trying to create a button in my code that, when pressed, saves a div of an HTML page (...
0
votes
1
answer
186
views
How to get value from form builder as label of trigger?
I'm working on custom control in Orbeon. In form builder, in settings there is a field called buttonName. Its value is supposed to show as a label of button visible in form runner.
I'm moving an old ...
0
votes
0
answers
331
views
How to call child AngularJs function within Iframe from Javascript parent?
I am using a Javascript application in my application I need to load an AngularJS page in an IFrame. When I perform any button action on My Parent Javascript page, I need to call function from the ...
1
vote
1
answer
64
views
XForms 2.0 custom attributes
Can we add foreign attributes into the XForms 2.0 documents inside the elements that have the Common attribute?
I'm trying to add a custom attribute inside the model element but not sure if im ...
1
vote
1
answer
489
views
Orbeon: Access repeated grid items from a different repeated grid
There are 2 repeated grids, r1 (with inputs a and b) and r2. In r2, I would like to access values from r1. I can access the complete content of the grid by setting the calculated value in form builder ...
1
vote
1
answer
48
views
Creating multiple forms inside a Xform document and traveling between them sequentially and conditionally.
I'm trying to create a form builder that is based on XForms 2.0 standards.
I need to support the feature of creating multiple forms/surveys and connecting them. Allowing the end user developer to ...
0
votes
1
answer
389
views
Orbeon/XForms: Change dropdown values based on other input control
I have a text control my-text and a dropdown my-dropdown. Depending on the content of my-text, the itemset of my-dropdown should change. Unfortunately, there is no visibility property for individual ...
1
vote
1
answer
63
views
Why do the xforms-select and xforms-deselect elements bubble?
According to the XForms specification most events are said to "bubble".
As per the DOM Level 2 Event Specification an event that "bubbles" means that the handlers for this event associated with ...
1
vote
1
answer
101
views
Manipulating Xforms repeat collections. View and Model easily get out of sync
To recreate this problem, here is some sample code taken from Steve Pembertons Xforms for HTML authors tutorial.
After a few random clicks of the New and Delete buttons the UI will freeze and stop ...
0
votes
2
answers
49
views
XSLTForm date picker not displayed correctly
The display of the XSLTForms date picker sometimes appears distorted and/or misaligned.
0
votes
1
answer
29
views
Bug Report XSLTForms Range Control?
The range control in my XForm is not binding the input value to the model. That is I enter a value but the field the control is bound to in the model does not update.
I have tried a couple of public ...
0
votes
1
answer
287
views
Orbeon: add section for each row in repeating grid
I would like to build a form that has some kind of overview at the top, where the user defines a list of items (repeating grid). For each item, there should then be a section further below (repeating ...
0
votes
1
answer
105
views
Using XForms to select and run an Xquery in eXistDB
I'm looking into Xforms and eXistDB and I'm stuck on wether it is possible to have say a selection dropdown and use the selection as a variable and run a xquery in eXist that returns the results.
I ...
0
votes
1
answer
79
views
Orbeon 2018.1 cannot access ORBEON object from html/head/script
As of Orbeon 2018.1 something happened in how the ORBEON javascript object is loaded. The stuff below used to work on versions 2017.2.2 and 3.9.
Objective: I want to load the TinyMCE widget using the ...
0
votes
1
answer
70
views
Orbeon 2018.1 TinyMCE broken/different
I've got Orbeon 2017.2.2 and Orbeon 2018.1 side-by-side for testing purposes. Forms are loaded from eXist-db 4.3.1. Code for the text editor is like this:
<xforms:textarea mediatype="text/html" ...
0
votes
0
answers
49
views
New component that uses autocomplete
I'm trying to create a new component that pretty much works as a pre-configured autocomplete.
The XBL components documentation is very brief, so I adapted as I could and reached this result:
<xbl:...
0
votes
1
answer
57
views
xforms HTTP 404 on textarea.min.js.map and orbeon-form-runner-opt.js.map
Orbeon 2017.2.2. After loading this version I get the following errors from all my xhtml pages:
[Error] Failed to load resource: the server responded with a status of 404 () (Textarea.min.js.map, ...
0
votes
1
answer
85
views
Get config value in component
I want to build several autocomplete components that query an external service that the users of my app can easily use. For this purpose, I want to define the relative service path in the component ...
1
vote
1
answer
173
views
Orbeon: check if any yes-no answer in a repeated grid is true
I have a repeated grid with several controls, one of them being a yes-no control.
In a control outside the repeated grid I would like to display a warning (using a formula) that appears whenever any ...