Hello everyone,
Some fields in my client forms are multi line which has unpredictable data line.
I try to set field to be readonly field.
such as:
$(document).ready(function(){
$('.Multi textarea').text('1 test1'+'\n'+'2 test2'+'\n'+'3 test3'+'\n'+'4 test4');
$('.Multi textarea').attr('readonly', 'readonly');
});
I set 4 lines sample data to this field as you can see.
But I found that data was show only 3 lines because of setting height field to 3 lines.
(Actually I don't know how many data should be fill in this field.)
So How could we set a multi-line field to be readonly and show all unpredictable data in that field?
Thank you for any help.