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

Form Number Validation Allows Text Input

Details

    Description

      Steps to Reproduce

      1. Log in as Admin;
      2. Go to Content -> Forms -> New Form;
      3. Add Field -> Text Field:
        • Enter "Number Validation" as Label;
        • Click on "Show More Options";
        • Enable validation: if number is greater than or equal to 0, show "This is not valid number" message.
      4. Add field;
      5. Go to any Page;
      6. Add -> Applications -> Form;
      7. Form -> Configuration -> Select previously created Form;
      8. Save;
      9. Assert Form is displayed on page;
      10. Put -1 number into Number Validation field;
      11. Assert that error message is "This is not valid number";
      12. Put "TEXT" inside Number Validation field.

      Expected Result
      Error message should appear.

      Actual Result
      No error message.

      Attachments

        Issue Links

          Activity

            People

              joyce.wang Joyce Wang
              rodrigo.paulino Rodrigo Paulino (Inactive)
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 13 weeks, 5 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP58
                  7.0.0 DXP SP9
                  7.0.X