Relevance/Visibility query for Orbeon forms built using the form builder

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Relevance/Visibility query for Orbeon forms built using the form builder

Graham May-2
We are currently using Orbeon Forms version 4.1.0.201304182144-PE. We recently designed a form with three sections in the form builder. The form was designed so that you filled in each section one by one. The next section only became visible once the previous section had been completed. As relevance is coupled with visibility we wrote an XPath expression which output how many section were completed (2 out of 3 etc.). We placed a constraint on this value to ensure that the form could only be successfully submitted once the text highlighted 3 out of 3 completed.

We are wondering whether there is a better way to prevent a form from being submitted in the scenario cited?

Many thanks
Graham

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Relevance/Visibility query for Orbeon forms built using the form builder

Erik Bruchez
Administrator
Graham,

It is indeed annoying that relevance is tied to visibility this way.

The wizard view does things a bit differently, using switch/case to show the various sections, and this way the problem is avoided. Maybe you could use that mode?

http://blog.orbeon.com/2012/12/form-runner-wizard-view.html

-Erik