6 Replies Latest reply on Oct 23, 2016 2:23 PM by 57658e2b1e3278a3feb1bffcdf50ca8cf9b0fe34

    Google Places Auto Complete into Forms 2.0

      I want to including a Google Places Autocomplete form on my landing page, I want to have the auto complete feed a Marketo Form, so that I can populate the address information along with any other information we may currently have on the lead on a follow-up landing page. These leads may or may not currently be active leads.
      We are asking them to enter their address on this form to get more information about our service (based also on their physical address.)

       

      I am new to this and have the Google field populate fields in a table that is essentially from the Google sample site. See this sample Landing Page.

       

      Pillow | Vacation Rental Management on Airbnb, HomeAway, VRBO, and More

       

      The idea is to have the viewer start typing in their address, then on submit, have the form populate and open part 2, where this form will be completed on the page. I will add additional data that we will need to capture. But know that there is a simple solution that I am missing.

       

      <script src="//app-ab17.marketo.com/js/forms2/js/forms2.min.js"></script>

      <form id="mktoForm_1085"></form>

      <script>MktoForms2.loadForm("//app-ab17.marketo.com", "869-FPO-715", 1085);</script>

       

      I would like to combine these fields in the Address field if possible. "street_number" and "route"

       

      Can someone help? I am striking out every time I try it.