Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Lists and HTML
  
User name:
Password:
Reply:
 

UserPost
Malow
Posts: 17/25
Woohoo! I found it...

It's god damn easy :/

lets say that you have your multiple list and that you sleect many choices. It will, like XXXkeeper said, do something like

/webpage.asp?name=opt1&name=opt3&name=opt8

Then, to use it with asp and an Access Database (that's what I wanted to do) you SIMPLY hav eto do that for the SQL query:

SQLStatement = "SELECT " & Request.QueryString("name") & " FROM Table"


I hate when it's so easy that nobody knows how to use it
Xkeeper
Posts: -3410/-863
I made a form using that exact thing and method GET so I wouldn't hve to code output.

Get returns this in the bar:

/form.html?selectform=opt4&selectform=opt6

So it might not be so hard, depending on wether or not you can handle that :p
neotransotaku
Posts: 1247/4016
why don't you look at the source code for some forms you find on the internet. There's got to be at least one form that has a list. Maybe you can investigate the forms at Yahoo!
Malow
Posts: 16/25
Late answer, sorry, I was in vacation lol

Well I found how to do that kind of list, it really wasn't hard...

But the main problem is what neotransotaku said: How to use that in a form

If anyone has any idea, please help me! I'll continue my researches on the web...
neotransotaku
Posts: 1198/4016
oh that list...then, the next question would be, how to use that in a form...
FreeDOS
Posts: 627/1657


The source:
<select size="10" multiple="1">
<option value="opt1" selected="selected">You want a list</option>
<option value="opt2">list like this, eh?</option>
<option value="opt3">It's quite simple,</option>
<option value="opt4">actually.</option>
<option value="opt5">(First and last are</option>
<option value="opt6">selected by default</option>
<option value="opt7" selected="seleted">for an example...)</option>
</select>

The real hard part is typing ... x_X

Oh, and for using the selected options ... I don't know how to do that in ASP, sorry.
neotransotaku
Posts: 1196/4016
you can try playing around with javascripting or DHTML. Try looking on the internet for stuff about dynamically manipulating DOM (Document Object Model).
Malow
Posts: 15/25
Hi!

I need to put in a web page a list. You know, the kind of list where you can, while holding shift or ctrl, select multiple choices? Well I want to do that. But I looked for it and it looks like it does not exist in html. Or am I wrong? I woudl like to know

And also, I'm stuck to work with ASP, but is it possible to make that list in ASP ?
Acmlm's Board - I2 Archive - Programming - Lists and HTML


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.020 seconds.