Disallows adding a rule to the chain with an "or" operator
Required rules are different from all others because they affect the visual representation of an element ("* denotes required field"). Therefore we cannot allow chaining other rules to these via or_(), since this will effectively mean that the field is not required anymore and the visual difference is bogus.
Overrides
HTML_QuickForm2_Rule::or_() (Adds a rule to the chain with an "or" operator)
Parameters:
Sets the error message output by the rule
Required rules cannot have an empty error message as that may allow validation to succeed even if the element is empty, and that will make visual difference ("* denotes required field") bogus.
Overrides
HTML_QuickForm2_Rule::setMessage() (Sets the error message output by the rule)
Parameters: