Page 1 of 1

Something about the Contact Form

Posted: Thu Oct 26, 2006 11:17 pm
by Davy
Hey!

I want to do two things with the Contact Form plugin:
1. I want to make radio buttons, that place their content in the message body.
2. I want the user's e-mailaddress to appear in the 'From'-field.

Can someone help?
Thanks!

Re: Something about the Contact Form

Posted: Thu Oct 26, 2006 11:29 pm
by garvinhicking
Hi!
Davy wrote:Hey!

I want to do two things with the Contact Form plugin:
1. I want to make radio buttons, that place their content in the message body.
2. I want the user's e-mailaddress to appear in the 'From'-field.

Can someone help?
Thanks!
That would only be possible either jusing javascript in the guestbook.tpl, or inserting PHP code that evaluates the radio buttons and transports them into the content variable; the second option would only be possible using PHP.

The contactform plugin is rather simplistic, so if you know some basic PHP, you could have a stab at it?

Best regards,
Garvin

Re: Something about the Contact Form

Posted: Thu Oct 26, 2006 11:53 pm
by Davy
I know HTML (so I can create radio buttons), but not much PHP. However, I'l look at the code tomorrow (no nightly! :) ).