HomeHome Product Discus... Product Discus...SmithCartSmithCartCompany Name Required Field?Company Name Required Field?
Previous
 
Next
New Post
9/23/2010 1:16 PM
 

As with many B2B businesses, company name is an essential field for our shopping cart. Can you please explain how to make "Company Name" a required field in the Cart Registration Page? Or is there some other option to collect this data in a required field? Thank you.

 
New Post
9/23/2010 2:32 PM
 

The easiest way to require the company name is to show the company name field on the step 1 checkout page and require it there. Go to the cart settings under the step 1 setup section and check the box titled "Show Company Name". Then open up the step1.ascx page and add the following required field validator control after the company name textbox on line 25.

<asp:RequiredFieldValidator ID="rfvCompanyName" runat="server" ControlToValidate="txtCompanyName" Display="Dynamic"
ErrorMessage="*Required" CssClass="SmithProdText"/>


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
9/29/2010 4:17 PM
 

Thanks ... much appreciated.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCompany Name Required Field?Company Name Required Field?