I was trying to do something suggested in this : http://developers.marketo.com/blog/make-a-marketo-form-submission-in-the-background/
So, I am trying to use this in one of our webpages which has input elements (textboxes) to take in Name, Email ID etc. I was curious, if creating an empty form and embedding its marketo based code inside the <body> of the webpage will do the trick ?
The webpage from which I want the data to be fetched into my marketo hidden form is : http://www.babajob.com/hire-easy-hire-fast
The trick being to take in details like Name and Email ID from the webpage's textbox elements (by referring the elements' id) and subsequent pushing of these data as new lead records in the Marketo lead record database.
I made an empty form and inserted its code as directed in the docs :
If this is the correct approach, what should be the procedure after embedding the code so that I get the fetched data as a new lead record in Marketo's database ?
Thank You !