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.