Snippet - "Required" (mandatory) email form field with error command

Hi all,

Just finished uploading a new video on how to create required form fields in Text Blaze, using the error command. You can watch it here:

The video features an example of a form field that checks whether the user's input matches the pattern of a valid email address. If the pattern doesn't match, the snippet prevents you from inserting it.

If you want to snatch the snippet and use it in your own dashboard, you can do so below:

{formtext: name=email}
{if: not testregex(email, "\w+@\w+.[\w.]+")}{error: Please enter a valid email address; block=yes}{endif}

Let me know if you'd like to learn more about what's going on in this particular snippet :slight_smile: