/    Sign up×
Community /Pin to ProfileBookmark

List Narrower Script

Hi,

i’m looking for a script of somekind that would allow me to take one list of choices and depending upon any number of combinations chosen from multiple drop down menus, the choices would be narrowed to fit only those features chosen in the menus.

I.E. If you had a list of animals, of all varities, to be adopted, and drop down menus specifying differenct characteristics you want in a pet, “Species” – “Color” – “Size” – “Appetite” – “Life Expectancy” – Etc. Depending upon the chosen items in some or all of the menus you would narrow the list down to only the ones that fit all of the characteristics.

I can’t do a “Dropdown Box Population”

[URL=http://javascript.internet.com/forms/dropdown-box-population.html]See Here[/URL]
as one menu can’t depend on the other and not all may be selected. I.E. In the above example, you may not choose a species if you don’t care whether it is a dog or cat.

Also there may be as many as 10-15 characteristics and 100 or more items to match up. So I don’t want anything where I’d have to figure out all the possible combinations myself. I assume this means some type of Database integration.

Thanks for any help/direction you can give.

-xip

to post a comment
Full-stack Developer

2 Comments(s)

Copy linkTweet thisAlerts:
@xiplokauthorJun 22.2004 — No takers, eh? Well I thought I'd give it at least one good bump and give y'all another chance.

Thanks,

-xip
Copy linkTweet thisAlerts:
@ray326Jun 22.2004 — Maybe you didn't get a reply because it's really a pretty trivial problem if you back-end it with a SQL database and generate the list along with the rest of the page. Also, most folks don't do things "from scratch" here; they expect you to give it a try then ask for specific help.

As I said, the mechanics are simple; one table for each of the characteristics, one drop-down for each of those tables and one data table with keys matched to all the characteristics tables. Unfortunately you DO have to "figure out all the combinations" in order to populate the data table.
×

Success!

Help @xiplok spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...