Search code examples
orbeon

Using the wizard view, is it possible to hide the Submit button on all but the final section?


I have created a form with 6 sections and configured Cancel, Next, Prev and Submit buttons in properties-local.xml.

It is usually not advisable to allow the end-user to submit the form until they have at least reached the final section. The only way I can see that this may be possible is to use buttons within the form and by checking which section is currently in focus.

I notice that this has been fixed for Orbeon 2016.1 (see Is it possible in orben to hide or disable the "send" button until a form is finished?), but just wondered whether there is a workaround for Orbeon v4.10?


Solution

  • With 2016.1, this requires the following conditions:

    1. Use of the oxf.fr.detail.buttons.inner property.
    2. Use the wizard's validated mode.

    The documentation on this was missing. I have just added it. I hope this helps!