how to add multiline attribute to a readonly textarea field ?

hi,i have a long text field.
in edit page, i set it as TextArea and cols=70 and row=10
When i have more than 10 lines, there is the scrollbar : it is goodFor some users, i create a view of the same table andthe field will be Readonly.
His type is TextArea too , and cols=70 and row=10 too
Once i display the edit page, the field did not use multiligne row/col anymore but basic SPAN field !
so i have no scrolbar and the whole height is use instead of the 10 rows…I tried to add “row=10” in Custom Attributs (DIV tags attribut) , after generated, i can see the row=10 is added to the html tag but it is a SPAN, not a TextArea, so no scrollbar either…is there a thing i can do to change that ? having a textarea in readonly long text field instead of a SPAN tag ?

Note that when a field is set as “Read Only” it is displayed by the View Tag, not by the Edit Tag (textarea). As replied in the other topic, you may try to set the ViewValue of the field.

well, i found another way :i add an id to the field using custom attributes : “ID=‘mylist’” (so a php string)then, in the client script of edit page, i replace the SPAN tag by a TEXTAREA one :-)var mycontent=$( “#mylist” ).html();
$( “#mylist” ).replaceWith( “”+mycontent+“” );It runs fine in one condition : the content should be full text, not a formated text.
So in the end, i have my long text readonly in a scrollbar area.