Support

Account

Home Forums Add-ons Repeater Field Linking repeater with another post Reply To: Linking repeater with another post

  • Hi @tarun5585

    Thanks for the info.
    The above is quite complicated and you will have to code this by hand.

    It is possible to hook in and modify a select field’s choices. This means you CAN modify the ‘cat’ sub field to reflect all the categories added on the chosen hotel.

    Please look into the acf/load_field filter (see docs) to learn how this is possible. There is also a tutorial (on the docs) that explains how to modify a select field’s choices.

    If you want, you can take it a step further and write some jQuery that listens to a change on the hotel select, and then updates the sub fields via AJAX.

    I won’t be able to provide any code / help with the above as it is far to custom for this free support forum.

    Good luck with the docs,

    Thanks
    E