Sorry yes a bit confusing as I just dropped the tasks form where it didn’t belong.
#huub_tasks_form
is the modal DIV wrapper (as Elliot suggests in his answer), not the actual ID of the form. I have tried different IDs as well and no luck 🙁
Really stuck here, because everything was working before the rewrite of the JS API. It’s as if acf.do_action('append', $('#popup_id'));
isn’t loading something that was loading before? Don’t know 🙁
As I mentioned, EVERYTHING JS related in the form works, except for the AJAX validation.