Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-85877

regex in Liferay Forms is not working as expected

Details

    Description

      While trying to add a validation on a text field I ran into the following error message while saving the form

      New Form is temporarily unavailable.

      I was using 'If input does not match' with a regex like:

      \d+
      

      OR

      \d{10}
      

      Since this is a regular regex I expect this to work.
      My workaround for now, trying to validate on numbers was to use

      [0-9]{10}
      

      But this really should work with all kinds of regex, simple and advanced.

      Attachments

        Activity

          People

            alex.candido Alex Candido
            jan.verweij Jan Verweij
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 31 weeks ago

              Packages

                Version Package
                7.1.10 DXP FP10
                7.1.10.2 SP2
                7.1.3 CE GA4
                7.1.X
                Master