CS Forms ACF Post Update Action

Hi,

I am building a form in CS Forms and am having difficulty with an ACF Post Update action in my Action Group. My set-up is like this:

  • Email Action
  • Post Create
  • ACF Post Field Update
  • Redirect

Steps 1 and 2 work fine. Step 3 (updating ACF) fails, which in turn fails the redirect. I am pretty sure it is to do with the ACF Post Field Update settings not being quite right:

  • Field - {{ acf.post_field({“field”:“business_description”,“post”:""}) }}
  • Data - {{ form.data({“key”:“business_description”}) }}
  • ID Selector - {{ form_action.response({“depth”:“1”}) }} - I have also tried without the depth

Do you have any guidance on where I am going wrong? The above is a simplified action group chain, as I have about 10 ACF Post Field Updates in total.

Thanks,
Christopher

Hello Christopher,

Thanks for posting in! You may be targeting the incorrect ID of the post where you are trying to update the ACF Post field. We would be happy to double-check your site if we can log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

Hi @ruenel,

I am aware the ID is likely to be the issue. The documentation is quite basic on this sort of thing!

Details in SN.

Thanks,
Christopher