Welcome, Guest ( Customer Panel | Login )




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

ProductivePC
VP-CART New User

USA
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

http://www.worldfamousgiftbaskets.net/shopping/shopdeliveryedit.asp?id=1
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)
next
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?




Wayne
www.WorldFamousGiftBaskets.net

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
0 Item(s)
$0.00