Am having a really strange problem with hidden fields, when i use the hidden field called DoorStyle i get a tamper error, but if i remove the hidden field it works as i would expect!
Heres some code that im using:
A TV to either show form or not! with drop down yes no
OrderForm CHUNK
<img class="shopIMG" src="/[*MainDoorImage*]" alt="" width="150" height="300" />
[!eForm? &formid=`OrderForm` &subject=`Order` &tpl=`eFORM` &thankyou=`shopThanks` &report=`shopReport` to=`myemailaddress`!]
My Form chunk (where the problem is i think)
[+validationmessage+]
<form class="foxycart" action="[~[*id*]~]" method="post" accept-charset="utf-8">
<input type="hidden" name="formid" value="OrderForm" />
<input type="hidden" name="DoorStyle" value=" [*pagetitle*] " />
<h1 class="shoph1">[*pagetitle*]</h1>
<fieldset>
<legend>Dimensions</legend>
<label>Width</label><br />
<input name="width" id="width" type="text"/>
<br /><label>Height</label><br />
<input name="height" id="height" type="text"/>
</fieldset>
<br />
<fieldset>
<legend>Choose Door Colour</legend>
<select name="colour" id="colour">
<option value="Red">Red</option>
<option value="Blue">Blue</option>
<option value="Green">Green</option>
</select>
</fieldset>
<br />
<fieldset>
<legend>Letterplate Required</legend>
<p>
<label>
<input type="radio" name="letterplate" value="Yes" id="letterplate_0" />
Yes</label>
<br />
<label>
<input type="radio" name="letterplate" value="No" id="letterplate_1" checked="checked" />
No</label>
<br />
</p>
</fieldset>
<br />
<input name="[*pagetitle*]" type="submit" class="submit" value="Order Panel" />
</form>
and the Thanks chunk
<p>Thanks for your order, we will confirm you order by email but here's a re-cap</p>
<p>[+DoorStyle+]</p>
<p>[+colour+]</p>
<p>[+width+]</p>
<p>[+height+]</p>
<p>[+Letterplate required [+letterplate+]</p>
<a href="####Shop/">Continue with another order</a>
Now if i remove the hidden feild all works fine, but when i add it i get the following error
Some errors were detected in your form:
[undefined] » Tampering attempt detected!
Very strange because when i view the source it is entering the correct info....please help, its probably obvious!!