-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 5.2.3
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: None
-
Labels:None
-
Environment:plain 5.2.3 installation
-
Liferay Contributor's Agreement:Accept
Steps to reproduce:
- Create fields containing a space (e.g. "Your Name") in WebForm, make it mandatory.
- For validation, also create a field not containing spaces (e.g. "Name"), make it mandatory
- Enter data (e.g. captcha), but leave both mandatory fields empty
- Validation message (input required) for the field without space will be displayed, same message for the field with spaces will not be displayed.
It seems that this is due to the javascript validation that addresses the (already existent, but hidden via style="display:none") error message through concatenating the fields label to the portlet id, which will not match the actual id (and the actual id will also contain the space, thus be wrong and un-addressable.
- relates
-
LPS-13890 Webform validation does not properly display error message on field labels containing spaces
- Closed