Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter caiovisk

    (@caiovisk)

    Hi Mate,

    Thanks for the quick reply…

    I’ve used the ‘af/form/page_changed’ approach and it works! howerver would be good to give the user an option to manage this on the backend, other than that the plugin is great! Thank you!

    So I ended up doing:

    //Listen to page changes
    acf.addAction( 'af/form/page_changed', function( pageTo, pageFrom, form ) {
      switch(pageTo){
       case 2:
         //My condition logic
         break;
      }
    });  
Viewing 1 replies (of 1 total)