We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23334
    • 2 Posts
    When setting &prehook error messages in UpdateProfile with $hook->addError[$field] the error messages are also concatenated into the placeholder [[+error.message]] in the resource. I would like to replace the [[+error.message]] with something like "Please correct the errors below".

    Is there a way to modify [[+error.message]] from within a hook?