if can help, this is the error code that generates on the fron-end
Uncaught Error: Syntax error, unrecognized expression: .acf-field[data-key=”function (){var d=[];
for(var b=0,a=this.length;b<a;b++){var c=typeOf(this[b]);if(c==”null”){continue;}d=d.concat((c==”array”||c==”collection”||c==”arguments”||instanceOf(this[b],Array))?Array.flatten(this[b]):this[b]);
}return d;}”] jquery.js?ver=1.11.1:2fb.error jquery.js?ver=1.11.1:2fb.tokenize jquery.js?ver=1.11.1:2fb jquery.js?ver=1.11.1:2m.fn.extend.find jquery.js?ver=1.11.1:2acf.get_fields input.min.js?ver=5.1.1:1acf.conditional_logic.acf.model.extend.change input.min.js?ver=5.1.1:1(anonymous function) input.min.js?ver=5.1.1:1m.event.dispatch jquery.js?ver=1.11.1:3r.handle
Hello guys
This question is interesting
I’m having a trouble with acf_form since I updated to version 5.1.1 acf pro.
(I state that in the version of acf 4 everything worked great)
The conditional logic on the front end does not work
It seems that the problem can be solved by using the code mentioned by e-crespo,
since my theme uses ajax to create everything.
Elliot I hope you will help us to better understand the usage of this code.
Thank you for what you do