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

Date and Upload fields can be submitted with invalid values

Details

    Description

      Steps to Reproduce

      1. Go to Content > Forms
      2. Add a new form
      3. Add a Date field
      4. Add an Upload field
      5. Publish form
      6. Go to Publish URL
      7. Input the string "test" in both Date field and Upload field
      8. Submit

      Expected Result:
      Form should validate that the Date field has a valid date inputted. Should also validate that the Upload field has a file added.

      Actual Result:
      Form submits successfully.

      Note The fields are validated for real values if they are set to "Required". A blank, non-required field should be accepted, but if the user inputs a value, it should be checked as valid.

      Attachments

        Issue Links

          Activity

            People

              victor.ware Victor Ware
              victor.ware Victor Ware
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                  Version Package
                  7.1.0 Beta 1
                  7.1.X
                  Master