Home › Forums › Front-end Issues › Frontend Form Upload- and Link Field not working › Reply To: Frontend Form Upload- and Link Field not working
I found the way to fix the file field: The form html in the bootstrap modal is set from an Ajax request. At acf_form() I found the hint, that acf.do_action('append', $('#popup-id'));
must be called after an Ajax request.
With this function call in the event-listener shown.bs.modal
deleting/replacing of the file works.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.