Snippets Support > Snippets > Validate
This little form illustrates how to use pattern matching to check the data input submitted. Here I use the following pattern to check for email addresses: "/^.+@.+\..+$/". In addition to using patterns, it automatically checks to make sure at least some value is entered.
It gives quite a bit of flexibility in terms of form validation!