AnsweredAssumed Answered

Unhide Marketo Form Fields populated with URL Parameters

Question asked by 102ab804232b1e12e84d988f4a2f35d76f2b6b88 on Oct 5, 2016
Latest reply on Oct 10, 2016 by 102ab804232b1e12e84d988f4a2f35d76f2b6b88

Hello Marketo community,

 

I'm trying to modify the input type for several hidden fields on the following page when the page loads by using the following jquery to modify the input type from hidden to text. There are other fields with an input type that needs to be updated to select too.

 

Landing page: http://www3.sungevity.com/Modernize.html?FirstName=Test

 

<script>

jQuery(document).ready(function(){

     jQuery('input[name="FirstName"]').prop('type', 'text'); })

</script>

 

I've tested this with FirstName, one of the currently hidden fields, but no updates are taking effect. Any ideas?

Outcomes