Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Use of radio buttons on forms
February 7, 2006, 10:56 pm
rate this thread
is there anyway you can do this within the HTML form
Two buttons - one marked Secretary the other marked Chairman. Depending
upon the settings of the buttons the recipient's email address changes?
For instance, if Secretary is set, the recipient email address is set
to email@example.com otherwise it is set to firstname.lastname@example.org - or
does it HAVE to be done as part of the CGI script?
Re: Use of radio buttons on forms
Well, you can have the email address as the value of the radio button, but
you'll then need to take other steps in the server side script so that Joe
Spammer can't submit whatever email address he wants to send spam to.
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/
Home is where the ~/.bashrc is