I'm trying to design a form that creates a post, with the help of Advanced Custom Fields (ACF).
The post has a custom post type of 'movie' and has custom fields of type 'relationship' that link to other posts of type 'genre'.
I use this code for the form
<?php acf_form_head(); ?> <?php acf_form(array( 'post_id' => 'new_post', 'post_title' => true, 'new_post' => array( 'post_type' => 'movie', 'post_status' => 'publish' ), 'submit_value' => 'Create a new movie' )); ?>
which makes a form like this
but 'the Movie Genre' field isn't working, Thanks in advance for your time any help or suggestions are much appreciated.