Bug Report - Cornerstone Forms - Updating ACF Data

I was attempting to create a form that updated ACF Data in field group in a Custom Post Type.

Using the Post Update action I added an ACF meta field (e.g. {{dc:acf:post_field field=“movie_description”}}) for the name and the form input (e.g. {{dc:form:data key=“movie_desc”}}) for the value. This initially appeared to update the metadata field, but then ALL posts in that type were completely erased.

I replicated this issue on two separate builds.

Luckily this was done in test environments, but if someone were to attempt this same action on a live site with insufficient backups it could be catastrophic.

Hello @mgalindo,

Thanks for writing in!

Please make sure that you are using the form in a single layout and that the post ID has a value as well.
image

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.