Andrew Smart
Andrew Smart

Reputation: 391

click on link in email to populate textfield

I need to populate a textfield when a user clicks on a link. I have successfully done this with javascript, but the link now needs to be in a HTML email and most email software disregards javascript.

Any other way?

What I need id for the user to click on 'Make an enquiry' in my HTML email which links to my homepage, where a textfield will be populated with a code, for example 'email_offer_1'

Upvotes: 1

Views: 161

Answers (1)

Shad
Shad

Reputation: 15451

You could pass the relevant information to the HTML page via the hash, or via the query string reference

So the link in the e-mail may say <a href="mysite.com/inquiry#_56">Inquiries Here</a>, and then the HTML page can be set up to check it's hash for information on ready.

Upvotes: 4

Related Questions