just a thought... testPDF.capx
Thank you very much for trying to help me. But your interesting solution does not work for me. In fact when I write the text in the empty text box with automatic breakline it does not insert "newline" when your function is called.
is this still happening when you set the TextBox's type to 'textarea'?
otherwise it seems like you have to format your TextBox's text before you write to the PDF.
Thanks for your help. Yes i 'm using textarea type but how do you want format TextBox text? I cannot insert HTML tags like <p>...</p> or set a margin. The first solution of added "newline" element after x character is a good idea but it doesn't seem working.