internal package
Finds string for CSS class 'foswikiInputField' or 'formPluginGroup' and adds an error class to it.