mellenburg11
Programmer
I have a form that writes a text area field to a database. The field can get long so I'm using a textarea control for entry. When someone wants to add to this field, I want them to enter it in a new textarea control and I append the new string to the old string and write it to the database. I want it this way because I don't want the user to be able to modify past comments.
The problem is that when I disable the textarea, the information doesn't carry over when the form is submitted. How can I not allow a textarea field to be modified and keep the information?
I've tried making a hidden field with the value set to the previous textarea, but I think the presence of both single and double quotes is messing it up.
The problem is that when I disable the textarea, the information doesn't carry over when the form is submitted. How can I not allow a textarea field to be modified and keep the information?
I've tried making a hidden field with the value set to the previous textarea, but I think the presence of both single and double quotes is messing it up.