Support

Account

Home Forums ACF PRO ACF in jQuery function Reply To: ACF in jQuery function

  • As I said, the ACF JS API cannot be used for displaying data. The input field must be on the page, which it is not on the front of the site unless this is an ACF form.

    I don’t know how else to explain this. ACF JS functions are for making changes in the admin or when editing content, not for displaying content.

    Where you are doing this var field = acf.getField('fork_model'); you need to make an AJAX request to the server to get the data.