Error "reCAPTCHA has already been rendered"

On a bespoke site some time ago, we just added different IDs for the ReCaptcha. So there must be a work around because it is possible from our bespoke code? So GF plugin needs a way to have unique IDs when outputting the code more times than one. So I imagine there must be a work around surely? Can your code not check if the form is used and if so increment the ID? Obviously we need guidance from you as we do not know the code. All I know is its possible to do from Google’s perspective if we can not have the same IDs.

I think we did it with Contact Form 7 actually because we can add our own HTML for the form output so can control the ID in the ReCaptcha field, I cant remember exactly how we passed the ID to the plugin PHP code, but the plugin PHP code can then take the ID from the HTML and use that in the ReCaptcha functionality. Maybe it was using shortcodes, so we passed in an ID in the shortcode, so then when adding the shortcode multiple times, for the same form, we can pass our own ID to be used in the ReCaptcha field.

Thanks