Hi all,
Anyone knows if it's possible to do the following:
When a person keys in his email address in the Marketo landing page form:
This will have to happen live. Any developers here who can point me in the right direction. What do you think I have to do to make this work?
Regards
Fred
Hi Fred,
maybe this approach would help you: Show Custom HTML Form for Known People - Marketo Docs - Product Documentation
But this works only for leads who are cookied.
Best;m
That works for a Known person, however, if you want to tie it to the specific Registration list for that Page, you would need to develop some jquery.
Hi Josh,
Thanks for your insight.
Another newbie question: I'll think Form 2.0 will make this work, but do you know how I can possibly retrieve and compare against a specific registration list using jquery?
Thanks in advance.
Regards
Fred
but do you know how I can possibly retrieve and compare against a specific registration list using jquery?
FTR: it's not a question of "jQuery" but JavaScript. (jQuery is merely an additional JavaScript library that's not important here, or really anywhere these days.)
Anyway, it is not possible to retrieve list membership directly from the browser using JavaScript.
Were it not for REST API limits, it might be feasible to query a separate server using JavaScript. That server, in turn, would use the API to look up lead membership. But alas, this method can't be used on a public form.
What you can do is:
While bit clunky, this approach could be implemented quickly by a skilled developer.
Hi Sanford,
Thanks for the insightful answer (:
I guess the alternative approach you suggest is not something that can be deployed live, in the sense it takes place when the button is clicked, and based on whether the person is already in the list or not, I can show something different (like different form, url etc.). Am I right to say that?
Regards
Fred
...is not something that can be deployed live, in the sense it takes place when the button is clicked, and based on whether the person is already in the list or not, I can show something different (like different form, url etc.). Am I right to say that?
No.... why would I have suggested it if it couldn't be used? You have some guaranteed latency when you perform a remote lookup in response to a button click, and this method might be on the high end of user-facing delays on occasion, but it can be used "live."
Btw, here's an example of such a form in action:
Note this doesn't use the server APIs in any way (I would never do that) merely the Forms 2.0 JavaScript API as I described above.
Do you have a sample of your code online Sanford? I think this is interesting and could potentially soluse-casesecase.
It will be a blog post soon.