Jonathan Métillon wrote: > I try to use the solution found at > http://lists.radiantcms.org/pipermail/radiant/2006-May/000261.html to > do client-side Mailer form validation using Prototype. > > At the line: > > <script type="text/javascript">new Validation('mailer-form');</script> > > The 'mailer-form' string is converted to ‘mailer-form’ > > So this script is unusable. How can I prevent this automatic > conversion to HTML entities? I found that this is the Textile filter that's converting the quotes.
So I simply created a new snippet with no filter where I put the JavaScript code and I include it from my Mailer form. Now the client-side validation is working great! J. _______________________________________________ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant