Forum Moderators: coopster & phranque

Message Too Old, No Replies

Making a web form

Displaying old information first

         

lisad

3:47 pm on Jun 9, 2003 (gmt 0)

10+ Year Member



I want to make a page where someone can log on to the site, update their own page, then display the new changes. I'm having a hard time figuring out how to display the old information so that they could see it. For example, if there is an unordered list, could you have a text box with the old information displayed on it so they could change maybe just a letter, or something?

Would I just assign the value to say, prevValue and work with that?

jatar_k

6:57 pm on Jun 9, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I usually load the old data and echo it into the value="" attribute of the form element. Then when they resubmit it the new value is saved.