[Radiant] XHTML 1.1 validation and Radiant Mailer Behavior
Jonathan Métillon
jmetillon at gmail.com
Wed Jan 24 05:36:19 CST 2007
Thanks Sean!
Does it mean that each time in update my copy of Radiant, I'll have to edit
and modify mailer_behavior.rb?
On 1/14/07, Sean Cribbs <seancribbs at gmail.com> wrote:
>
> When I converted the Mailer behavior into an extension, I had to deal
> with that. The code is pretty straightforward, just search
> mailer_behavior.rb for 'POST' and replace it with 'post'. Also, make
> sure to put any emitted mailer form fields in a block-level element like
> a <div> or <p>.
>
> Sean
>
> Jonathan Métillon wrote:
> > Hi,
> >
> > I get in trouble while trying to validate my XHTML 1.1 contact page
> > containing a form generated by Radiant Mailer Behavior. Please see the
> > report here:
> >
> >
> http://validator.w3.org/check?uri=http%3A%2F%2Fruby-on-nails.com%2Fcontact
> >
> > The error seems caused by misplaced tags and empty or misscased (POST)
> > attributes. Is this possible that someone fix this?
> >
> > Here is the source of my contact page form:
> >
> > <r:mailer:form name="contact">
> > <r:mailer:hidden name="subject" value="Contact depuis le site" />
> >
> > |>. *Vos prénom et nom :* | <r:mailer:text name="nom" />
> > |
> > |>. *Votre ville :* | <r:mailer:text name="ville" />
> > |
> > |>. *Votre adresse email :* | <r:mailer:text name="email" />
> > |
> > |>. *Votre numéro de téléphone :* | <r:mailer:text name="tel" />
> > |
> > |>. *Votre Message :* | <r:mailer:textarea name="message"
> > /> |
> > | | <r:mailer:submit value="Envoyer
> > ce message" /> |
> >
> > </r:mailer:form>
> >
> > Thank you!
> >
> > Jonathan
> > _______________________________________________
> > Radiant mailing list
> > Post: Radiant at lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> >
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
--
« In the long run, we are all dead. » --John Maynard Keynes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20070124/3920a782/attachment.html
More information about the Radiant
mailing list