Home Forums Backend Issues (wp-admin) Change select choices based on user input


Change select choices based on user input

  • Hi,

    I would like to add values to a select field based on costumer input.

    e.g. I have a list of “topics”. If the user want’s to select a topic not available in the list, he doesn’t select anything and add a value to a custom text field called “topics_other”

    In the future, this value added to topics_other should be available in the “topics” dropdown list.

    Is this possible without querying the database?

    Thanks a lot for your help

    Best regards

  • Hi @elythria

    Thank you for the question.

    I believe you can make use of the acf/load_field filter to change the choices shown on the select field.

    Please checkout the following tutorial on this here:

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Change select choices based on user input’ is closed to new replies.