chained drop down menu using either php or javascript?

skateman07054

New member
I am trying to create 2 different webpages with a question on each web page and a drop down menu where you can select how many points you want to use. What I need help with is when you answer the first question and select the number of points you want to use and click next question on the second webpage I don’t want the point value selected from the first page to be showed on the second page OR have an error message stating that you can only select that point value once...

Here is an example if you are confused

I have 2 web pages that are linked with a submit button. They are called question1.html and question2.html

Question1.html has a drop down menu that has the values 1, 2, 3 or 4 points. If I select 4 points and hit the submit button it should then go to question2.html. Which has another dropdown menu which should only show 1, 2, or 3 and NOT 4 since that point value has already been selected and can only be selected once..... OR have the second dropdown box say 1, 2 3, 4 but if 4 is selected an error pops up "sorry you need to select a different number of points...

I am guess you would need a server side lauguage to do this if you can give me as much help as possible I would be very greatful!! Thank you!!

PS. please keep in mind that this is for two different web pages. I know how to do it on one single page
 
Back
Top