JavaScript form events
-
Hello team,
Just trying to put in practice the “JavaScript form events” capability to resolve one problem with my client. What does it mean the variable “data” in the script below? I’m trying to access a hidden variable of the form after the event “suscribed” to customize the behavior after subscription, but not sure how to do that. Perhaps the “data” variable stores that information. It would be great if you could help me on that. Thanks, Guido<script>
mc4wp.forms.on(’15.success’, function(form, data) {
// your code goes here
console.log(“Form with ID 15 successfully submitted.”);
});
</script>The page I need help with: [log in to see the link]
The topic ‘JavaScript form events’ is closed to new replies.