Question
Marketo Snippet Question
I have a snippet that has a form. I would like to able to call a js function onsubmit and when I add it the snippet editor just ignores this.
How do I make this work? Please help!
thanks!
Anand
I have the js file that has the validate_form fuction and form_fields defined above the form definition as shown below. I am trying to add the onsubmit piece but it keeps ignoring it..
<div id="my-form"><form action="https://foobar.com/formsubmit" method="post" onsubmit="return validate_form(form_fields)">
....
<!--form--> <!--start_trial-->
How do I make this work? Please help!
thanks!
Anand
I have the js file that has the validate_form fuction and form_fields defined above the form definition as shown below. I am trying to add the onsubmit piece but it keeps ignoring it..
<div id="my-form"><form action="https://foobar.com/formsubmit" method="post" onsubmit="return validate_form(form_fields)">
....
<!--form--> <!--start_trial-->