Creating a mult-step email signup

Options
We are having some technical difficulties setting up a multi-step email signup form. Ideally, we'd like to have the user enter their email address on a webpage, then be taken to another form that asks for their name and zip code--while hiding the email field since they've already entered this info.


The issue is that sometimes the primary email address in an S1 tag is not carrying over to the next page, and we can't see the error message to know what's wrong.


Has anyone tried creating a multi-step signup and had success with carrying over the email address into a second survey like this? Thank you!
Tagged:

Comments

  • Sarah Robie:

    We are having some technical difficulties setting up a multi-step email signup form. Ideally, we'd like to have the user enter their email address on a webpage, then be taken to another form that asks for their name and zip code--while hiding the email field since they've already entered this info.


    The issue is that sometimes the primary email address in an S1 tag is not carrying over to the next page, and we can't see the error message to know what's wrong.


    Has anyone tried creating a multi-step signup and had success with carrying over the email address into a second survey like this? Thank you!

    Can you tell us more about your page/form setup? Is everyting in LO (like, PageBuilder, Survey, etc.)? Are you hacking a Survey or using APIs? I'm guessing you need to store/push/pull the email value through either the session, the cookie or the URL. If you're jumping pages in LO apps, you should be able to set the email value in the session and pull it through the jump. If there's no LO session (or the user drops it), you may have to get creative and use the cookie or the URL to pass it along. Worst case, you can drop a condtional on the second page and test for presence of the email value, then show or hide the email field accordingly: [[?xx::x[[S1:primary_email]]x::::[[S1:primary_email]]]]

     

  • S1 tag including that email attribute will only work for those that have already registered / have an account within Luminate Online AND only retrievable / could be referenced when that person is currently logged in.  Thus if you met both condition stated here, you should be able to reference and paste any reference to that person, incl. that person's email on any pages/subsequent pages during that login session.


    I guess the multi-step email signup form might not fall into / met the requirement above given that signup is usually for new people to register/signup an account with hence there's no account currently associated with that individual and they are likely not logged in when filling out that form, thus you cannot use S1 primary email tag as placeholder to carry forward whatever email address that they might include when they fill up that signup form.


    With that said, you either want to tap into the use of either one of  the following
    • browser cookies (that could be set/retrieved through Javascript)  -- Just as Ryan has stated above.
    • HTML5 offline storage (not this is only going to run on modern browsers that are HTML5 compatible -- in case if your audience still uses older browsers -- than this is not a good approach)
    • S tag session variable to hold that new email address user provided during their interaction with your signup form.  The variable could be initiated/declared through URL parameter or the use of U0 tag -- but in this case you are likely going to initiate/declare that variable through the use of URL parameter  s_Here's an example
      • In that multi step email signup form, you ask user to provide their email address within the first page, so as they hit "next" button to go to subsequent page, you can have the next button listener to bring user to the next page where you can append the session variable to hold that email value to be pasted on the next page. Let say for example your upon clicking that "next" button, you are going to bring your user to go to the subsequent page, hence the href value for that would be https://YOURDOMAINNAME/site/SPageServer?pagename=mysignupform2&s_myemail=VALUERETRIEVEDFROMEMAILINPUTTEXTFIELDONFIRSTPAGE

        Use Javascript (jQuery) to populate the retrieve and pass the value to that URL parameter as you build the link.

         
      • On subsequent page if you need to parse back the value of that custom session variable (note I mentioned custom because basically you can name your variable anything for any purpose not limited to just s_myemail=, you can have s_myvar1=)  all you need to do to put back the current value post initiation is just to use the S80 tag -- in this case [[S80:myemail]]  
    hope that helps.


    p.s. edit correction use S80 tag to retrieve your defined session variable value (not S1.. typo sorry)


    regards,

    Daniel

     

    Sarah Robie:

    We are having some technical difficulties setting up a multi-step email signup form. Ideally, we'd like to have the user enter their email address on a webpage, then be taken to another form that asks for their name and zip code--while hiding the email field since they've already entered this info.


    The issue is that sometimes the primary email address in an S1 tag is not carrying over to the next page, and we can't see the error message to know what's wrong.


    Has anyone tried creating a multi-step signup and had success with carrying over the email address into a second survey like this? Thank you!

     

Categories