Created
October 11, 2016 22:36
-
-
Save patrykkalinowski/e8f73f5302683b2c1eca439a8f01ff26 to your computer and use it in GitHub Desktop.
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
<div style="display: none;"> | |
<script type="text/javascript" src="//your.mautic.domain/form/generate.js?id=1"></script> | |
</div> | |
<script> | |
jQuery("input#billing_email").change(function() { | |
var customer_email = jQuery("input#billing_email").val(); | |
jQuery("input#mauticform_input_yourformname_email").val(customer_email) | |
jQuery("form#mauticform_yourformname").submit(); | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment