It could be useful to let other modules alter the generated error messages.
This patch will add a call to drupal_alter so that other modules can implements hook_webform_validation_validate_alter to alter error messages.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geoffray created an issue. See original summary.

geoffray’s picture

Liam Morland’s picture

Category: Task » Feature request
Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: drupal_alter_on_errors-2914107.patch, failed testing. View results

geoffray’s picture

I updated the patch to pass testing

Liam Morland’s picture

Title: Allow other modules to alter errors » Allow other modules to alter errors; hook_webform_validation_validate_alter()
Status: Needs work » Needs review

Liam Morland’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.