Thank you, John. I’ve used your code and the duplication is no longer happening. However, I think that on this occasion the solution was to prevent it loading twice in the front and admin as described in this post: https://support.advancedcustomfields.com/forums/topic/acf_form-always-creates-two-posts/#post-53099
Thanks again