A
Andre
I'm trying to add a asp.net page which will act as a contact-me e-mail
form to keep our e-mail addresses hidden from page visitors.
I've created a combo/drop down box listing our various departments,
then added textboxes for the user to fill in their name, phone number,
e-mail address and message. At the bottom is a submit button.
When the submit button is clicked, I'd like to be able to validate the
imputs, then send an e-mail to the department which was selected in
the drop-down menu. Afterwards, I'd like to redirect to another page.
I tried adding my c# implementation code on the click event of the
submit button. When the page loads and I click the submit button,
nothing appears to be happening. I tried doing the same thing without
using a form at all, but I got a parser error that the drop-down box
had to be inside form tags and containg a code-behind. Am I missing
something simple here?
Thanks in advance,
Andre
form to keep our e-mail addresses hidden from page visitors.
I've created a combo/drop down box listing our various departments,
then added textboxes for the user to fill in their name, phone number,
e-mail address and message. At the bottom is a submit button.
When the submit button is clicked, I'd like to be able to validate the
imputs, then send an e-mail to the department which was selected in
the drop-down menu. Afterwards, I'd like to redirect to another page.
I tried adding my c# implementation code on the click event of the
submit button. When the page loads and I click the submit button,
nothing appears to be happening. I tried doing the same thing without
using a form at all, but I got a parser error that the drop-down box
had to be inside form tags and containg a code-behind. Am I missing
something simple here?
Thanks in advance,
Andre