SanfordWhiteman

SanfordWhiteman

Contact Me
Online Status
Offline
Date Last Visited
yesterday
Level 10 - Community Moderator
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.
Joined the community 23-07-2014
Rank Icon Level 10 - Community Moderator
Chief Technologist
New York City
  • solved badge Re: Restricting Date Field Value Ranges on Forms

    I wouldn't write your own onValidate code -- you'll just end up reinventing the datepicker!Instead use a third-party datepicker widget, making sure it does what you need (weekends, dateranges, etc.). Set the input to just text and the datepicker handles all the validation. Here's an example using ...

    image_type
    Discussions
    2047 1 0
  • Re: How do I have one form save two leads

    Here's a sample form that posts twice, showing it doesn't need server-side anything: http://jsfiddle.net/sanford/kq0f4v2g/showIn this demo, the form posts once, then switches the First Name and Last Name fields and posts again automatically. How to manipulate other fields is left as an exercise for...

    image_type
    Discussions
    3987 1 2
  • Re: app-sj01.marketo.com down at present -- agreed?

    Thanks for confirming! Looks like it's back up now.

    image_type
    Discussions
    1512 0 0
  • app-sj01.marketo.com down at present -- agreed?

    I get a 500 error from http://app-sj01.marketo.com/ right now. Other people on that instance agree?

    image_type
    Discussions
    1555 0 3
  • Re: How do I have one form save two leads

    "Override" the form in Marketo isn't the right term... I think "Post as if it were the Design Studio form" is more appropriate.When you do a server-side form post, you're impersonating a browser-side ("client-side") form post. The Marketo server doesn't care whether the data comes in via a browser,...

    image_type
    Discussions
    3987 0 0
  • solved badge Re: Restricting Date Field Value Ranges on Forms

    Without knowing it, you're actually asking two different questions, because Marketo uses two different ways of rendering Date fields. In Chrome, which supports input type=date, it's actually pretty easy to manipulate min/max date and other stuff. I just put together an example here where the date h...

    image_type
    Discussions
    2047 1 0
  • Re: Correct Parameter Name to Set a Hidden Form Field Value

    That's way too much code to post on this forum (which has no code handling to speak of).Can you please narrow that down to just the part that is giving you trouble?And try to rephrase your question. "I don't know what in the cookie..." doesn't really make sense. Each cookie is a = pair. So you wa...

    image_type
    Discussions
    4364 0 0
  • Re: How do I have one form save two leads

    Why wouldn't it be easy? You basically have a two forms' worth of data posted at once, so you just split them up before talking to Marketo. Marketo has no idea it came to you as a single form.I don't really understand your questions about "selecting this form" -- where? Is the initial form (the o...

    image_type
    Discussions
    3987 0 0
  • Re: How do I have one form save two leads

    @Tim C Don't see where SQL would be involved in any way.The solution is pretty simple, you just run through the cURL function twice, first time passing it the 'Email' => urlencode($email)', second time 'Email' => urlencode($guest_email), etc. There's no magic, it's two form posts.P.S. I also want to...

    image_type
    Discussions
    3987 0 0
  • solved badge Re: How to delete the Marketo tracking cookie right after it was set?

    The Munchkin function calls (including init(), wihich calls visitWebPage() internally) do not fire callbacks when they are complete. Since they involve doing a remote GET of a tracking pixel, naturally they won't be complete before your immediate call to deleteCookie(). (Not to mention that JS is s...

    image_type
    Discussions
    1805 0 0

Top Badges Earned

Customize up to 8 badges at the top of your trophy case for all other Community members to see!Customize up to 8 badges at the top of your trophy case for all other Community members to see!
  • Applaud 2000 Applaud 2000 Earned on 2.08.21 Earned by 1 people Select to learn more
  • Validate 500 Validate 500 Earned on 11.04.22 Earned by 2 people Select to learn more
  • Prowess Prowess Earned on 2.10.21 Earned by 7 people Select to learn more
  •  Artisan Artisan Earned on 2.10.21 Earned by 7 people Select to learn more
  • Originator Originator Earned on 2.10.21 Earned by 21 people Select to learn more
  • Publish 100 Publish 100 Earned on 10.05.21 Earned by 3 people Select to learn more
Public Statistics
Name
Location New York City
Personal web page https://blog.teknkl.com
Date Registered ‎07-23-2014 11:52 AM
Date Last Visited yesterday
Total Messages Posted 25,740
Total Tags 690
Likes Received 12355