Hi,
if the number of values to be inserted into that RTF document are fixed you could do the following:
- Create a RTF document that just contains the text and some variables like
Dear $NAME$,
thanks for your order.
The order id is $OID$
....
Then put that rtf document somewhere on the server to be used as template.
When a user submits the form load the contents of that RTF file into a PHP variable, replace $OID$ by the order id $NAME$ by the name (and so on) and then write the data into a new RTF file or do whatever you want with it.
I did that some weeks ago and it worked fine in my case.
Thomas