PDA

View Full Version : Saving Form Fields on return


Trin
06-09-2005, 11:04 PM
Hi,

I was just wondering if there is any way in HTML or any client side scripting that I can save the form fields so when the return to the form is re-inputs them into the field. I don’t think there is but hey I’m not that much of an expert on the subject 

Ok so here is my problem.

I have a form that asks for delivery details. If the customer doesn’t put in say the state in it brings up an error stating that the state is required and to go back to fix it, now when they go back ALL the details as gone.

I have been told before that this can be fixed one of two ways. 1. Via server side scripting but for me to get my programmer to do that is going to be like years down the track cause there is so much else to do first. 2. It all depends on the client’s browser and if they have something enabled that records the fields and then re-inputs it.

I’m not sure if what I’m asking is possible but if it is could someone please let me know cause this back problem is really annoying my customers and me :)

If it’s a browser issue can someone let me know how I can set the browser so it does remember so I can tell my regular customers to do this?

Thanks heaps for any response
Trin

_Aerospace_Eng_
06-09-2005, 11:17 PM
No html can't do this, you need to repopulate the form, you can probably make a cookie onsubmit that writes the values to a cookie in the users cache then when returned to the form the boxes get their values back and since it doesn't seem like you want to use a server side language I will move this to the clientside forum. I don't know how to use cookies too well, never had to.

Trin
06-10-2005, 12:05 AM
ok great thanks for that info. I didnt even think about cookies. I have had a bit of experience with cookies but not a great deal.

Thanks for your help Aero