Home Forums Front-end Issues My own Form, how to populate ACF?


My own Form, how to populate ACF?

  • Hi, great plugin, really nice work!

    I’m building my own Form and when I post it how can I handle the information to populate ACF?

    Is it possible or only displaying by its function?

    Let’s be more objective:

    FORM Front End:
    <form action=”post-custom-type.php” >
    <input type=”text” name=”post-title” />
    <input type=”text” name=”post-description” />
    <input type=”text” name=”post-question” /> <!– This is a ACF Field –>

    How can I post it to database please?

    Thanks a lot, I’ve run through all the forum and I couldn’t find a solution.

    • Elliot

    • February 5, 2014 at 9:44 am

    Hi @zarausto

    To insert a value into the db, please use the update_field function. You can read about it here:

    Please note that this is a PHP function, so your form must submit and then allow PHP to interact with eh $_POST data


  • Thanks a lot! Surely solve my problems.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.