Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Closed Thread
 
Thread Tools
  #1  
Old 02-26-2008, 09:51 PM
Corporal
 
Join Date: Jan 2008
Location: Idaho
Posts: 18
Send a message via AIM to id8trak Send a message via MSN to id8trak
Default checkboxes to add to cart not working

I am struggling to get this form to cooperate with me. Can someone see a problem with it? and help me fix it?



Here is the code:
<form action="http://ww#.aitsafe.com/cf/add.cfm" method="POST" name="Button1">
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="71.95">
<input type="hidden" name="product2" value="fgm-grain-attach">
FGM Grain Mill Head Attachment $71.95<br>
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="71.95">
<input type="hidden" name="product2" value="fgm-flaker">
FGM Flaker Attachment $71.95<br>
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="169.95">
<input type="hidden" name="product2" value="fgm-motor-base">
FGM Motor Base Only $169.95<br>
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="169.95">
<input type="hidden" name="product2" value="fgm-handbase">
FGM Hand Crank Base Only $169.95<br>
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="109.95">
<input type="hidden" name="product2" value="fgm-bosch-grain-attach">
FGM NEW Grain Mill Attachment fits DIRECTLY to Bosch Universal $109.95<br>
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="111.95">
<input type="hidden" name="product2" value="fgm-bosch-flaker-attach">
FGM NEW Flaker Attachment fits DIRECTLY to Bosch Universal $111.95<br>
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="36.95">
<input type="hidden" name="product2" value="fgm-replacement-burr-set">
FGM Replacement Burr Set $36.95<br>
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="73.95">
<input type="hidden" name="product2" value="fgm-meat-grinder">
FGM Meat Grinder Attachment $73.95<br>
<input name="qty2" type="checkbox" value="1">
<input type="hidden" name="price2" value="73.95">
<input type="hidden" name="product2" value="fgm-food-processor">
FGM Food Processor Attachment $73.95<br>
<br>
<input name="userid" type="hidden" value="shopping-acct-number" />
<input name="return" type="hidden" value="www.histakes-spelt.php/grainmills" />
<input name="submit" type="submit" value="Add to Cart" />
</form>
p.s. I would use the bvafp (did I get all those letters in the right order?), but I haven't quite published yet... and it looks like you must publish before you can use it.

thanks for any help you can give.
__________________
Jamie A.
www.HiStakes-Spelt.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 02-26-2008, 10:32 PM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,271
Default Re: checkboxes to add to cart not working

How are you adding this to your site? It looks like it came from Mal's? You add it in an html box - and have to make sure you've given mal's all the correct info -

The button works, but doesn't take me to a working account at Mals' - do you have one?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 02-26-2008, 10:46 PM
Corporal
 
Join Date: Jan 2008
Location: Idaho
Posts: 18
Send a message via AIM to id8trak Send a message via MSN to id8trak
Default Re: checkboxes to add to cart not working

Hi Beth,
Yeah, it is with Mal's but I didn't add my correct ww# or my user id on here. And I do put it all into an html box... sorry, I should have put more information. My brain is only half working this afternoon.

My problem is I get a syntax error: Price not set - when I click to add any items. all other add to cart buttons have worked out - even when I have a radio button option.

But it worked for you? What product did you click?
__________________
Jamie A.
www.HiStakes-Spelt.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 02-26-2008, 11:32 PM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,271
Default Re: checkboxes to add to cart not working

Well, I just tried it - and it worked from what I could see. But I went to a Google page not found, because it didn't have a user id, etc. If you want me to test the code, email it to me and I'll let you know if I get your syntax error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 02-27-2008, 05:22 AM
Corporal
 
Join Date: Jan 2008
Location: Idaho
Posts: 18
Send a message via AIM to id8trak Send a message via MSN to id8trak
Default Re: checkboxes to add to cart not working

ok, for others who would like to know the solution we figured out... here it is. Totally simple!
Rather than this form action: <form action="http://ww#.aitsafe.com/cf/add.cfm" method="POST" name="Button1">

we needed to have a ....addmulti.cfm.... for it to be able to add each checkbox individually.
Thanks for all the references that helped us come to that conclusion.

I also changed each product/price/qty to reflect a sequential order.

cheers.
__________________
Jamie A.
www.HiStakes-Spelt.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 06:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210