Javascript submit redirect push

Hi All,

I know it’s possible to add javascript into Gravity Forms confirmation, as I’m doing that with google’s lead conversion javascript. IE using something like this in the text on the confirmation:

I need redirect / login to another lead site on confirmation for another form.

Does anyone know how to do that or another way to accomplish this? Thank you in advance!

Like this.

<form method="post" action="https://online.tlleadmanager2.com/agents_WebLeads.php">
<input type="hidden" name="Source" value="TOBEPROVIDED" />
<input type="hidden" name="LeadType" value="TOBEPROVIDED" />
<input type="hidden" name="RedirectToURL" value="#REDIRECTURL" />

Will the Webhooks Add-On to Gravity Forms accomplish this redirect?

What about Zapier add on? Will that push form data to a redirect URL log in?

Can you use the built in Redirect confirmation to send them to your lead site after submission?

I can, but I don’t know how to get it to log in, so it lands on the redirect page, but doesn’t log into it to send the data to it. It’s beyond my brain knowledge, it has to send this and send this to send the form data to the lead company.

Oops it didn’t paste, here it is, it has to send the user/password and form data

I don’t think you want to redirect the visitor then, you just want to send the data there. The Webhooks add-on can do that, or you could use this third party solution:

Or you can use some custom code using the gform_after_submission hook:

You’re brilliant! Thank you I’ll try those!

1 Like

Next question.

Who do you pay to do a custom URL redirection java hook customization to a form?
It works and connects fine html to the lead provider’s PHP but I don’t know java.

Is there some customization pay service?

You could post it here:

https://community.gravityforms.com/c/job-board