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.
Combobox Help!
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Combobox Help!
So you are wanting to set the value of a combobox based on an option from the previous page's form?
The indelible lord of tl;dr
- vitinho444
- Posts: 2819
- Joined: Mon Mar 21, 2011 4:54 pm
Re: Combobox Help!
I think you need a javascript function, so you put the onchange event on the combo box and it changes the other.
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Combobox Help!
You could use PHP but will need to refresh the page once the first dropbox is selected.
-
- Posts: 73
- Joined: Tue Feb 15, 2011 3:14 pm
Re: Combobox Help!
Well, got every thing working.
Damn character selection is being a bit annoying though.
Damn character selection is being a bit annoying though.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Combobox Help!
Yep, that is what I was getting at: PHP or Javascript situation? lolhallsofvallhalla wrote:You could use PHP but will need to refresh the page once the first dropbox is selected.
The indelible lord of tl;dr