Enqueueing of scripts and styles happens when a form is rendered which will be problematic when rendering a form via AJAX. In such a scenario, it is necessary to call the af_enqueue() PHP function as the request renders.
You could call this from within a callback hooked to the wp_enqueue_scripts hook or from within a template.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article