>>Hi All,
>>
>>I'm looking into the ability to create a mailmerge template (in the web browser control) and display when values are being filled in from a table. Just the way Word does it. I have been able to create a text editor from the IE web control (see attachment).
>>I want to be able to create a button on the toolbar to insert a mailmerge field which is just a placeholder for the actual value after merging (just like in word).
>>
>>Moreover The HTML should preserve the mergefield so that the mergefields can update the values if they change.
>>
>>Has anyone have experience with this ?
>
>Walter,
>
>Can you insert a
>
><span id="fieldid" class="mergefield">Field name</span>
>
>in the document that the editor will not change? If so, you could pre- or post-process your document and fill in the fields according to their ids.
Thanks antonio,
Do you happen to have some VFP code to iterate throught the document to replace those values ?