Results 1 to 4 of 4
10-19-2001, 03:19 PM #1
Forms that can be submitted to different addresses- HELP!
Hi there everyone. I hope I'm posting this in the right place...
I am currently designing a site and the client wants me to set up a form where the user can choose what address to send the form to. I am sure this is possible, but I have no idea how to do it! Does anyone know?
Thank you so so so very much.
10-19-2001, 03:40 PM #2
Its pretty easy.. using some kind of server-side language.
Lets say you have a form input, a select box. its called 'sendto' and it has 20 different email addresses in it.
If you use PHP, or ASP or CGI/perl, then its childs play to have it read this input and send the mail to the correct address.
the problem is...do you have any knowledge of any of these thing? If not..
I recommend PHP. Its a fantastic 'first language' and is probably the best optimised language for te internet.
if you are stuck, you can probably find a suitable script at
they have Perl/ASP/PHP...whatever you need!
10-19-2001, 03:42 PM #3
Ok, hi, I'm stupid. I also don't know how to make a field in a form "required". Can anyone help with that too? Thank you!
10-19-2001, 04:29 PM #4
This is called form validation. And it usually goes one of two ways -
'Server Side Validation' is when you submit the form and the next page says ' uhh..please fill in your email address. Thanks.'. These are achieved with server-side scripts like I mentioned in the above post.
Basically, your form action would be your script. This script would first make sure no fields are empty, and if they are not then would process the form information.
For a great primer on server-side languages, try