Form Runner
Children pages
Default values
For the latest default values of Form Runner properties, see properties-form-runner.xml.
Form Runner properties documented elsewhere
Custom dialogs and model Logic
oxf.fr.detail.model.customoxf.fr.detail.dialogs.custom
oxf.fr.detail.view.appearanceoxf.fr.detail.buttons.inneroxf.xforms.xbl.fr.wizard.validateoxf.xforms.xbl.fr.wizard.separate-tocoxf.xforms.xbl.fr.wizard.subsections-navoxf.xforms.xbl.fr.wizard.subsections-toc
oxf.fr.detail.autosave-delayoxf.fr.persistence.*.autosave
Configuration Properties ~ Persistence
oxf.fr.persistence.provideroxf.fr.persistence.[provider].urioxf.fr.persistence.[provider].activeoxf.fr.persistence.[provider].autosaveoxf.fr.persistence.[provider].permissionsoxf.fr.persistence.[provider].versioningoxf.fr.persistence.[provider].data-format-version
oxf.fr.support-owner-groupoxf.fr.authentication.methodoxf.fr.authentication.container.rolesoxf.fr.authentication.container.roles.splitoxf.fr.authentication.header.usernameoxf.fr.authentication.header.groupoxf.fr.authentication.header.rolesoxf.fr.authentication.header.roles.splitoxf.fr.authentication.header.roles.property-name
oxf.fr.home.page-sizeoxf.fr.home.table.link-tooxf.fr.home.remote-servers
oxf.fr.detail.tiff.compression.typeoxf.fr.detail.tiff.compression.qualityoxf.fr.detail.tiff.scaleoxf.fr.detail.tiff.filename
Language
Default language
The following property determines Form Runner's default language:
When wildcards are specified, this property can control the default language for a given app or form.
The property without wildcards can also be used to control the default language of pages which don't involve a specific form, such as the Form Runner Home Page
For more details, see Language selection at runtime
Available languages
For a given form, you can filter which languages are available in the language selector with a space-separated list of language codes:
The language selector by default shows all languages available in the form definition. When this property is specified, only the intersection of the languages is shown in the selector. For example:
Example 1
form languages:
en fr jpproperty:
en frresulting languages:
en fr
Example 2
form languages:
en fr jpproperty:
en jp krresulting languages:
en jp
If the property is blank or contains the wildcard *, all the form languages are available.
[SINCE Orbeon Forms 4.3]
For pages which don't involve a specific form, such as the Form Runner Home Page, the following property controls the available languages:
For more details, see Language selection at runtime
Summary Page
See Summary page configuration properties.
Detail page
See Detail page configuration properties.
Show Orbeon Forms version
[UNTIL Orbeon Forms 4.6, use oxf.show-version starting Orbeon Forms 4.6.1]
Whether to show the Orbeon Forms version at the bottom.
Default logo
With this property, you can set the default logo URI. This logo appears on the summary and Detail Pages for a given form. You can omit (or comment out) this property or set its value to "" (empty string) if you don't want a default logo at all.
If you use two * wildcards, as in the example above, the property also sets the logo on the Form Runner Home page.
Adding your own CSS
Adding your own CSS files
Place your CSS file(s) under one of the following recommended locations:
WEB-INF/resources/forms/assets: CSS for all formsWEB-INF/resources/forms/APP/assets: CSS for app name APPWEB-INF/resources/forms/APP/FORM/assets: CSS for app name APP and form name FORM
Define the
oxf.fr.css.custom.uri.*.*property to point to the file(s) you added.
You can add more than one file, and just separate the paths by whitespace in the property.
[SINCE Orbeon Forms 2017.1]
In addition to oxf.fr.css.custom.uri, you can also use the following properties, which apply only to the Summary and Detail pages respectively:
Authoring CSS
Disable the minimal and combined resources. When working on your CSS, you might want to temporarily set the following properties in your
properties-local.xml, which will disable the combined and minimized resources, so the files and line numbers you see in your browser correspond to what you have on disk.Know which class names to use in your CSS selectors. We strongly recommend you use the Chrome Dev Tools or Firebug to check which classes are generated by Orbeon Forms. Look specifically for classes that start with
fr-. Once you have your CSS working with Chrome and/or Firefox, to test it on IE, you'll need to enable minimal resources, as IE is unable to loads more than 31 CSS files.
Use case
Sample CSS
Description
Change the width of a column
.fr-grid-invoice .fr-grid-col-1 { width: 40px }
1. In Form Builder, you can name grids (for now only repeated grids can be named). When doing so, the table element corresponding to your grid gets a fr-grid-my-name class, where my-name is the name you choose for the grid. In the example, the name was invoice.
2. Each column gets a class fr-grid-col-1, fr-grid-col-2 and so on, starting with the number 1.
Adding your own JavaScript
[SINCE Orbeon Forms 4.4]
Place your JavaScript file(s) under one of the following recommended locations:
WEB-INF/resources/forms/assets: scripts for all formsWEB-INF/resources/forms/APP/assets: scripts for app name APPWEB-INF/resources/forms/APP/FORM/assets: scripts for app name APP and form name FORM
Define the
oxf.fr.js.custom.uri.*.*property to point to the file(s) you added.
You can add more than one file, and just separate the paths by whitespace in the property.
[SINCE Orbeon Forms 2017.1]
In addition to oxf.fr.js.custom.uri, you can also use the following properties, which apply only to the Summary and Detail pages respectively:
Overriding resources
In some cases, it might make sense to change some of the resources provided out of the box by Form Runner. For instance, the Detail Page can have a submit button, which in English has a label "Submit". For your application, another label might make more sense, for instance "Send". To override Form Runner resources, you define properties with a name that has the following structure:
The name start with
oxf.fr.resource.Followed by the name of the application and form name for which you want to redefine the resource. You can use
*for either if you want the redefinition to apply to all the applications or all the forms. For instance:*.*, ormy-app.my-form.The 2-letter code for the language for which you want to override the resource. For instance:
en.A dot-separated path corresponding to the path of the resource you want to override as defined by Form Runner
resources.xml.Resources are aggressively caches, so you need to restart your application server (or redeploy the web app) after changing a property that overrides resources.
For instance, to change the label of the submit button to be "Send" in English for all applications and forms, write:
Email settings
See Email.
Sections and grids
Appearance of repeated sections
[SINCE Orbeon Forms 2016.1]
The following property allows you to set the appearance of repeated sections to full (the default) or minimal for all forms or for a subset of forms:
See also the appearance attribute of the section component.
Appearance of repeated grids
[SINCE Orbeon Forms 2016.1]
The following property allows you to set the appearance of repeated grids to full (the default) or minimal for all forms or for a subset of forms:
See also the appearance attribute of the grid component.
Insert position of repeated sections
[SINCE Orbeon Forms 2016.2]
The following property allows you to select where new iterations are added when using the "Add Another" or "+" button. Allowed values are index (default for the full appearance) and bottom (default for the minimal appearance):
See also the insert attribute of the section component.
Insert position of repeated grids
[SINCE Orbeon Forms 2016.2]
The following property allows you to select where new iterations are added when using the "Add Another" or "+" button. Allowed values are index (default for the full appearance) and bottom (default for the minimal appearance):
See also the insert attribute of the grid component.
Section collapsing
[SINCE Orbeon Forms 2016.1]
The following property allows you to set whether a section content can be collapsed by clicking on its title for all forms or for a subset of forms:
By default, sections are allowed to collapse.
The following property controls the same behavior in noscript mode:
A value of false may make sections more accessible and less confusing to screen reader users.
The following property controls the whether collapsing/opening of sections uses an animation. The default is true:
A value of false can be more efficient with slower browsers or large forms.
Deprecated properties
Before Orbeon Forms 2016.1, you could use the following properties, deprecated since Orbeon Forms 2016.1. Section collapsing:
Section collapsing in noscript mode:
Section collapsing animation:
Noscript properties
[DEPRECATED SINCE Orbeon Forms 2016.3]
Show noscript link
Whether to show the link to the noscript/full version.
Noscript: use table layout
Whether forms in noscript mode are allowed to use a layout based on tables. If false, no tables are used. WYSIWYG is lost, but the form may be more accessible. The default is true.
Last updated