Home Forums General Issues Submission with Realia template ( twig )


Submission with Realia template ( twig )

  • Hi !

    I’m working with a based on twig template called Realia. This template allow user to add custom post type as property by a front end submission form.

    According to this post I add my post in my properties display and in my front end submission. However, I don’t know how to save the value of my front end field. My property page get the value but for the moment the value can only be set in back end.

    I found this documentation but it add only a button under the field which even don’t work.

    My wish is to add the update fonction to the submit button already create but it is in Twig and I have no idea of how can I do this…

    Button code

    <div class="form-actions">
                {% set value = wp.__('Save', 'aviators') %}
                <input type="submit" class="btn btn-primary" value="{{ value }}">

    Someone can help me ?
    Thank in advance

  • I’m assuming that what you posted is some type of twig code. I don’t think that there is any way to save ACF fields using that form and ACF will not be able to save value for twig using acf_form.

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

You must be logged in to reply to this topic.