html form - retaining input when returning via back button

Associate
Joined
18 Oct 2002
Posts
1,752
Location
Southern England
hi guys,

i've got an html form which a user will complete. i'll validate the input server side as i don't want to use javascript just in case the user has it switched off, and if there are any problems I'm going to inform the user to use their back button and retype the offending information.

Once the user returns to the form I would like it to have retained the informaiton they previously entered. How difficult is this to implement? is it a case of using a header statement to keep the form page from expiring or am i missing something here?

thanks in advance...
 
OK thanks. I'm using php so it's session variables then. I guess when I build the form up I'll check the existance of a session variable for each field and then inject the value into the field.

cheers
 
I think I'll go with the same page form jobbie, sounds easier than trying to fanny around with back buttons etc.

thanks bean..
 
Back
Top Bottom