Skip to main content

ACF data into form?

Hello everyone! I'm looking to embed a form on a custom post type and would like to dynamically add form inputs in hidden fields based on ACF attributes.

For instance, a price that is input as part of a field group for the CPT being dynamically populated as the amount of payment captured by the form.

Has anyone done this before? Any pointers?

I usually just pass parameters via Get. It works really well. You can also use cookies but that's not always reliable because of people's settings.

Ryan Vickerman

Shahjahan JewelΒ Perfect...thank you!

Ryan Vickerman

Shahjahan JewelΒ ...is there any way to control form submission limits from ACF values? I'm thinking of using it for variable numbers like for even tickets.

Shahjahan JewelΒ Thank you for posting this. Not sure how I missed this.