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

Web Form portlet checkbox validation should work when the field is mandatory


    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.X EE, 7.0.0 M3
    • Fix Version/s: 6.2.X EE, 7.0.0 M3
    • Component/s: Web Form
    • Labels:


      1. Start the portal and login as a super admin.
      2. Add Web Form portlet to the welcome page of Liferay site.
      4. Click the wheel icon and select Configuration.
      5. In Setup tab, under Form Fields section, change Name field type for checkbox, and then uncheck Optional to save the configuration.
      6. Back to the form, click Send button, "This field is mandatory." info will be displayed for Comments field.
      7. Add the content in Comments field, and then click send.

      Actually behavior: the form can't be submited. And "Your request failed to complete. " info will be displayed in UI.
      Expected behavior: "This field is mandatory." info will be displayed for Name field.




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


              • Created:
                Days since last comment:
                3 years, 38 weeks, 2 days ago