Hello there!
Currently developing an app with React and on the contact component I have two forms.
The first one is Klaviyo newsletter signup form and the other is custom contact form build with emailjs.
At the moment you have to fill the email address in the Klaviyo form and then fill the other information in the custom form (like name, phone, country) and click on “Subscribe” for the Klaviyo and “Send” for the custom form.
Ideally I want to do both things at once, maybe by clicking on the “Send” button, to send the contact form email and subscribe at the same time.
I’ve tried to grab the email address from the custom form and setting it up as a value of the Klaviyo form but this doesnt work.
The custom form is also collecting the selected options and sending them as well.
URL: http://quick-quote.ivaylotsochev.com/
GitHub contact component.
Best answer by caroline
View original