Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5293

Allow to make document titles mandatory when editing

    XMLWordPrintable

Details

    • Unknown

    Description

      • provide an new configuration parameter in the administration.
      • when the option is activated display a message (in real time) stating that the field is mandatory when it is empty. The save buttons must be disabled in that case.

      I think the cost of making the feature work with JS deactivated is overkill (new validate action) for this use case. In the long run we'll need a generic validation mechanism on document save, something that would replace the current object validation mechanism (not completely implemented) but generic enough to allow validation fields of the document itself.

      WDYT ?

      Attachments

        1. mandatorytitles.patch
          3 kB
          Jean-Vincent Drean
        2. mandatorytitles.patch
          6 kB
          Jean-Vincent Drean

        Issue Links

          Activity

            People

              jvdrean Jean-Vincent Drean
              jvdrean Jean-Vincent Drean
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: