Hi GF
I have a particular case where I need to assign a different Gravity Form to each post in a Wordpress query. We have added an "id" custom field to the backend which references the gravity form id.
What we need now is way to (via php code) call that gravity from but replace the form id with the custom field value.
This is the code we have tried:
<?php $formid = the_field('bid_form_id');
gravity_form($formid, false, false, false, '', false, 12); ?>
However we are receiving an invalid argument error.
Is this possible and if so, how would be go about implementing it?