Hi Friends,
I have a text field for documentation, which is working good. Now the problem is whenever user enters some new text into it. I need a date in format(dd.mm.yy), that should be attached to it automatically, with the time stamp.
For example, when the user first enters, "Problem with production". then clicks save then it should display as 19.10.10 16:39 "Problem with production".
After that if someone else changes the field and adds, "In development phase".
it should be 19.10.10 18:39 "Problem with production", 29.10.10 16:59 "In development phase".
While sumbitting the form, i am not able to track the text that is newly added. As i will get the complete text in post variables.
I found a dirty trick, placing some wierd character after saving the text. Now in my post variables, i will be able to differentiate what is the old text and what is newly added. Add current time stamp to the newly added one.
I would be glad if some one can suggest me a better procedure.
Thanks in advance!