We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36926
    • 701 Posts
    Hi,

    I've got the math hook working in my form fine, but wondered if it's possible to trigger the placeholder:
    [[!+fi.validation_error_message]]
    


    As currently the message is only displayed in the math hooks placeholder:
    [[!+fi.error.math]]
    


    Which is at the bottom of a large form, so want something at the top to inform the users of issues.

    I could do something like
    [[!+fi.error_message:notempty=`<p>Please correct the errors below</p>`]]
    


    But that doesn't get triggered if a field doesn't validate and I don't want to put both as guess it could be possible both could then end up getting displayed

    Any suggestions?

    Thanks

    B