Support

Account

Home Forums Front-end Issues Reinitialize JS ACF Object Reply To: Reinitialize JS ACF Object

  • I think one issue might be that there are multiple forms on the same page. What I ended up doing was simply setting the values manually whenever the modal opens:

    acf.set( 'post_id', formContent.find( '#_acf_post_id' ) );
    acf.set( 'screen', 'acf_form' );
    acf.set( 'validate', true );