On 14/09/06, John W. Long <[EMAIL PROTECTED]> wrote:
>
> Dave, perhaps you could create a patch for this and send it to Matt
> McCray. Plugins are pretty easy to modify.

Could you point me in the direction of tutorials to do this? I'm happy
to but don't know how :-)

When I just changed the lib/mailer.rb file then my changes did not
take effect, so I put the <r:> code for the form in an <r:comment> and
copy and pasted the generated XHTML form back into the page part and
edited it from there, both for XHTML compliance and for accessibility
with fieldset and legend tags, which need all inputs to have id
attributes.

<form action="/contact" method="post" class="mailer-form"
enctype="multipart/form-data">
<fieldset>
<legend>Contact Us</legend>
<input type="hidden" name="mailer_name" value="contact" />
<label for="name">Name</label>
<input type="text" name="mailer[name]" class="mailer-field" id="name"
value="Enter Name Here" /><br />
<label for="email">Email</label>
<input type="text" name="mailer[email]" class="mailer-field"
id="email" value="Enter Email Here" /><br />
<label for="message">Message</label>
<textarea name="mailer[message]" class="mailer-field" cols="35"
id="message" rows="5" >Enter Message Here</textarea><br />
<input type="submit" class="mailer-button" id="submit" value="Send" />
</fieldset>
</form>

-- 
Regards,
Dave
_______________________________________________
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