• alexene22

    (@alexene22)


    Hello,
    I created a CPT and a FORM to display it. After submitting the FORM on the front-end, a html updated_message is displayed (edited in ACF > Forms > Submission)
    How can I use dynamic info like custom post fields in this message?
    In AF Forms I can use {field:field_name} tags.
    Is there a way to do this with this plugin?
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello!

    Oh yeah, I like that feature request! I will definitely add it in the next iteration! Meanwhile, if you would like to set a custom update message, you can do it in PHP using a little workaround.

    Just empty the updated message in the ACFE Form settings, and check $_POST['_acf_form'] to write your message on the success page.

    Example:

    
    if(isset($_POST['_acf_form']) && !empty($_POST['_acf_form'])){
        echo 'Success!';
    }
    

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello alexene22,

    Just to let you know that the latest ACF Extended 0.8.3 Update added this feature ??

    Have a nice day!

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post fields in the updated_message after submit’ is closed to new replies.