Hello all, I’ve been trying to come up with a solution for the following problems for awhile now. (pretty new to this)
I have 3 Rich text fields on a form. 2 computed and 1 editable.
I want the values of these RTFs to populate in another form’s RTF after clicking a button.
I can get one of the fields to display but cannot get the other 2. I have followed the excellent post on how to display RTF without saving:
The scenario is as follows:
-
User clicks on button on form 1
-
The RTF on the form1 should display the values of the other form2 depending on the following:
if form=type A show field 1 on form1 RTF
if form = type B show field 1 and field 2 on form1 RTF
if form = type C, show field 1, field 2 and field 3 on form1’s RTF
At the moment, it only displays the last field after closing, saving and reopening the UIdoc using the code from the post.
I cannot get it to populate all 3 with one save. Does the doc have to save 3 times after each AppendRTItem?
Any help on this will be much appreciated.