Can anybody help please.
I have an asp generated page which displays a confirmation order screen along with a submit button, which redirects the customer to another site.
The requirement is not to add a field (Checkbox?) so that the customer can request a reciept.
I have added a checkbox using the following code which then sets a session variable if they tick the box.
-------------------------------------------------------
<P>If you require a printed reciept, confirming your order, please tick here <input type="checkbox" name="reciept" value="OFF"></p>
<%if request("Reciept"
= ""
session("Reciept"
=0
else
session("Reciept"
=1
end if
%>
----------------------------------------------------------
My problem is that if they update the checkbox the code is not being reactivated, i.e the session variable is not being updated.
Can anysuggest where I may be going wrong or suggest a way of achieving this.
Thanx
PaulSc
I have an asp generated page which displays a confirmation order screen along with a submit button, which redirects the customer to another site.
The requirement is not to add a field (Checkbox?) so that the customer can request a reciept.
I have added a checkbox using the following code which then sets a session variable if they tick the box.
-------------------------------------------------------
<P>If you require a printed reciept, confirming your order, please tick here <input type="checkbox" name="reciept" value="OFF"></p>
<%if request("Reciept"
session("Reciept"
else
session("Reciept"
end if
%>
----------------------------------------------------------
My problem is that if they update the checkbox the code is not being reactivated, i.e the session variable is not being updated.
Can anysuggest where I may be going wrong or suggest a way of achieving this.
Thanx
PaulSc