OK, so, at the moment, I have been able to transfer information from one survey to another using sessionStorage.
Here is the code used on Equation questions:
ENTRY SURVEY (which will be different for each Sales Rep):
<script>
sessionStorage.setItem('smamaxrepnamelp', 'James M. De Vince');
sessionStorage.setItem('smamaxrepemaillp', 'jamesmdevince');
sessionStorage.setItem('smamaxrepphonelp', '(323) 786-6631');
sessionStorage.setItem('smamaxrepextlp', 'jim');
sessionStorage.setItem('smamaxrepphotolp', 'jamesmdevince');
sessionStorage.setItem('smamaxreppasswordlp', 'XXXXX');
</script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
window.location.replace("
maxexposuresocialmedia.com/B2BAnalysis/i...hp?sid=44444&lang=en
");
});
</script>
So, what happens is the first survey (that has no "Welcome" page) simply sets the sessionStorage items we want and immediately tranfers to the survey we actually want to use. This redirects perfectly.
ACTUAL SURVEY (or SECOND SURVEY) which is the one we actually want to use:
<script>
document.write(sessionStorage.getItem('smamaxrepnamelp'));
</script>
which is placed into an equation question, displays the data perfectly. So, the information transfers from the first survey to the second one, BUT, I cannot seem to get the information to be used in any other areas of the survey.
I tried {xxxx.shown} which works with other questions, but not the JavaScript sessionStorage ones. I tried the String JavaScript. Tried a few other things, including other question types, but although the call to sessionStorage is successful in pulling up the information, I cannot use the information elsewhere in any other questions.
Is this a limitation of using the JavaScript? Perhaps I can only retrieve the information using JavaScript? Any way to take the information pulled up in the JavaScript equation question anywhere else in LimeSurvey?