Ask a Question related to ASP Database, Design and Development.
-
For example John Smith #1
Populating several combo boxes
I have a form that will have a combo box repeated several times (continuous
form, one for each record), it's going to cause a problem if each has to
have it's own set of [option value=] lists against it as there may be
several hundred combo boxes and several hundred items in the dropdown list
for each.
Is it possible to have this list of items stored somewhere and each instance
of the combo will use that as a data source, e.g. instead of:
('scuse sqaure bracket useage, don't want to mess up any html enabled
reader)
[select name=combo1]
[option value=1]hello[/option]
[option value=2]world[/option]
[/select]
we would like to have something like:
MylistOfValuesHere
1,Hello
2,World
[select name=combo1]
get options from MyListOfValues above
[/select]
Would this be possible, perhaps embedding XML?
For example John Smith Guest
-
Need help with xml and combo boxes
Basically what im doing is a ui for a electronic book. The book is broken into 3 parts and each part has its own set of chapters. My xml schema... -
Populating Combo Box from MySQL via PHP
I would like load values from mySQL to select from in a combo box. I would love to do this the most simple way w/o php, but that is the language I... -
Combo boxes
I have a combo box on one form with has a row source of 2 fields, an item number and item name. I item number width is 0 so it only displays the... -
Populating Drop Down Boxes from a database
We moved our wesite from a Box running Coldfusion 4.0 to a box running Coldfusion MX. We populate some drop down boxes with information from a... -
Populating three list boxes from the database
Can anybody help? I need to have three list boxes automatically populating each other, (ie when region is selected from the first listbox, it will... -
Tim Williams #2
Re: Populating several combo boxes
If you have a known browser platform (eg >IE4 and >=NS6) and can rely on js
being enabled then you might consider putting the select in a popup.
You could then populate it either from a separate asp page or embed the
values in a javascript array on the main page. Then istaed of having a
select on each row you'd have a text box and/or hidden field if you want to
display the text but submit the value.
Tim.
"For example John Smith" <someone@microsoft.com> wrote in message
news:3f044548$0$13005$afc38c87@news.easynet.co.uk. ..(continuous> I have a form that will have a combo box repeated several timesinstance> form, one for each record), it's going to cause a problem if each has to
> have it's own set of [option value=] lists against it as there may be
> several hundred combo boxes and several hundred items in the dropdown list
> for each.
>
> Is it possible to have this list of items stored somewhere and each> of the combo will use that as a data source, e.g. instead of:
>
> ('scuse sqaure bracket useage, don't want to mess up any html enabled
> reader)
>
> [select name=combo1]
> [option value=1]hello[/option]
> [option value=2]world[/option]
> [/select]
> we would like to have something like:
>
> MylistOfValuesHere
> 1,Hello
> 2,World
>
> [select name=combo1]
> get options from MyListOfValues above
> [/select]
>
> Would this be possible, perhaps embedding XML?
>
>
Tim Williams Guest
-
Sergio Orrego #3
Re: Populating several combo boxes
**** Post for FREE via your newsreader at post.usenet.com ****
Incidentally, how do you populate fields in a form from another asp page?
any code guidance appreciated.
Cheers.
Sergio.
"Tim Williams" <saxifrax@pacbellremovethis.net> wrote in message
news:evwwYzXQDHA.1560@TK2MSFTNGP12.phx.gbl...js> If you have a known browser platform (eg >IE4 and >=NS6) and can rely onto> being enabled then you might consider putting the select in a popup.
> You could then populate it either from a separate asp page or embed the
> values in a javascript array on the main page. Then istaed of having a
> select on each row you'd have a text box and/or hidden field if you wantlist> display the text but submit the value.
>
> Tim.
>
>
>
> "For example John Smith" <someone@microsoft.com> wrote in message
> news:3f044548$0$13005$afc38c87@news.easynet.co.uk. ..> (continuous> > I have a form that will have a combo box repeated several times> > form, one for each record), it's going to cause a problem if each has to
> > have it's own set of [option value=] lists against it as there may be
> > several hundred combo boxes and several hundred items in the dropdown> instance> > for each.
> >
> > Is it possible to have this list of items stored somewhere and each>> > of the combo will use that as a data source, e.g. instead of:
> >
> > ('scuse sqaure bracket useage, don't want to mess up any html enabled
> > reader)
> >
> > [select name=combo1]
> > [option value=1]hello[/option]
> > [option value=2]world[/option]
> > [/select]
> > we would like to have something like:
> >
> > MylistOfValuesHere
> > 1,Hello
> > 2,World
> >
> > [select name=combo1]
> > get options from MyListOfValues above
> > [/select]
> >
> > Would this be possible, perhaps embedding XML?
> >
> >
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
[url]http://www.usenet.com[/url]
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Sergio Orrego Guest
-
Tim Williams #4
Re: Populating several combo boxes
Try Remote Scripting
tim
"Sergio Orrego" <sergio@stressedmonkey.net-nospam> wrote in message
news:3f04bc7f$1@post.usenet.com...to> **** Post for FREE via your newsreader at post.usenet.com ****
>
> Incidentally, how do you populate fields in a form from another asp page?
> any code guidance appreciated.
>
> Cheers.
>
> Sergio.
>
> "Tim Williams" <saxifrax@pacbellremovethis.net> wrote in message
> news:evwwYzXQDHA.1560@TK2MSFTNGP12.phx.gbl...> js> > If you have a known browser platform (eg >IE4 and >=NS6) and can rely on> to> > being enabled then you might consider putting the select in a popup.
> > You could then populate it either from a separate asp page or embed the
> > values in a javascript array on the main page. Then istaed of having a
> > select on each row you'd have a text box and/or hidden field if you want> > display the text but submit the value.
> >
> > Tim.
> >
> >
> >
> > "For example John Smith" <someone@microsoft.com> wrote in message
> > news:3f044548$0$13005$afc38c87@news.easynet.co.uk. ..> > (continuous> > > I have a form that will have a combo box repeated several times> > > form, one for each record), it's going to cause a problem if each has> list> > > have it's own set of [option value=] lists against it as there may be
> > > several hundred combo boxes and several hundred items in the dropdown>> > instance> > > for each.
> > >
> > > Is it possible to have this list of items stored somewhere and each> >> > > of the combo will use that as a data source, e.g. instead of:
> > >
> > > ('scuse sqaure bracket useage, don't want to mess up any html enabled
> > > reader)
> > >
> > > [select name=combo1]
> > > [option value=1]hello[/option]
> > > [option value=2]world[/option]
> > > [/select]
> > > we would like to have something like:
> > >
> > > MylistOfValuesHere
> > > 1,Hello
> > > 2,World
> > >
> > > [select name=combo1]
> > > get options from MyListOfValues above
> > > [/select]
> > >
> > > Would this be possible, perhaps embedding XML?
> > >
> > >
> >
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
> [url]http://www.usenet.com[/url]
> Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Tim Williams Guest



Reply With Quote

