This content has been marked as final. Show 3 replies
It will be something like this http://community.marketo.com/MarketoResource?id=kA650000000GtrKCAS
This worked perfectly when I did it using a test form on a test landing page. However, when I pulled the custom HTML block into an existing landing page that has other elements on it (image, text), it is not working. Please see the link below for what I'm referring to. Is it a a layer order issue? I tried reordering the layers and that didn't work. Or does this custom HTML block need to go into the landing page template code itself to work?
Hi Cathal, thanks for all of your help! I figured out the issue, yay! Here is what I ended up with, in case anyone else needs this:
Used your link for the walk-through: http://community.marketo.com/MarketoResource?id=kA650000000GtrKCAS
var $jQ = jQuery.noConflict();
// some variables to track the LI and input element of the dynamic field
var websiteRow = $jQ("#Title").parents("li:first");
var websiteField = $jQ("#Title");
// when the triggering field changes...
var value = this.value;
// when "Other", show the dynamic field and make it required
// when "No", hide the dynamic field
Works like a charm! I've included the link I used for testing purposes. Hope this helps someone out there!