<?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 : form field validation needed</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Suggestions : form field validation needed]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 03:41:33 +0000</pubDate>
  <lastBuildDate>Tue, 20 Jul 2010 13:05:31 +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=3867</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[form field validation needed : Here is a link to the validation...]]></title>
   <link>https://forum.productcart.com/form-field-validation-needed_topic3867_post15025.html#15025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=213">Matt</a><br /><strong>Subject:</strong> 3867<br /><strong>Posted:</strong> 20-July-2010 at 1:05pm<br /><br />Here is a link to the validation documentation:<br><br>http://docs.jquery.com/Plugins/Validation<br><br>You will find that you can add phone number formatting around line 367.<br><br><br>In your case you may want to add your custom validation on the server side.&nbsp; You can do so in the file "opc_updbilladdr.asp".&nbsp; Since the checkout uses AJAX there will be no postback. So it will still be very effective.<br>]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 13:05:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/form-field-validation-needed_topic3867_post15025.html#15025</guid>
  </item> 
  <item>
   <title><![CDATA[form field validation needed : But even if we don&amp;#039;t make...]]></title>
   <link>https://forum.productcart.com/form-field-validation-needed_topic3867_post15024.html#15024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=659">BrianRoden</a><br /><strong>Subject:</strong> 3867<br /><strong>Posted:</strong> 20-July-2010 at 12:36pm<br /><br />But even if we don't make the phone number a <EM>required</EM> field, shouldn't it be checking that only valid characters are used in that field? It should reject "N/A" (if it doesn't apply, just leave it blank). And a reasonable length check on each address line would be good (I don't know of any shipping label that allows more than 35-40 characters on one line -- our warehouse management system from Manhattan Associates has a 35-character max per address line). <DIV>&nbsp;</DIV><DIV>We had someone order a book as a gift for a person in prison, and they put "Federal Correctional Institute P.O. Box&nbsp;xxxx yyyyy-zzz GN" all in the first address line (that last part is the inmate number). Now I realize part of that is just the customer not knowing how to enter the data correctly, but we would still like to warn them when the data is too long, and force them to re-think how they're keying it (use the company line and the second address line).</DIV><DIV>&nbsp;</DIV><DIV>Can anyone offer suggestions on how to mod the checkout page's validation definitions to accomplish this? I'm a VB and .net guy. No Java experience other than copy/pasting some OnClick scripts.</DIV>]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 12:36:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/form-field-validation-needed_topic3867_post15024.html#15024</guid>
  </item> 
  <item>
   <title><![CDATA[form field validation needed : I want to clarify for anyone reading...]]></title>
   <link>https://forum.productcart.com/form-field-validation-needed_topic3867_post15023.html#15023</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=213">Matt</a><br /><strong>Subject:</strong> 3867<br /><strong>Posted:</strong> 20-July-2010 at 12:05pm<br /><br />I want to clarify for anyone reading this that ProductCart does validate form fields, including the address and city.&nbsp; Validation for the postal code and state/province is conditional and based on the shopper's country.&nbsp; The phone number field is also optional as Greg indicated above. &nbsp; ProductCart uses the jQuery framework for validation and it can easily be expanded to perform any type of custom validation with support for regular expressions.]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 12:05:44 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/form-field-validation-needed_topic3867_post15023.html#15023</guid>
  </item> 
  <item>
   <title><![CDATA[form field validation needed : Brian - the following post references...]]></title>
   <link>https://forum.productcart.com/form-field-validation-needed_topic3867_post15022.html#15022</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=290">Greg Dinger</a><br /><strong>Subject:</strong> 3867<br /><strong>Posted:</strong> 20-July-2010 at 10:56am<br /><br />Brian - the following post references some existing code that is used to dictate the fields that are required or not.&nbsp; Refer to the file "pc/onepagecheckoutJS.asp".&nbsp;&nbsp; Some of what you wish to do might already be there, and in that same area is where you may wish to introduce additional logic.<BR><DIV>&nbsp;</DIV><DIV><a href="http://www.earlyimpact.com/forum/forum_posts.asp?TID=3678&amp;KW=ph&#111;ne+required&amp;PID=14258" target="_blank">http://www.earlyimpact.com/forum/forum_posts.asp?TID=3678&amp;KW=phone+required&amp;PID=14258</A></DIV>]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 10:56:17 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/form-field-validation-needed_topic3867_post15022.html#15022</guid>
  </item> 
  <item>
   <title><![CDATA[form field validation needed : Is there any way to get some basic...]]></title>
   <link>https://forum.productcart.com/form-field-validation-needed_topic3867_post15021.html#15021</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=659">BrianRoden</a><br /><strong>Subject:</strong> 3867<br /><strong>Posted:</strong> 20-July-2010 at 10:42am<br /><br />Is there any way to get some basic field validation on the customer address entry pages? We're having issues with people putting N/A in the phone number field (which causes problems when the order data is imported into our AS/400 warehouse system). Sometimes people type their entire address, including city, state, and postal code, all in one address line.<DIV>&nbsp;</DIV><DIV>If this was an ASP.net app, I could easily add the field validation .net components linked to the data fields. Does anybody have any mods they have done to make certain fields (like city, state, and zip) required, and to make sure phone numbers and e-mail addresses follow the right formats?</DIV>]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 10:42:58 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/form-field-validation-needed_topic3867_post15021.html#15021</guid>
  </item> 
 </channel>
</rss>