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

              Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 39 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.0 Beta 1
                  7.1.X
                  Master