I'm trying to send an embedded Mailchimp signup form's response to a hidden iFrame, to prevent the form opening the link contained in the form's action. I'm working in React, and the standard approach doesn't seem to be working. I have:
<div class="embedSignup">
<form action="https://app.usXX.list-manage.com/subscribe/post" method="post" formTarget="hiddenFrame">
// ... form elements
</form>
</div>
<iframe name="hiddenFrame" src="about:blank" style={{display:"none"}}></iframe>
But it continues to default to target="_self" behavior.
I've tried using target, formtarget, and formTarget, and none worked.
Any help is much appreciated.