Passing Value with Select Statement. - Postet den (977 Views)
Advanced Member
JJenson
Innlegg: 2121
2121
I have this piece of code:

Code:

"                       <select name=""FISFREE"" size=""4"">" & vbNewLine & _
" <option value=""0"">Pay To Download</option>" & vbNewLine & _
" <option value=""1"">Free Download</option>" & vbNewLine

Response.Write " </select>" & vbNewLine & _

I am trying to pass a value to the database into the column F_ISFREE

But everytime I upload it passes the 0 value instead of 1 when the 1 is selected.
Hope this makes sense I am trying to pass the second value to the database cause it always passes the 0<
   
 Sidestørrelse 
Postet den
Average Member
phy1729
Innlegg: 589
589
<select name=""F_ISFREE"" size=""4"">" & vbNewLine & _
I believe would solve it.<
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
Thanks solved this as well I ended up switching to radio buttons calling it the same way then I found there was a second file I had to edit to pass the values. blush I need to keep searching harder and harder.bigsmile<
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
Thanks image actually I have this passing correctly I just had to change values in uploadengine.asp to coincide with the radio buttons. Thanks All bigsmile<
 
Du må legge inn en melding