John Huebner,
i am trying to modify your code to support repeater field.
I want the City Field(Poikilia in my project) and the State Field(Kalliergeia in my project) to be into repeater(name = kalliergeies, key=field_5b5e20cb6334a).
My problem is when i am trying to put the have_rows functions into my .php file all the code freeze and i get Error 500.
When i put the have_rows into functions.php i have not problem.
if (have_rows(‘kalliergeies’)){
debug_to_console(‘Have rows’); // Printn to console
}
why?
https://pastebin.com/tvk069Ld
I do it ,but it doesnt work.
Anybody who can upload the .php and .js files to compare them with mine?
joshua-stewart,
I am trying your fix but i get an error “Uncaught SyntaxError: Unexpected token ;” on “key_name: acf_field.val();”
Here is my .php https://pastebin.com/kYRpCreY
Here is my .js https://pastebin.com/ABFTEzL4
My files is the examples from John Huebner with your fix.