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 June 24th, 2007, 04:45 AM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with blank fields in Shipping Address

If I leave a blank line (for example Street) on the Shipping Address form on ShoppingCart.aspx, then click link 'Proceed with order', I am notified that 'The Street field is required'. However, if I then click link 'Proceed with order' a second time without correcting the error, it is allowed and I proceed to the Order Summary step of ShoppingCart.aspx which then shows incomplete Shipping Details (no street). Any ideas why this is happening? I am using the downloaded and unmodified BeerHouse code.

 
Old June 27th, 2007, 11:32 AM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can't believe no one else has noticed that it is possible to place an order to Paypal that has a completely blank shipping address (save for the comma). I have also noticed said behavior on commercial sites that are using beer house as base code. Surely it is not desirable for a commercial site to receive an order with a partially or totally blank shipping address. I don't understand why the RequiredFieldValidator controls on ShoppingCart.aspx permit empty text boxes to be propagated thru to the order summary screen. Could someone please enlighten me.



 
Old October 5th, 2007, 05:44 AM
Registered User
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Remove the ValidationGroup from the validators & it works ok as far as I'm aware. Not sure how you get the ValidationGroup to work with the wizard.
 
Old November 23rd, 2009, 11:57 AM
Registered User
 
Join Date: Aug 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

in the code behind you will see that if textboces are Blank then it takes the text of the User Profile. so if profile was blank at creation then thats why yuo are getting blank values.


Options are that either you delete the code behind section of that part
or at registration you add as mandatory Street, Postal Code, Tel etc as you wish...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Shipping address is not validated? webeye BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 September 18th, 2008 10:31 AM
Access Reports - hiding blank fields Gandalf_the_Grey Access 3 December 12th, 2006 07:58 PM
Crystal reports (v8.5) returning blank fields rainman_matthew Crystal Reports 0 December 6th, 2005 11:55 AM
Blank fields - queries with many tables dvarrin Crystal Reports 0 February 1st, 2005 05:43 AM
Parameters fields coming up blank in report jjshah BOOK: Professional Crystal Reports for VS.NET 0 January 26th, 2005 03:19 PM





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