Sending data with onFormSubmit: data being sent only for existing contacts
SOLVE
Hi there!
I'm trying to send data through my HB form using hidden fields. We're testing the form with my team and it seems like if the person hitting submit is already a HB contact, then the function inside onFormSubmit runs fine and we get an email with the data we want, but if the person isn't already a HB contact, we just get a regular email with the person's email address (which is the only non-hidden field in the form).
Any idea what this could be?
I'll leave my code in the comments as it seems to mark my post as spam if I put it here.