hey, i've added a form page with textboxes and drop down functions for my website but i can't seem to get the information from the form onto another page
do i use the setCookie and getCookie function? i have been taught this way but it doesn't seem to work for my website
this is what i have now:
FRONT PAGE (form application)
<script type="text/javascript">
function setValues(aForm)
{
setCookie("condition",aForm.condition.value,365)
setCookie("date",aForm.date.value,365)
setCookie("treatment",aForm.treatment.value,365)
setCookie("status",aForm.status.value,365)
}
PAGE 2 (form information published here)
<script type="text/javascript">
var condition = getCookie("condition");
var date = getCookie("date");
var treatment = getCookie("treatment");
var status = getCookie("status");
document.write("Condition: " + condition)
document.write("<p />")
document.write("Date: " + date)
document.write("<p />")
document.write("Treatment: " + treatment)
document.write("<p />")
document.write("Status: " + status)
our help would be much appreciated!!