I'm a web, database, and network architect based in NYC, with specializations in the financial services, publishing, and SaaS sectors.
I build complex Marketo integrations for companies large and small... and can make Marketo forms and emails do things you never thought possible!
Check out my blog at https://blog.teknkl.com, which has Marketo-specific technical insights you won't see anywhere else, along with wider topics from my programming and systems work.
Sorry, no. You can’t access the edge object. What we sometimes do is inject the edge objects (if there aren’t too many of them) as JSON in {{my.tokens}} and then read from there.
I tried searching for "cross-domain Pre-Fill JS" but I didn't find anything related. Can you provide more direction for this resource?contact record.
Original here and key update...
Yes, although it’s far cleaner to incorporate it into an existing listener.
Take out the listener from the loadForm call:
<script>
MktoForms2.loadForm("//go.autoshopsolutions.com...
N.B. The 90 days aspect mentioned by @jace_brendle and @derelict_wombat isn’t specific to the MSI view of Marketo. Marketo itself only keeps 90 days of high-volume activities.
You certainly should not be doing it like that — at all.
The Forms JS API contains a simple method to modify fields:
MktoForms2.whenReady(function(readyForm){
readyForm.setValue...