programming question

S

snogrocker

I want to create an easy guide for my visitors to help
them quickly select the right product based on their
unique requirements. To do this I have two questions they
must answer, the answers to which will determine my
product recommendation. I want a visiter to select an
item (answer to a question of which I will supply three
answers, they select one) from each of two tables and
based on the their selections, a 'result' or our
recommendation will appear on the bottom of the page
possibly in table #3.

What I'm thinking is that on this page there will be two
tables. Table #1 will have three choices with checkboxes
next to them. The choices are #1, #2 and #3. A visitor
can only select one from this table.

Table two will have the second question with three
different answers to choose from, #4, #5 and #6. Visitors
can only select one from this table as well. When a
visitor makes selections from both tables, I want a result
will appear in a third table based on their answers.
Example, visitor selects choices answer #1 (from table 1)
and answer #4 (table 2). I want item #A to appear based
on the visitor's selection of 1,4. If they select 1,5 the
answer would be item #B and so forth.

Where would I read about how to accomplish this?
 
M

MD WebsUnlimited.com

Hi Snogrocker,

Do you have JavaScript programming skills? If not the I would doubt if
you'll find a specific example to accomplish this.

To begin with I would not use check boxes if the user can only select one of
the three answers. Use radio / option buttons instead.

I had some time on my hands so I created a sample page at
http://www.websunlimited.com/samples/questionanswer.htm.

Enjoy.
 

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

Top