HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Don't want option to be submitted
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
simon.wood



Joined: 10 Sep 2008
Posts: 1

PostPosted: Wed Sep 10, 2008 1:37 pm     Don't want option to be submitted Reply with quote

I have an option list to allow users to specify how many event ticket they would like to purchase. However Googlecart will not accept a value of 0 as a quantity.

It allows me to submit 1 ticket of each type but if I have a 0 number it won't accept it. Is there anyway of showing 0 as an option but not submitting it in the form when it sends the quantities?[/list][/code]
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1408
Location: Biloxi, MS

PostPosted: Thu Sep 11, 2008 1:02 pm     Reply with quote

From Googlecart:

Quote:
A product should contain an element defining the price keyword. If it does not, then the price is set to zero (i.e. it is free).


and

Quote:
A product may contain an element defining google-cart-quantity. If it does not, then one item is added to the cart.


Not that familiar with Googlecart. Possibly your quantity shouldn't be 0 and it is doing it right by kicking out 0 on submit. After all, why buy 0 tickets? Smile

Look over the Google API Info and see if you spot something you could use.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial