• Hello,

    When the user is underage and the validation fails, i need to display a message containing a link (a href), but it looks like HTML is not allowed to the Under Age Validation Message text field.

    Is there any solution for that?

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @isaakgeo,

    This is surprisingly more difficult than I expected.

    Are you using the standard or Javascript version of the age gate?

    Thanks
    Phil

    Thread Starter isaakgeo

    (@isaakgeo)

    Hi @philsbury

    Thanks for looking into this, i’m using the standard version!

    Thread Starter isaakgeo

    (@isaakgeo)

    In case no other “normal” solution works, is it possible to guide me in order to modify the plugin in the source code so it doesn’t read the messages from the array but instead from a custom value? I know that this probably means that plugin updates will overwrite this but i need a temp solution quite urgently.

    Thank you!

    Plugin Author Phil

    (@philsbury)

    Hi @isaakgeo,

    If you update to the latest version you can add markdown in the message boxes and it’ll get parsed to HTML, e.g.

    You are not old enough to view this content. [Click here](https://google.com)

    Hope that helps!

    Thanks
    Phil

    Thread Starter isaakgeo

    (@isaakgeo)

    That’s Fantastic!

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Add html to Validation Message’ is closed to new replies.