Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
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 ...
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...
Thanks for confirming! Looks like it's back up now.
I get a 500 error from http://app-sj01.marketo.com/ right now. Other people on that instance agree?
"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,...
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...
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
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...
@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...
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...