9 Replies Latest reply on Jul 19, 2017 4:56 AM by Harvey Jewell

    Unhide Marketo Form Fields populated with URL Parameters

      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?