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

Form is not validating value from autofill correctly

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.1.X
    • Fix Version/s: 7.1.X
    • Component/s: Forms
    • Labels:

      Description

      Steps to reproduce:

      1. Create a data provider with the following settings:
      2. Create a form with:
        • a text field named Text
        • a select from list named Countries (select Create List From Autofill)
      3. make the select field required
      4. Save the form
      5. Add the following rule:
         If Field Text Is not empty
        Autofill countries from Data Provider Countries
        
      6. Publish the form
      7. Access the form with the form url
      8. Add some value to Text field
      9. choose a country from the Countries field
      10. Submit the form.

      Expected Results:
      Form submits successfully.

      Actual Results:
      A error message "This field is required" appears for the Countries field.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 week, 1 day ago

                  Packages

                  Version Package
                  7.1.X