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

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                rodrigo.paulino Rodrigo Paulino
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 11 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP58
                  7.0.0 DXP SP9
                  7.0.X