theme_boost/form-display-errors

Description:
  • Custom form error event handler to manipulate the bootstrap markup and show nicely styled errors in an mform.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Custom form error event handler to manipulate the bootstrap markup and show nicely styled errors in an mform.

Methods

(inner) enhance(elementid)

Description:
  • Enhance the supplied element to handle form field errors.

Source:
Parameters:
Name Type Description
elementid String
Listens to Events:
  • event:formFieldValidationFailed