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.