Support

Account

Home Forums ACF PRO Make one field dependent on another

Unread

Make one field dependent on another

  • Hey,

    I have a request that I’ve seen a few others ask here before, but I wasn’t able to implement it to my needs.

    I have a client that sells books, and each book has chapters that are saved as a repeater inside a book.

    Now, there are also exercises that are related to specific chapters in a specific book.

    Now, what I need is to load the chapters in a select field, based on what the book selection was.

    I’m already able to access the repeater of a specific book and load them on a select field via PHP like this example – https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/

    But, I still need to get the selected book ID via AJAX, or have another solution.

    Help would be extremely appreciated here, as my client needs this website running soon. Thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.