Can I validate a form before I insert snippet?

Hi! Sorry, I'm kinda busy and can't research this right now. Is there a way to make sure that there a form is not blank before I insert a snippet? I can add things after I insert it, but I would rather make sure I'm not forgetting something important before I insert. Thanks!

Hi Laren,
Try this:

{formtext: name=field}{if: field == ""}{error: this field can't be empty; block=yes}{endif}

You can read more about it here

1 Like

Perfect Dan! Thank you!