Hello, I'm not much of a Perl programmer (I usually just adapt a canned
formmail script!), but I have a situation where I need to route
information from an HTML contact form to different people (via having
the form results e-mailed via the aforementioned formmail) depending on
which checkbox in a form is selected.
Just to make it a little more difficult, the form needs to process to
more than one person if more than one checkbox is selected (e.g. if
box1 then mailto person1, if box1 and box2 then mailto person1 and
person2).
I tried setting up a function in Javascript that would check which
boxes are checked and then write the hidden field that defines the
recipients. Of course, this didn't work.
Any help?
Either post here or e-mail me directly.
Thanks!
formmail script!), but I have a situation where I need to route
information from an HTML contact form to different people (via having
the form results e-mailed via the aforementioned formmail) depending on
which checkbox in a form is selected.
Just to make it a little more difficult, the form needs to process to
more than one person if more than one checkbox is selected (e.g. if
box1 then mailto person1, if box1 and box2 then mailto person1 and
person2).
I tried setting up a function in Javascript that would check which
boxes are checked and then write the hidden field that defines the
recipients. Of course, this didn't work.
Any help?
Either post here or e-mail me directly.
Thanks!
Comment