Support

Account

Home Forums Backend Issues (wp-admin) Filter Select Field Choices based on Option selected in another Select Field

Unread

Filter Select Field Choices based on Option selected in another Select Field

  • To be specific:

    – I have a CPT called ‘Exercises’. These have a ‘Muscle Group’ Taxonomy.
    – I have another CPT called ‘Workout Plan’. This includes a Select Field for Muscle Group (the options being the ‘Muscle Group’ Taxonomies), and a Select Field for ‘Exercises’.
    – I would like the Select Field Options for ‘Exercises’ to be filtered based on the value chosen in the ‘Muscle Group’ Select Field. For example, if ‘Legs’ is the chosen Muscle Group, then only Exercises with the Taxonomy of ‘Legs’ will be shown in the ‘Exercises’ Select Field.

    I am fairly new to PHP, so really appreciate any pointers.

    Thanks in advance.

Viewing 1 post (of 1 total)

The topic ‘Filter Select Field Choices based on Option selected in another Select Field’ is closed to new replies.