[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

New commer to ASP scripting.  Need a onclick script to submit form data, validate it and then send and email let a specific user know that a record has been added.

Asked by t_hungate in Active Server Pages (ASP), ActionScript, Web Authoring

Tags: ASP

I have tried a few things and have had limited success.  I think that I have the proper code to get it to work, I am just not sure where or how to use it correctly.  Any help would be appreciated.

Here is the code I am using.

<input name="Submit" type="submit" class="date" onclick="MM_validateForm('LastNametxt','','R','FirstNametxt','','R','Orgtxt','','R','EmailAddtxt','','NisEmail');return document.MM_returnValue" value="Submit" />

This is the function that I have been trying to integrate into my buttons onclick property.  I have tried it on a seperate form and it will send the email.  I just need to make them work together.
<%
Dim ObjMail
Set ObjMail =CreateObject("CDO.Message")
      ObjMail.To = "People to contatct: email address"
      ObjMail.From = "email address"
      ObjMail.Subject = "New Readfile distro request."
      ObjMail.TextBody = "A new person has requested to be put on the readfile distro list.  Check the database for more info"
      ObjMail.Send
Set ObjMail = Nothing
%>
[+][-]11/05/08 01:59 PM, ID: 22890461Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/08 02:42 PM, ID: 22890857Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/08 09:12 PM, ID: 22892502Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/08 09:19 PM, ID: 22892520Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/08 06:27 AM, ID: 22895224Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/19/08 01:15 PM, ID: 22998657Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/23/08 10:25 AM, ID: 23025576Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/23/08 10:29 AM, ID: 23025586Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/24/08 12:53 PM, ID: 23030393Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_2_20070628