[Radiant] XHTML 1.1 validation and Radiant Mailer Behavior
Sean Cribbs
seancribbs at gmail.com
Sun Jan 14 10:15:51 CST 2007
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
>
>
More information about the Radiant
mailing list