Support

Account

Home Forums Backend Issues (wp-admin) Load dynamically fields on select change Reply To: Load dynamically fields on select change

  • Hi @jepser

    You can view the console log to see if your cpt_template data is being sent in the AJAX request.

    There are 3 parts to the PHP code. You have shown the first; adding the rule choice, but have you added the code to select a rule value? And have you written the logic to do the comparing and return true / false?

    All is explained in this tutorial:
    http://www.advancedcustomfields.com/resources/tutorials/custom-location-rules/

    Thanks
    E