Forum Moderators: coopster
The question is since I eventually end up storing this all into cookies and users may need to go back to other forms, I want to write the cookies back into the forms. I know how to do this, but the issue is how can you identify what form you are actually displaying to know which cookies should be used?
eg. the problem occurs here.
Say form 1 has a submit button called "Form1"
My script decides which form to display based on that, and I was trying to also use that to determine what cookies should be used.
It doesn't work because you could have clicked Submit on Form1 and the Submit value it is "Form1" so the cookies would be called as we are on Form 1 but really we are on Form 2.
Anyone have an idea on how to set up variables or some way to uniquely identify each form so we can figure out which cookies to use?
Thanks