Return data based on user selection without database

B

bryanilton

Hi, I really hope one of you gurus can help me out here.

I need to create a webform that has two drop-down boxes and allows a
user to select a harddrive manufacturer and another for a harddrive
capacity and then spit out a price.

I don't have access to a database or server side scripting and cannot
link to an outside source. (The file will reside on a public folder on
the company network).

I'm pretty sure javascript is my best solution here but I could be
completely wrong here. If anyone could help me out here, I'd greatly
appreciate it.
 
R

RobG

Hi, I really hope one of you gurus can help me out here.

I need to create a webform that has two drop-down boxes and allows a
user to select a harddrive manufacturer and another for a harddrive
capacity and then spit out a price.

I don't have access to a database or server side scripting and cannot
link to an outside source. (The file will reside on a public folder on
the company network).

I'm pretty sure javascript is my best solution here but I could be
completely wrong here. If anyone could help me out here, I'd greatly
appreciate it.

This is asked so often...

By far the best method is a table with the manufacturer, then all the
drive capacities and prices listed with a checkbox to select one (make
them radios if only one can be selected). Doing this in JavaScript just
creates inconvenience and issues:

- Users can only see the drives from one manufacturer at a time
- Whenever they change manufacturers, the list of drives changes so
comparisons are difficult
- Whenever they change manufacturers, the price disappears too so
comparisons are difficult
- If JavaScript is disabled, the whole thing falls apart
- Users have to select things in the right order
- Users have to drop-down the lists to see the content, they can't just
look at the page
- Users can't just print a page of makers, capacities & prices
- Well structured HTML is just as easy to edit as JavaScript arrays or
objects that would be used for the data.
- etc.

But anyhow, find out first hand, here's a link:

<URL:http://www.mattkruse.com/javascript/dynamicoptionlist/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top