Friday, January 31, 2014

The new Duplicate button

We have just implemented a new Duplicate button, available on the Summary page of both Form Builder and Form Runner.

This button allows you to copy:

  • an existing form definition, when used from Form Builder
  • existing form data, when used from deployed forms

This enables some often-requested use cases, including:

  • Creating a template form definition and copying that template to create new forms.
  • Taking a piece of data which applies to, say, a given month of the year, and making a copy of it for the following month.

When a form definition or form data is duplicated, all the related attachments, if any, are copied as well. You can select multiple items, and all of them will be duplicated.

The new Duplicate button shown on the Form Builder Summary page
The new Duplicate button shown on the Form Builder Summary page

By default, the Duplicate button is enabled in both Form Builder and Form Runner. You can control this with the oxf.fr.summary.buttons property:

<property
  as="xs:string"
  name="oxf.fr.summary.buttons.*.*"
  value="home review pdf delete duplicate new"/>

This feature will be available in Orbeon Forms 4.5.

Wednesday, January 29, 2014

Improving how we show help messages

Before Orbeon Forms 4.5, we've been using modal dialogs to show help messages. This was a rather heavy handed approach which prevented users from filling out the field while seeing the help message. Now, help messages show using a Bootstrap popover shown next to the relevant field, as shown in the screenshot below. Also, in addition to allowing users to interact with the form as they read the help message, the help message gets a fresher, more modern look, thanks to Bootstrap.

In the vast majority of the cases both the form field and the popover will be visible at the same time. This means that if the field is on the right side of the form, the popover will show on the left; this is the opposite of what is shown in the screenshot above. In cases where the field takes the whole width of the form, the popover will show over or under the field, depending on where there is more space. Finally, only in cases where the field is taking all the real estate available on the screen (imagine a large rich text editor), will the popover show over the field.

This feature will be available in Orbeon Forms 4.5.

Wednesday, January 15, 2014

Orbeon Forms 4.4.1 PE

Today we released Orbeon Forms 4.4.1 PE. This is a bug-fix update for Orbeon Forms PE only. For more details about the 4.4 release in general, see Orbeon Forms 4.4.

This release includes the following fixes:
  • Orbeon Forms 4.4 requires additional jars for Oracle (#1484)
  • IE10: section content is partially hidden after collapsing it and uncollapsing it (#1464)
  • IE11: JavaScript error after entering app/form name in Form Builder when creating form (#1461)
  • Safari 7 is supported with Apple's Safari 7.0.1 update (see #1399).
You can download the latest version of Orbeon Forms from the downloads page.
    Don't forget to grab a trial license for the PE version.

    Please send feedback:
    We hope you enjoy this release!

    Repeated sections

    In addition to repeated grid rows, Form Builder and Form Runner now support repeated section content.

    Repeating section content is very similar to repeating a group of grid rows, except that the entire section content can be repeated. This includes nested grids and subsections.

    You enable content repetition in the Section Settings dialog for the section. Like for repeated grid settings, you can select the minimum and maximum number of repetitions. In addition, you can opt to configure a custom iteration name, which only impact the format of the data. In general, you shouldn't need to change this setting.

    Repeated Section Content Settings

    At design time as well as design time, a section with repeated content appears with an arrow button next to each iteration, which allows you to insert, move, and delete iterations.

    Repeated Section at Runtime
    We hope you enjoy this new feature, which will be available in Orbeon Forms 4.5!

    Related posts: