Home › Forums › Front-end Issues › Front End Form Submitting – Not Working Correctly › Reply To: Front End Form Submitting – Not Working Correctly
Indeed I do. After I submit the form, the screen I posted above is the one I get. Here is the code I use:
<?php
/**
* Template Name: Home Page
*
*/
acf_form_head();
get_header(); ?>
<?php
acf_form(array(
'post_id' => 'new_post',
'post_title' => true,
'new_post' => array(
'post_type' => 'nf_slider',
'post_status' => 'draft'
),
'submit_value' => 'Create Slider'
));
?>
<?php get_footer(); ?>
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.