beforeShowError A function will be called before the error popover shows, this of the function is the input html element validated: $('#form_id').validate_popover ...