Auto Submit Forms
Andrej Janev avatar
Written by Andrej Janev
Updated over a week ago

In order to use this feature, you will want to follow the steps to prefill your form.


Our Auto Submit feature will automatically submit the ViralSweep form after you have successfully prefilled the fields so the user never has to see the entry form, they will only see the post-entry section with the ability to complete actions.

Please note: This feature only works with our embedded widget or lightbox, not our full page.

If you are prefilling the fields of the ViralSweep form via URL parameters, then simply include this script above the ViralSweep code on your page

<script>vs_auto_submit = true;</script>  

If you are prefilling the fields via our javascript implementation, then you will want to include this script above the ViralSweep code on your page:

<script>vs_email = 'john@smith.com';</script> <script>vs_auto_submit = true;</script>  

Be sure to prefill the correct email address for vs_email.


We're here to help

If you have any further questions, please start a Chat. Just "Click" on the chat icon in the lower right corner to talk with our support team.

Did this answer your question?