Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 18th, 2008, 12:04 AM
Registered User
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Why Shipping address is not validated?

Hi,

Do you guys noticed that in shoppingcart.aspx user can submit order without filling shipping address form. Though in the code proper validation is used. Just have a look at these images....first one is that where we need to fill shipping add....

http://img228.imageshack.us/my.php?i...cartonelm2.png

Second one is the final step.We can move to final step without filling shipping add...

http://img228.imageshack.us/my.php?i...cartonelm2.png

How can we solve this problem?

Thanks and Regards.
 
Old September 18th, 2008, 10:31 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

The validation would not take place until the very end, when the form is submitted. That's how validation works.

The way the ShoppingCart is set up, only authenticated (logged-in) users can get to the shipping address step. If they leave the shipping fields blank, the fields are automatically filled in from their profile data.

If they leave the fields blank AND they have no data in their profile, and then try to submit the order, you should see the validation kick in at that point.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with blank fields in Shipping Address radrussell BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 November 23rd, 2009 11:57 AM
Adding SaleTax and Shipping goldenstate BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 November 16th, 2007 12:01 PM
Shipping costs Rebel BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 12 November 1st, 2007 10:40 AM
Shipping Progress -ASP.Net Gibs_poovath General .NET 6 May 10th, 2004 01:04 PM
Read drop-down list validated in Excel KathleenS Excel VBA 1 August 10th, 2003 08:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.