A bit of a strange connundrum.
I have a text area and i want to see and be able to edit its contents.
So RTF seems to be the best solution as it wraps text so i can see all of my data that has been stored in the field.
If i build the field data from other fields using a method and then view that in another layout (my report preview) having used a display tag to get it their, it ignores all the carriage returns.
If i go into the field and add one character, then go back to my preview screen it has then recognised the CRs.
Looking at the back end database, it appears that the text in the field is not converted to RTF until i have done some manual input into the fields element rather than the automatic work i have done in my script to populate the dataprovider to that field.
I suppose the question is:
-
is there any way of getting a text_area to wrap text?
-
is there any way of forcing the rtf element field to convert its contents to RTF through a method as simply populating the dataprovider field doesnt seem to do this.
David