VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Need Help Turning Down into Radio Buttons
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

199 Posts

Posted - May 17 2004 :  14:40:01  Show Profile  Visit ProductivePC's Homepage  Reply with Quote

Hello Everyone

Version 4.50
I need to turn the following shipping drop down menu into radio buttons with a preselected radio button

I need the shipping method one on bottom of the page.

I have found the following code:

Call GenerateRadioList (aFieldnames,"shipmethodtype",afieldcount)

Sub GenerateRadiolist (Fieldname,fieldvalue, count)
dim i
for i = 0 to count-1
response.write "<input type='radio' name='" & fieldvalue &"'" & " value='" & fieldname(i) & "'>"
response.write fieldname(i)
end sub

I am just not sure where to insert this or what to comment out... Any suggestions?


I have been playing with it to no prevail. I have tracked it down to the shopcustomerform.asp page. However when I comment out the GenerateSelectNV and I put the:
Call GenerateRadioList (aFieldnames,"shipmethodtype",afieldcount)
I receive an error telling me that I cannot do that even though I have placed the Sub above there.

When I take away the word Call it tells me that aFieldnames is undefined, so I copy the information from GenerateSelectNV over to the GenerateRadioList and it doesn't work. It gives me an error telling me bad permiter... What am I doing wrong.....

Can anyone help?


Edited by - ProductivePC on May 17 2004 21:23:16
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000