Home › Forums › ACF PRO › Can\'t get the name value to use $_POST › Reply To: Can\'t get the name value to use $_POST
Is the code you posted the exact code you’re using? If it is then you have a typo in your field name
<?php
$Firstname = $_POST['acf']['field_5968834df2ac1'];
echo 'data' . $Firsname; // this is different than the line above.
?>
When are you attempting to get these values and save them? Is it in an acf/save_post action? https://www.advancedcustomfields.com/resources/acf-save_post/
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.