-
-
Save mpro9x/52783a72ff96ab1d91997e66d130bb1d to your computer and use it in GitHub Desktop.
Here is the Multi Step Script 2, Please put this to the Javascript section in Unbounce "Before Body End Tag" area
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
jQuery('.lp-pom-form form').unbounceMultiStep({ | |
steps: [ | |
//if you wanna hide title, simply keep empty of title value, like this {title: '', fields: 3} | |
{ title: 'Social Details', fields: 3 }, | |
{ title: 'Personal Details', fields: 4 } | |
], | |
nextButton: 'Continue »', | |
backButton: '« Back', | |
}); | |
jQuery('#progress-bar').show(); | |
jQuery(window).keydown(function(event) { | |
if (event.keyCode === 13) { | |
event.preventDefault(); | |
return false; | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment