Recipes for common forms challenges

Last updated on August 2, 2022

There are a number of challenges you might encounter in creating forms. You may wonder how to configure a control for a certain kind of validation, for example. This section of the manual provides a sort of cheat sheet to help you quickly solve some of these challenges.

In addition to a variety of settings options on each control, Orbeon uses a scripting language called XPath to perform certain functions. 

XPath

XPath is similar to the scripting you would use to do calculations, comparisons and other functions in Excel. Unlike the scripting in Excel, however, XPath is a full scripting language used for many purposes, and there are no 'templates' or shortcuts embedded in Orbeon. (That is, you can't just start typing "=s" and have "=SUM(number1, [number2], ...)" appear like you would see in Excel.)

Like any scripting language, it takes time and practice to learn. This 'cookbook' collects 'recipes' of settings and XPath formulas that you can put to use right away.

Found a useful script or solution you want to share? Have a challenge not documented? Send us an email.