I had a tour through the code that makes Mailer work, and can't for the 
life of me see how you could define a server-side validation of any of 
the input. The template is rendered. If there is POST data for a tag in 
the template, that field is filled. If there isn't, oh well. I imagine 
that a JavaScript validator could be used, but those always feel icky 
to me.

Can anyone point out how you could intercept the form posting, perform 
a little basic validation on it, and set some errors (missing, too 
short, malformed, whatever) to be flashed to the visitor, and maybe 
even pre-fill the form for correction?

The current code looks as though it just takes any old post, and tries 
to mail it, and redirects if the mail gets sent.

Thanks,

Walter

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to