At 12:08 PM -0400 5/29/10, Alice Wei wrote:

At the time of writing this, I got all the functionality I wanted, only that it takes 3 submits, which is 4 pages in total, which includes two dependent select menus based on user input by clicking on the radio button and some other static drop downs and text inputs.

I am not sure if it is possible to cut it down two only two submits, I just went online and found this, If I could change this function to using the radio button, and process the other searching for the dependent drop downs using case statements with PHP , do you think this is a good idea?

Anyway, I found this method is kind of ugly for the time being, but less daunting with what I was doing before. Thanks.



The example you provided above is very basic and I think what you want is far more complex.

I realize that it's hard to convey what it is that you actually want because you don't know all that can be done -- and the number of possibilities of how to organize controls is far too vast for me to guess.

For example, here's another example of what can be done:

But I know this doesn't fully solve your problem but it comes closer than the example you provided above.

Sometimes it's best to "story-board" what you want so that both you and to whom you're asking questions can have a better idea of the problem.

For example, let's say you want to gather data from a user -- in option A, the user is asked Y/N. If the user answers N, then the user is sent to option B. If the user answers Y, then the user is sent to option C. In option B the user is presented with... and Option C the user is presented with... and so on. -- I'm sure you get the idea.

So, if you want to continue with this, please prepare a "story-board" and present your problem again.




PHP General Mailing List (
To unsubscribe, visit:

Reply via email to