Steps to reproduce
- Create a new form with one Text Field.
- Add validation for that field. It must contains the text "F"
- Save the form.
- Deploy Forms portlet and select previously created form.
- Type the text "1234F"
There's no validation error since the text 1234F contains the subtext "F"
There's a validation error.