Thank for your reply, that’s actually what I imagined.
Another solution could be changing the meta info and the filename just when saving the post. I guess in that case it could be possible to retrieve the field id, isn’t it?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users