Page 1 of 1

Set a fixed height, and disable option to write in text area.

Posted: Wed May 15, 2013 1:55 pm
by Simon Madsen

Hello there!
Is it possible to disable the option to write text in a text area? So it just contains text, but you can't write in it? Also, is it possible to set a fixed height for the text area?

I'm not great at this, so I hope you'll bare with me :)

Thanks in advance,
Simon


Set a fixed height, and disable option to write in text area.

Posted: Wed May 15, 2013 2:36 pm
by maxkatz

Yes, try using 'readonly' or 'disabled' property.


Set a fixed height, and disable option to write in text area.

Posted: Wed May 15, 2013 2:49 pm
by Simon Madsen

Thats one of the questions, but where is this property, I can't see it anywhere? Am I supposed to write it myself? As I said, I'm not very good at this :)


Set a fixed height, and disable option to write in text area.

Posted: Wed May 15, 2013 3:56 pm
by Simon Madsen

Could you elaborate?


Set a fixed height, and disable option to write in text area.

Posted: Wed May 15, 2013 4:23 pm
by Oleg Danchenkov

1) 'disable the option to write text'
In PROPERTIES tab forTextarea press 'More Properties' button. In 'More Properties' window add property with name and value: codereadonly/code
2) 'set a fixed height for the text area'
Add Class name to textarea. For example: fixedHeightTextarea
Create new css. Add this code to css
code.fixedHeightTextarea {height: 200px !important;}/code


Set a fixed height, and disable option to write in text area.

Posted: Wed May 15, 2013 4:41 pm
by Simon Madsen

Thanks alot!