Hi
I created a snippet called ’namesessions’
<?php
print_r($_SESSION[webShortname]);
?>
I also tried:
<?php
print_r($_SESSION[’webShortname’]);
?>
I created this page & call:
Hello, [[namesession]] please fill in your request below,
[!eForm? &formid=`testForm` &sessionVars=`webShortname`&subject=`[+subject+]` &to=`[email protected],` &ccsender=`1` &tpl=`testForm` &report=`testFormReport` &invalidClass=`invalidValue` &requiredClass=`requiredValue` &cssStyle=`ContactStyles` &gotoid=`46` !]
The name
does appear on the page but does not arrive with the email even though I put the call into the report as below:
<p>This is a response sent by <b>[+name+]</b> using the feedback form on the website. The details of the message follow below:</p>
<p>UserName:
[+webShortname+]</p>
<p>PrimarySport: [+PrimarySport+]</p>
<p>AgeRangel: [+AgeRange+]</p>
<p>Town: [+Town+]</p>
<p>County:
[+County+]</p>
<p>Postcode:
[+Postcode+]</p>
<p>Maximum:
[+Maximum+]</p>
<p>budget1:
[+budget1+]</p>
<p>budget2:
[+budget2+]</p>
<p>lottery:
[+lottery+]</p>
<p>comments:
[+comments+]</p>
I also put this in my form:
<input type="hidden" value="[+webShortname+]" />
Can you tell me what I have missed/or what I should do next... or should that work? I feel I am getting there but it just isnt working
Thanks