I'm not a developer, so, I'm struggling a bit.
I want to populate a redirect on form submission using a variable URL that pulls from the form entries. What I'm looking for is a redirect URL that will look like this:
"URL"+Name=[name from form]&Email=[email from form]
Any tips would be greatly appreciated!
You can redirect like this:
window.location.href = 'Site URL';
Adding values from the form is also possible, for example:
window.location.href = 'https://plumsail.com/?name=' + fd.field('Name').value + '&email=' + fd.field('Email').value;
Thanks, Nikita. But it didn't quite work for me. Here's the code I input:
window.location.href = 'Untitled | Plumsail' + fd.field(Name).value + '&email=' + fd.field(EmailAddress).value;
But this was the result from the URL:
Any thoughts on how to fix that issue to get the actual name and email, rather than the "result.name"?
Ok, so, that happened because I had tried something earlier and I had something in the "Redirect URL" field in the settings. I erased that, and now it's not working for me.