Passing Value with Select Statement.

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/65600?pagenum=1
05 November 2025, 10:54

Topic


JJenson
Passing Value with Select Statement.
16 September 2007, 13:44


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<

 

Replies ...


phy1729
16 September 2007, 21:53


<select name=""F_ISFREE"" size=""4"">" & vbNewLine & _
I believe would solve it.<
JJenson
16 September 2007, 23:04


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<
JJenson
17 September 2007, 20:50


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<
© 2000-2021 Snitz™ Communications