How to add validation to your snippets to avoid mistakes

Did you know that you can add error messages in your snippets to help you avoid mistakes?

Text Blaze’s error command allows you to show relevant error messages and even block snippet insertion, which helps you prevent mistakes and validate the data/information in your snippets.


Create dynamic templates with relevant error messages to eliminate mistakes with Text Blaze :fire:

Give the snippet below a try & check out our video to see for yourself!

Hi there,

I'm reaching out about the customer support ticket you submitted. We'll get back to you ASAP!

Here's your ticket number for reference: {formtext: name=ticket number}

{if: `ticket number`=""}{error: Don't forget the ticket number!; block=yes}{endif: trim=yes}

1 Like