Sending parameters + storing data from a form

I have a form in a modal that collects name/email and put it in a header symbol so that it can be called from any page. You can check it out in the header here.

When someone fills out the form, I want to pass those as parameters to our web app.


I got that working by putting the signup URL of our web app in Action.

Screen Shot 2022-07-20 at 7.54.38 PM

But it seems like, when I do that, the data isn’t stored in Forms in Settings. Is there any way to both, save the data and send those parameters?

I have custom code that does this on other pages, but it doesn’t seem to work on this header modal.

$('form').submit(function() {
  setTimeout(function() {
    location.href = '' + $('#email').val() + '&name=' + $('#name').val() + '&lmref={{wf {&quot;path&quot;:&quot;affiliate-slug&quot;,&quot;type&quot;:&quot;PlainText&quot;\} }}';
  }, 100);

Is there something easy I’m missing for storing form data as well as sending parameters?

hmmm :thinking: I think you’d have to submit the form via Javascript and get those parameters from within that script before it’s submitted.

Even weirder, that code works on some pages and not on others, even when they’re the same underlying template.



The pages are basically identical… :exploding_head: