<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Contact Page, add user fields</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Contact Page, add user fields]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 11:41:06 +0000</pubDate>
  <lastBuildDate>Tue, 21 Apr 2009 23:54:27 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=2648</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Contact Page, add user fields : Another handy thing is changing...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9689.html#9689</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=426">RobertZ</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 21-April-2009 at 11:54pm<br /><br />Another handy thing is changing the scFrmEmail&nbsp; to (eg) scRMAEmail. <DIV>&nbsp;</DIV><DIV>Then Adding a line to include/emailsetting.asp</DIV><DIV>&nbsp;</DIV><DIV>private const scRMAEmail="<a href="mailto:Whereever@youwant.it" target="_blank">Whereever@youwant.it</A>"</DIV><DIV>(NO NOT CHANGE OR DELETE scFrmEmail in this file)</DIV><DIV>&nbsp;</DIV><DIV>Then you can get this email to go whereever you want rather than the main PC admin email address.</DIV><DIV>&nbsp;</DIV><DIV>Which fixes the issue of having everything going to one main PC email (Which is a pain).&nbsp; We have set up</DIV><DIV>main PC admin email : sales@</DIV><DIV>Helpdesk one : helpdesk@</DIV><DIV>contact form : contact@</DIV><DIV>RMA form : RMA@</DIV><DIV>&nbsp;</DIV><DIV>Rob</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 21 Apr 2009 23:54:27 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9689.html#9689</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields : That&amp;#039;s just what I said to...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9610.html#9610</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 12:24pm<br /><br />That's just what I said to do in my first post :-)&nbsp;]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 12:24:02 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9610.html#9610</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields : I figured it out. On this line:call...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9609.html#9609</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1415">mthierfelder</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 12:22pm<br /><br />I figured it out.&nbsp; On this line:<br><br>call sendmail (CustName,CustEmail,scFrmEmail,MsgTitle,MsgBody)<br><br>I had added CustPhone,CustCompany which didn't work, I think because sendmail didn't know what to do with those two things since it only has the original 5 variables.<br><br>Anyway thanks for your support.<br>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 12:22:30 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9609.html#9609</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields :  Do you mean like this?:pcv_i...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9608.html#9608</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1415">mthierfelder</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 11:50am<br /><br />Do you mean like this?:<br><br>pcv_isNameRequired=True<br>pcv_isEmailRequired=True<br>pcv_isTitleRequired=True<br>pcv_isBodyRequired=True<br><font color="#ff0000">'New fields added to contact form<br>pcv_isCompanyRequired=False<br>pcv_isPhoneRequired=False</font><br><br>if request.form("updatemode")="1" then<br><br>&nbsp;&nbsp;&nbsp; '//set error to zero<br>&nbsp;&nbsp;&nbsp; pcv_intErr=0<br><br>&nbsp;&nbsp;&nbsp; pcs_ValidateEmailField&nbsp;&nbsp;&nbsp; "FromEmail", pcv_isEmailRequired, 0<br>&nbsp;&nbsp;&nbsp; pcs_ValidateTextField&nbsp;&nbsp;&nbsp; "FromName", pcv_isNameRequired, 0<br>&nbsp;&nbsp;&nbsp; pcs_ValidateTextField&nbsp;&nbsp;&nbsp; "MsgTitle", pcv_isTitleRequired, 0<br>&nbsp;&nbsp;&nbsp; pcs_ValidateTextField&nbsp;&nbsp;&nbsp; "MsgBody", pcv_isBodyRequired, 0<br>&nbsp;&nbsp;&nbsp;<font color="#ff0000"> 'New fields added to contact form<br>&nbsp;&nbsp;&nbsp; pcs_ValidateTextField &nbsp;&nbsp;&nbsp; "FromPhone", pcv_isPhoneRequired, 0<br>&nbsp;&nbsp;&nbsp; pcs_ValidateTextField&nbsp;&nbsp;&nbsp; "FromCompany", pcv_isCompanyRequired, 0</font><br><span style="font-size:10px"><br /><br />Edited by mthierfelder - 15-April-2009 at 11:50am</span>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 11:50:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9608.html#9608</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields : Hi, Just a thought, did you add...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9607.html#9607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 11:42am<br /><br />Hi,<br>&nbsp;&nbsp; Just a thought,&nbsp; did you add other lines of code, such as setting the <font color="#ff0000">pcv_isPhoneRequired&nbsp;<font color="#000000"> and calling pcs_ValidateTextField for the two new fields?<br><br></font></font>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 11:42:27 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9607.html#9607</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields : Ok, so if I understand correctly...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9606.html#9606</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1415">mthierfelder</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 11:38am<br /><br />Ok, so if I understand correctly you are saying that messages should be sending given the changes I have made, and the company and phone should be passed in that email? because the messages are not being sent right now.<br><br>I have tested the sendmail in the admin and it is working.&nbsp; The default contact.asp page does work and sends mail but still having trouble getting the two new fields going.<br>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 11:38:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9606.html#9606</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields : Hi,The parameters passed are positional,...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9605.html#9605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 11:23am<br /><br />Hi,<br><br>The parameters passed are positional, so the value of "msgText" is passed to Sendmail into variable "body".<br><br>You don't need to, in fact should not, change the sendmail code. The phone number and company name will appear in the text of the message due to the other changes you have done.]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 11:23:22 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9605.html#9605</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields : I had not modified sendmail. I...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9604.html#9604</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1415">mthierfelder</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 11:08am<br /><br />I had not modified sendmail.&nbsp; I took a look at it and am not seeing the variables that are present in contact.asp.&nbsp; For instance contact.asp calls the message MsgText, but sendmail calls it BodyText.&nbsp; Also, I don't see any reference in sendmail.asp to CustName, or CustEmail.&nbsp; Could you be more specific as to how I add in the two new fields to sendmail? We are using CDOSYS for our mailer...this is the block:<br><br>Function sendMail(fromName, from, rcpt, subject, body)<br><br>if scEmailComObj="CDOSYS" then<br>&nbsp;&nbsp;&nbsp; Dim mail <br>&nbsp;&nbsp;&nbsp; Dim iConf <br>&nbsp;&nbsp;&nbsp; Dim Flds<br>&nbsp;&nbsp;&nbsp; 'on error resume next <br>&nbsp;&nbsp;&nbsp; Set mail = CreateObject("CDO.Message") 'calls CDO message COM object<br>&nbsp;&nbsp;&nbsp; Set iConf = CreateObject("CDO.Configuration") 'calls CDO configuration COM object<br>&nbsp;&nbsp;&nbsp; Set Flds = iConf.Fields<br>&nbsp;&nbsp;&nbsp; Flds( "http://schemas.microsoft.com/cdo/configuration/sendusing") = 1 'tells cdo we're using the local smtp service, use "2" if not local<br>&nbsp;&nbsp;&nbsp; Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver")=scSMTP<br>&nbsp;&nbsp;&nbsp; Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25<br>&nbsp;&nbsp;&nbsp; Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 20<br>&nbsp;&nbsp;&nbsp; Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "c:\inetpub\mailroot\pickup" 'verify that this path is correct<br>&nbsp;&nbsp;&nbsp; Flds.Update 'updates CDO's configuration database<br>&nbsp;&nbsp;&nbsp; 'if smtp authentication is required<br>&nbsp;&nbsp;&nbsp; '==================================<br>&nbsp;&nbsp;&nbsp; if scSMTPAuthentication="Y" then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 ' cdoBasic <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = scSMTPUID<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = scSMTPPWD<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Flds.Update 'updates CDO's configuration database<br>&nbsp;&nbsp;&nbsp; end if<br>'==================================<br>&nbsp;&nbsp;&nbsp; Set mail.Configuration = iConf 'sets the configuration for the message<br>&nbsp;&nbsp;&nbsp; mail.To = rcpt <br>&nbsp;&nbsp;&nbsp; mail.From = from <br>&nbsp;&nbsp;&nbsp; mail.Subject = subject <br>&nbsp;&nbsp;&nbsp; If session("News_MsgType")="1" Then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HTMLBody=HTML<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mail.HTMLBody = body<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TextBody=Plain<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mail.TextBody = body<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; mail.Send 'commands CDO to send the message<br>&nbsp;&nbsp;&nbsp; if err then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pcv_errMsg = err.Description<br>&nbsp;&nbsp;&nbsp; end if<br>&nbsp;&nbsp;&nbsp; set mail=nothing <br>End If<br>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 11:08:44 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9604.html#9604</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields : If you had modified sendmail as...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9602.html#9602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 4:44am<br /><br />If you had modified sendmail as well and that's not the problem, check that ANY emails are being sent.&nbsp; You can do this from the control panel "settings &gt; Email Settings : Test your settings".&nbsp; I would also advise checking "Help &gt; Troubleshooting utility" whenever a major change such as switching servers has occurred (along with other testing).<br>&nbsp;]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 04:44:23 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9602.html#9602</guid>
  </item> 
  <item>
   <title><![CDATA[Contact Page, add user fields :   Hi, Unless you have also changed...]]></title>
   <link>https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9601.html#9601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 2648<br /><strong>Posted:</strong> 15-April-2009 at 4:38am<br /><br />Hi,<br>&nbsp;&nbsp; Unless you have also changed includes/sendmail.asp you will need to revert that line to it's original text as it only takes 5 parameters.<br><br>call sendmail<font color="#000000"> </font><font color="#000000">(CustName,CustEmail,scFrmEmail,MsgTitle,MsgBody)</font><br><br>The phone and company name have already been incorporated into the message body.<br><br><br><span style="font-size:10px"><br /><br />Edited by Hamish - 15-April-2009 at 4:40am</span>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 04:38:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/contact-page-add-user-fields_topic2648_post9601.html#9601</guid>
  </item> 
 </channel>
</rss>