Nice solution, it was realy simple to understand so that i was able to understand how to use it. I would realy like to use the solution.
But what would you use the remove html tags function for. If someone want to put malicious script on my page they are probably also able to look at the HTML wondering, if the name="content:stripTags" can help them in some way. Hmm... what if they change the code (maby in firebug) to say name="content".
So I would still need to remove the tags form the array returned form formit to use it on the site or view it in the browser, like webmail.
Is there an option to prevent validation chaining? i.e. only show the relevant validation message - so if a field is empty, only show the "required" message. If it’s invalid, show the "invalid email" message (for example)? I’m sure this can be achieved with a snippet - I just wanted to know if it was possible out of the box?