Textarea UnEditable

I

Ike

Is it possible to disable editing of a text area? I have a text area which,
under some circumstances I want the user to be permitted to edit, but not
others.

How do you guys typically handle that? Thanks, Ike
 
E

Edward Alfert

Is it possible to disable editing of a text area? I have a text area
which, under some circumstances I want the user to be permitted to
edit, but not others.

<textarea readonly> readonly textarea </textarea>

<textarea> editable textarea </textarea>
 
L

Leif K-Brooks

Ike said:
Is it possible to disable editing of a text area? I have a text area which,
under some circumstances I want the user to be permitted to edit, but not
others.

How do you guys typically handle that?

If I don't want it to be editable, I don't put it in a text area. Why
does is have to be one?
 
Joined
Jul 23, 2007
Messages
1
Reaction score
0
Readonly

readonly has to be give a true/false parameter ie.
<textarea readonly="true"></textarea>
or it won't validate

ps.
using text areas allows scrollable text within the confines of the text box
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top