Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8947319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:43:44+00:00 2026-06-15T12:43:44+00:00

I have a user form that has dropdown boxes which i have populated using

  • 0

I have a user form that has dropdown boxes which i have populated using wp_dropdown_categories

Code:

<p class="optional"><label for="job_term_area"><?php _e('Job Area', 'appthemes'); ?>
</label> <?php
            $sel = 0;
            if (isset($posted['job_term_area']) &&
 $posted['job_term_area']>0) $sel = $posted['job_term_area']; 
            $args = array(

                'orderby'            => 'name', 
                'order'              => 'ASC',
                'name'               => 'job_term_area',
                'hierarchical'       => 1, 
                'echo'               => 0,
                'class'              => 'job_area',
                'selected'           => $sel,
                'taxonomy'           => 'job_area',
                'hide_empty'         => false
            );
            $dropdown = wp_dropdown_categories( $args );

            $dropdown = str_replace('class=\'job_area\' 
   >','class=\'job_area\' ><option value="">'.__('Select an Area&hellip;', 
  'appthemes').'</option>', $dropdown);
            echo $dropdown; ?> </p>

As you can see i have setup a taxonomy called job area and have added areas by adding them as categories.

enter image description here

I would like to filter this list based on another dropdown list so you would have :

Select Country = England (parent)
-buckinghamshire(child)
-bedforshire(child)

And then all counties list is populated in dropdown.

I was thinking of using parent – child in the taxonomy.

The issue is how to get the second dropdown to update – I’m familiar with jquery but Im stuck on the best method to achieve this…?

Any guidance will be appreciated…

I hope this makes sense its been a long day…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T12:43:45+00:00Added an answer on June 15, 2026 at 12:43 pm

    There are numerous plugins with AJAX integration that simplify doing this from scratch. A web search for “jquery cascade select” has numerous results

    Here are a few examples:

    http://www.prodiven.com/jcombo/

    http://code.google.com/p/jquery-cascade/

    https://github.com/jadb/jquery-cascade

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a search form built in ASP.NET that has a dropdown list which
I have a form that has a dropdown menu i need the user to
i have a form that has a multiple select drop down. a user can
I have a login form that has Username and password as inputs from user
I currently have form that checks if a user has unsubmitted changes when they
I have a form, that has about 10 text entries (user, address, email etc;)
I have a form with set of dropdown fields, each of which has a
I have a form on a website that has a dropdown box and instead
I have an Excel2010 VBA userform that has one comboBox, from which the user
Using C#, say you have a ComboBox that has a DropDownStyle set to DropDown

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.