dropdown list dependent on previous selection
Moderators: Developer, Contributor
dropdown list dependent on previous selection
We have multiple locations in several states where users can report issues. Due to the nature of the reported issues, it's important many times to know where the issue has occurred. I'd like to create 2 dropdown fields, the first containing the names of the States where we have locations, and the second that would show the locations within that State. Therefore, the available choices in the second dropdown would change, depending on the selection made in the first dropdown. Is this possible, and if so, how would I accomplish it?
Mike Zenns
Mantis Administrator
v. 1.0.8
Ubuntu 8.04 server
Mantis Administrator
v. 1.0.8
Ubuntu 8.04 server
Re: dropdown list dependent on previous selection
Check this out:
http://www.huanix.com/2006/12/25/dynami ... avascript/
Always check your friend first, that is what i did: google
http://www.huanix.com/2006/12/25/dynami ... avascript/
Always check your friend first, that is what i did: google
Re: dropdown list dependent on previous selection
That looks like exactly what I need. Any idea which file to add the code to? I'm running v1.0.8.
Mike Zenns
Mantis Administrator
v. 1.0.8
Ubuntu 8.04 server
Mantis Administrator
v. 1.0.8
Ubuntu 8.04 server
Re: dropdown list dependent on previous selection
First of all, upgrade to the latest version which allows for plugins.mzenns wrote:That looks like exactly what I need. Any idea which file to add the code to? I'm running v1.0.8.
If you want top stick to current version, look at bug_report & bug_update scripts.
You may be able to accomodate this with a plugin in combination with additional fields. Do not think custom fields is a solution here.