> Date: Sun, 30 May 2010 11:53:44 -0400
> To: php-general@lists.php.net; aj...@alumni.iu.edu
> From: tedd.sperl...@gmail.com
> Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different    
> Forms
> 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, 
> >http://www.w3schools.com/dhtml/tryit.asp?filename=trydhtml_event_onchange. 
> >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.
> >
> >Alice
> Alice:
> 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:
> http://www.webbytedd.com/a/ajax-select/index.php
> 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.
> Cheers,
> tedd
> -- 


  Looks like I finally found the answer to my question, and the key is the 
term, dependent drop down menu. There is an example that I found here, 
http://www.huanix.com/files/dependent_select/dependent_select.txt, and after 
editing everything, looks like what I want is not so far to reach. As I am 
writing now, I got the code I desired to work after studying what went on in 
the code from the above link. 

Thanks for your help, and looks like I solved the problem, I may be able to 
close the thread now. 


> -------
> http://sperling.com  http://ancientstones.com  http://earthstones.com
Hotmail is redefining busy with tools for the New Busy. Get more from your 

Reply via email to