Does anybody know how to stop the following occurring?
- I write a message in the form in my forums script
- I click submit, and it comes up with a deliberate error (such as it has found a swear word which isn't allowed)
- When I click Back to go and edit the message, I have to retype the whole thing because it is no longer in the textarea
I think it might be because I am using it all on one page:
if (!isset($message)) { print form }
if (isset($message)) { check for errors }
Or something..
Any suggestions?
Refreshing session pages
Moderator: General Moderators
-
MarbleKittyKat
- Forum Newbie
- Posts: 5
- Joined: Sat Feb 14, 2004 7:57 am