0

I have search for an answer to this and not come up with any answers. I can't post what I have so far because I stuck where to start.

I am trying to populate the email field of a form using Just javascript and a query string. The thing is, the page with the form only allows me to add javascript to the header or footer, I cannot access any other part of the page.

The field does have an ID, which is simply "email".

Any ideas how I can achieve this?

user2227359
  • 317
  • 1
  • 4
  • 13
  • Why can't you access other parts of the page? Is the "center" of the page an ` – zero298 Aug 04 '16 at 13:40
  • Can you please give us the code to check? – David R Aug 04 '16 at 13:41
  • 1
    You can use [this](http://stackoverflow.com/questions/1034621/get-current-url-in-web-browser) to get the url and split it to get the querystring. – DCruz22 Aug 04 '16 at 13:42
  • I can't access other parts of the page because it is a hosted form. It is an Infusionsoft order form and I need to prefill the email field. – user2227359 Aug 04 '16 at 14:04
  • Then you are likely using an ` – zero298 Aug 04 '16 at 17:00

0 Answers0