Uploaded image for project: 'Nuxeo Documentation'
  1. Nuxeo Documentation
  2. NXDOC-460

Explain how to require fields conditionally to the button pressed in workflows

    XMLWordPrintable

    Details

      Description

      The following trick is used in the default workflow to make some fields required only if user clicked on a given button:

      <property name="required">#{request.getParameter('button') == 'start_review'}</property>
      

      This should be documented to allow users designing their workflow task forms.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: