3 Replies Latest reply on Apr 28, 2017 5:23 AM by Sanford Whiteman

    Cookie-free multi part embedded form

    Grégoire Michel

      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

        • Re: Cookie-free multi part embedded form
          Sanford Whiteman

          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.

          1 of 1 people found this helpful
            • Re: Cookie-free multi part embedded form
              Grégoire Michel

              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

                • Re: Cookie-free multi part embedded form
                  Sanford Whiteman

                  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.)

                  1 of 1 people found this helpful