Happens in 2.2.2 & 3.0.1
When a required field is left out in creating a content using a web form, it gives the following error -
Please provide values for all required fields
- Please provide a valid value for 'Body'. 'Body' is a required 'String' value.
and the 'Body' field is marked in red color.
However, on subsequent misses, only a generic error 'Please provide values for all required fields' error is given without the name of the required field being speciifed.
Here are steps to reproduce this -
- Added the ootb company footer webform (available in alfresco install dir/extras/wcm/forms path) to the webproject
- Created content using this form
- Name & body both are required fields. Clicked 'next' without filling out the required 'name' field
- Got the following message -
Please provide values for all required fields
- Please provide a valid value for 'Name'. 'Name' is a required 'String' value.
and the 'Name' field is marked in red color.
- Now, enter name and remove values from body and click next. It shows a generic 'Please provide values for all required fields' error