SOLVED

Cookie-free multi part embedded form

Go to solution
Highlighted

Cookie-free multi part embedded form

Here is the challenge:

  • Create a multi-part form, to be used on a web site (wordpress) as an embedded form
  • As it is a multi-part, we need to keep context between the steps, and we would like to avoid the use of cookies for this, so that it works even in a cookie controlled environment

Any idea?

-Greg

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Level 10 - Community Moderator

Re: Cookie-free multi part embedded form

With Marketo, you don't need more than the email address forwarded from part to part (that will become your context or "session"), so easy peasy.  Just add the email address to the document #hash of the next part, probably Base64'ing it to be a little more obscure.

View solution in original post

3 REPLIES 3
Highlighted
Level 10 - Community Moderator

Re: Cookie-free multi part embedded form

With Marketo, you don't need more than the email address forwarded from part to part (that will become your context or "session"), so easy peasy.  Just add the email address to the document #hash of the next part, probably Base64'ing it to be a little more obscure.

View solution in original post

Highlighted

Re: Cookie-free multi part embedded form

Thx a lot. Makes sense.

And can you call a form from another form without changing the page?

Or is it better, when the user submits the first part, to hide the fields and show the second set of fields?

-Greg

Highlighted
Level 10 - Community Moderator

Re: Cookie-free multi part embedded form

Yep, you can can use the onSuccess from one form to trigger loading the next one. Think there are some really old demos (from when I was just getting into Forms 2.0) where I did that.

It's a lot more efficient to stay on the same page and just hide/load/show <form> contents, as long as everything else on the page is going to stay the same. (If, by some chance, you wanted to decorate the pages with advertising based on previous field choices, that might be implemented using full page loads -- doesn't have to be done that way but an existing ad rotator module or what-have-you might require it.)