leosubscriptionformscript
v1.0.54
Published
Form submiter for LEO landing pages
Downloads
678
Readme
Leo Subscription Form Script
What is it used for
This is a script that submits Unbounce forms created by the LEO marketing team.
It is a jquery script using the jquery-validation library that validates the form and submit it with an api call.
How to use the project
To use this script, the form has to have the class : leo-form
You also need a hidden input with the id=apiKey that has the desired api key as value
If your landing page is for a survey, the form has to have the class : survey
If you want to use the beta api , add to the url the parameter : env=beta
If you want to use the beta alpha, add to the url the parameter : env=alpha
To use it just add the script tag : <"https://unpkg.com/leosubscriptionformscript@{version}/form-maker.js" type="text/javascript">
Documentation
We have a google doc on how to make the forms in unbounce : https://docs.google.com/document/d/1xHT-UU943DEBWANFF5v5GX-gilD3Y6bIB8m6ls-Mx98/edit#heading=h.n3dypo5c9ddu
Publish
To publish a new verison just run in the terminal : npm run pp