Support

Account

Home Forums Backend Issues (wp-admin) gravity forms post creation + afc

Solving

gravity forms post creation + afc

  • Trying to use Gravity Forms Advanced Post Creation add-on to create a front end content submission form.

    Most everything works well — have been able to map fields in gravity into my ACF fields.

    Exception is the rich text editor, as all line breaks are wiped out in the process, making that unusable for editorial content.

    The Gravity folks have a tutorial, but the example doesn’t apply, so I’m hoping someone can point me in the right direction as to how to write a filter that will preserve line breaks from Gravity’s rich text editor into the ACF wysiwyg field.

    https://docs.gravityforms.com/gform_advancedpostcreation_post_after_creation/

  • @peteratomic
    Could you please tell me/us how did you map fields in gravity into ACF fields?

    Thank you so much!

  • The tutorial linked to is for standard WP custom fields.

    For ACF fields you would use acf function and field keys to update values.

    update_field('field_XXXXX', $value, $post_id);

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

You must be logged in to reply to this topic.