Page 1 of 1

Combobox Help!

Posted: Tue Mar 26, 2013 10:42 pm
by greasontim
So what I'm trying to do is auto-fill a combo box based on what you have selected in the first dropbox.
I'm using PHP to create my game so ya....

I have no idea where to begin to even try doing this.

Re: Combobox Help!

Posted: Wed Mar 27, 2013 3:35 am
by Jackolantern
So you are wanting to set the value of a combobox based on an option from the previous page's form?

Re: Combobox Help!

Posted: Wed Mar 27, 2013 1:20 pm
by vitinho444
I think you need a javascript function, so you put the onchange event on the combo box and it changes the other.

Re: Combobox Help!

Posted: Wed Mar 27, 2013 1:28 pm
by hallsofvallhalla
You could use PHP but will need to refresh the page once the first dropbox is selected.

Re: Combobox Help!

Posted: Wed Mar 27, 2013 2:48 pm
by greasontim
Well, got every thing working.
Damn character selection is being a bit annoying though.

Re: Combobox Help!

Posted: Wed Mar 27, 2013 11:09 pm
by Jackolantern
hallsofvallhalla wrote:You could use PHP but will need to refresh the page once the first dropbox is selected.
Yep, that is what I was getting at: PHP or Javascript situation? lol