Forms 2.0 with custom javascript? | Community
Skip to main content
Aqeel_Akbar
Level 4
January 7, 2015
Question

Forms 2.0 with custom javascript?

  • January 7, 2015
  • 4 replies
  • 1620 views
Wondering if you can add custom javascript to forms 2.0?

Specifically, we want to have a field only be visible if a certain picklist value from another field is selected. We're able to do this with html forms posting into marketo on our marketing site, but wondering if we can have the same functionality using forms 2.0.

Would appreciate any help on this.

Thanks!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

January 7, 2015
You can add custom JavaScript. Please see the developer documentation:
http://developers.marketo.com/documentation/websites/forms-2-0/
Josh_Hill13
Level 10
January 7, 2015
Yes.
  1. Forms 2.0 allows Visibility Rules on a field based on values in another field. See the Forms 2.0 Tutorial.
  2. If you want to add any custom javascript to control any of this, you can certainly do so. See developers.marketo.com or speak with your programmer to do this. You can add this to a Marketo LP by dropping in Custom HTML.
Aqeel_Akbar
Level 4
January 7, 2015
Awesome, thanks guys!
February 5, 2015