Disabling textarea item
471385Nov 22 2008 — edited Nov 24 2008Hello.
I am trying to figure out how to disable a textarea item.
I saw a couple of suggestions in this forum but none fully work. Basically, I am trying for the item to show as a vertically scrollable textarea but the text in it be disabled. Common example - User Agreement text that tends to be large and is often embedded into a scollable text area.
One suggestion was to put "disabled" into the html form element attributes. I did. That disabled the text, but the vertical scroll went away. I also tried this:
disabled="disabled";class="disabled";style="overflow-y:scroll"
... same result, as soon as the text gets disabled, the vertical scroll is gone.
Making the item read-only didn't work quite well either. The item "converted" itself to a regularly displaed text on the page as if I chose "display only text", not "textarea" item.
Any ideas would be greatly appreciated.
Thank You.
Boris