%@LANGUAGE="VBSCRIPT"%> <% Dim MM_editAction MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")) If (Request.QueryString <> "") Then MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString) End If ' boolean to abort record edit Dim MM_abortEdit MM_abortEdit = false %> <% ' IIf implementation Function MM_IIf(condition, ifTrue, ifFalse) If condition = "" Then MM_IIf = ifFalse Else MM_IIf = ifTrue End If End Function %> <% If (CStr(Request("MM_insert")) = "form1") Then If (Not MM_abortEdit) Then ' execute the insert Dim MM_editCmd Set MM_editCmd = Server.CreateObject ("ADODB.Command") MM_editCmd.ActiveConnection = MM_pwcn_database_STRING MM_editCmd.CommandText = "INSERT INTO tbltemp_Contacts (FirstName, LastName, Address1, Address2, City, [State], ZipCode, Country, OutsideUSAddress1, OutsideUSAddress2, OutsideUSAddress3, OutsideUSAddress4, OutsideUSAddress5, Phone, TimetoContact, Fax, Email, [Language], Methodofcontact, TypeofCancer, StageofCancer, TypeofBreastCancer, DateDiagnosed, WeeksPreg, Surgery, TypeofTreatment, OtherTreatment, AgeatDiagnosed, SpeakingwSW, ContactwSW, SendMail, SendInfoPkg, DetailedRequest, Feedback, HowFoundPWCN, OtherHowFound, InterestedSW) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)" MM_editCmd.Prepared = true MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 50, Request.Form("FirstName")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 100, Request.Form("LastName")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param3", 202, 1, 200, Request.Form("Address1")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param4", 202, 1, 200, Request.Form("Address2")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param5", 202, 1, 50, Request.Form("City")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param6", 202, 1, 50, Request.Form("State")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param7", 202, 1, 50, Request.Form("ZipCode")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param8", 202, 1, 50, Request.Form("Country")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param9", 202, 1, 200, Request.Form("OutsideUSAddress1")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param10", 202, 1, 200, Request.Form("OutsideUSAddress2")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param11", 202, 1, 200, Request.Form("OutsideUSAddress3")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param12", 202, 1, 200, Request.Form("OutsideUSAddress4")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param13", 202, 1, 200, Request.Form("OutsideUSAddress5")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param14", 202, 1, 50, Request.Form("Phone")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param15", 202, 1, 50, Request.Form("TimetoContact")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param16", 202, 1, 50, Request.Form("Fax")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param17", 202, 1, 100, Request.Form("Email")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param18", 202, 1, 50, Request.Form("Language")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param19", 202, 1, 50, Request.Form("Methodofcontact")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param20", 202, 1, 200, Request.Form("TypeofCancer")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param21", 202, 1, 200, Request.Form("StageofCancer")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param22", 202, 1, 200, Request.Form("TypeofBreastCancer")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param23", 202, 1, 50, Request.Form("DateDiagnosed")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param24", 202, 1, 50, Request.Form("WeeksPreg")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param25", 202, 1, 100, Request.Form("Surgery")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param26", 202, 1, 200, Request.Form("TypeofTreatment")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param27", 202, 1, 200, Request.Form("OtherTreatment")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param28", 202, 1, 50, Request.Form("AgeatDiagnosed")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param29", 5, 1, -1, MM_IIF(Request.Form("SpeakingwSW"), 1, 0)) ' adDouble MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param30", 5, 1, -1, MM_IIF(Request.Form("ContactwSW"), 1, 0)) ' adDouble MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param31", 5, 1, -1, MM_IIF(Request.Form("SendMail"), 1, 0)) ' adDouble MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param32", 5, 1, -1, MM_IIF(Request.Form("SendInfoPkg"), 1, 0)) ' adDouble MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param33", 203, 1, 1073741823, Request.Form("DetailedRequest")) ' adLongVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param34", 203, 1, 1073741823, Request.Form("Feedback")) ' adLongVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param35", 202, 1, 100, Request.Form("HowFoundPWCN")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param36", 202, 1, 100, Request.Form("OtherHowFound")) ' adVarWChar MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param37", 5, 1, -1, MM_IIF(Request.Form("InterestedSW"), 1, 0)) ' adDouble MM_editCmd.Execute MM_editCmd.ActiveConnection.Close Set myMail=CreateObject("CDO.Message") myMail.Subject="Pregnant With Cancer Contact Form Submission" myMail.From="info@pregnantwithcancer.org" myMail.To="info@pregnantwithcancer.org" myMail.TextBody="A new volunteer request has been submitted by:" & vbcrlf & "FirstName:" & " " & request.form("FirstName") & vbcrlf & "LastName:" & " " & request.form("LastName") & vbcrlf & "Address 1:" & " " & request.form("Address1") & vbcrlf & "Address 2:" & " " & request.form("Address2") & vbcrlf &"city:" & " " & request.form("city") & vbcrlf & "State:" & " " & request.form("State") & vbcrlf & "Zip Code:" & " " & request.form("ZipCode") & vbcrlf & "Telephone:" & " " & request.form("Phone") & vbcrlf & "Fax Number:" & " " & request.form("Fax") & vbcrlf & "Email:" & " " & request.form("Email") & vbcrlf & vbcrlf & "Type of Cancer" & " " & request.form("typeofCancer") & vbcrlf & vbcrlf & "on PregnantWithCancer.org. Login to approve or deny the request at http://www.pregnantwithcancer.org/restricted_access.shtml" & vbcrlf myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2 'Name or IP of remote SMTP server myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserver") _ ="mail.pregnantwithcancer.org" 'Server port myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") _ =25 myMail.Configuration.Fields.Update myMail.Send set myMail=nothing ' append the query string to the redirect URL Dim MM_editRedirectUrl MM_editRedirectUrl = "Thankyou.asp" If (Request.QueryString <> "") Then If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString Else MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString End If End If Response.Redirect(MM_editRedirectUrl) End If End If %> <% Dim Recordset1 Dim Recordset1_cmd Dim Recordset1_numRows Set Recordset1_cmd = Server.CreateObject ("ADODB.Command") Recordset1_cmd.ActiveConnection = MM_pwcn_database_STRING Recordset1_cmd.CommandText = "SELECT * FROM tblStates ORDER BY [State] ASC" Recordset1_cmd.Prepared = true Set Recordset1 = Recordset1_cmd.Execute Recordset1_numRows = 0 %> <% Dim Country Dim Country_cmd Dim Country_numRows Set Country_cmd = Server.CreateObject ("ADODB.Command") Country_cmd.ActiveConnection = MM_pwcn_database_STRING Country_cmd.CommandText = "SELECT * FROM tblCountries ORDER BY Country ASC" Country_cmd.Prepared = true Set Country = Country_cmd.Execute Country_numRows = 0 %> <% Dim TypeofBC Dim TypeofBC_cmd Dim TypeofBC_numRows Set TypeofBC_cmd = Server.CreateObject ("ADODB.Command") TypeofBC_cmd.ActiveConnection = MM_pwcn_database_STRING TypeofBC_cmd.CommandText = "SELECT * FROM tblTypeofBC ORDER BY TypeofBC ASC" TypeofBC_cmd.Prepared = true Set TypeofBC = TypeofBC_cmd.Execute TypeofBC_numRows = 0 %> <% Dim CancerTypes Dim CancerTypes_cmd Dim CancerTypes_numRows Set CancerTypes_cmd = Server.CreateObject ("ADODB.Command") CancerTypes_cmd.ActiveConnection = MM_pwcn_database_STRING CancerTypes_cmd.CommandText = "SELECT * FROM tblTypeofCancer ORDER BY TypeofCancer ASC" CancerTypes_cmd.Prepared = true Set CancerTypes = CancerTypes_cmd.Execute CancerTypes_numRows = 0 %> <% Dim TypeOfTreatment Dim TypeOfTreatment_cmd Dim TypeOfTreatment_numRows Set TypeOfTreatment_cmd = Server.CreateObject ("ADODB.Command") TypeOfTreatment_cmd.ActiveConnection = MM_pwcn_database_STRING TypeOfTreatment_cmd.CommandText = "SELECT * FROM tblTreatmentTypes ORDER BY TreatmentType ASC" TypeOfTreatment_cmd.Prepared = true Set TypeOfTreatment = TypeOfTreatment_cmd.Execute TypeOfTreatment_numRows = 0 %>
Support Woman Information Form
Please Read First:
Hope for Two...The Pregnant with Cancer Network is a national non-profit organization for women diagnosed with cancer during pregnancy. Our mission is to connect women who are pregnant with cancer with other women who have been pregnant with the same type of cancer. These women are here to lend support, offer hope and share their experiences with one another through phone and e-mail conversation.
If you are interested in becoming a support woman please fill out the information below.
If you have previously been pregnant with cancer and would like to be a support woman in the future, please fill out our contact form below. To be a support woman, you would agree to speak with a pregnant woman, newly diagnosed with the same type of cancer that you had while pregnant. Women typically speak by phone or through email. You would share your experience to offer hope and support during this time.
NOTE: Fields marked with * are required. If unsure of answer, please indicate so.