# One Click Signup Links

**URL:** <https://community.gravityforms.com/t/one-click-signup-links/15507>\
**Category:** Get Help\
**Tags:** activecampaign, autosubmit\
**Created:** [July 11, 2023, 9:38pm UTC](https://community.gravityforms.com/t/one-click-signup-links/15507 "2023-07-11T21:38:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drepetto](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/drepetto/32/13202_2.png) [@drepetto](https://community.gravityforms.com/u/drepetto)\
**Post date:** [July 11, 2023, 9:38pm UTC](https://community.gravityforms.com/t/one-click-signup-links/15507/1 "2023-07-11T21:38:27Z")

</div>

I have an email list in ActiveCampaign, and I want to send a message with a link encoded with email and name, that when the person clicks, they automatically sign up in a Gravity form.

How can I do this?

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [July 11, 2023, 9:43pm UTC](https://community.gravityforms.com/t/one-click-signup-links/15507/2 "2023-07-11T21:43:17Z")

</div>

To do that, your form will need to be set up to allow dynamic population of the name and email field. This is the method you will use to populate the fields.

> **[Dynamically Populating a Field](https://docs.gravityforms.com/using-dynamic-population/#h-query-string)**
>
> This walk-through will give you and example of how to use each method of dynamic population to dynamically populate a field on your form!

The next step is that you will probably want to auto-submit the form. We don’t have a built-in method to automatically submit a form, but you can do that with a small bit of jQuery or JavaScript. There have been several snippets posted in these forums. Here’s one:

> [@Submit form on page load (only once)](https://community.gravityforms.com/t/submit-form-on-page-load-only-once/13539/5):
>
> I’ve written the below code as a potential solution to the problem: \<script type="text/javascript"\> jQuery(document).one('gform\_post\_render', function() { if (!sessionStorage.getItem('gform\_post\_renderEventTriggered')) { sessionStorage.setItem('gform\_post\_renderEventTriggered', true); if (jQuery("#input\_83\_1").val().length \> 0) { jQuery('form#gform\_83').trigger('submit'); console.log('Submitted'); } else { console.log('Form is empty'); } } else { console.log('Cookie is alre…

Maybe you can adapt that to your scenario. If you have any other questions, please let us know.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [August 10, 2023, 9:43pm UTC](https://community.gravityforms.com/t/one-click-signup-links/15507/3 "2023-08-10T21:43:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
