MailMerge: manual insert a value for a field

Is it possible to insert manual a value for a field.
For example: In my word document i have following field: “Name”
Is it possible when i enter a value in a textbox and press a button, that the value in the textbox is mapped on the field in my word document?
I know it is possible when i create a custom datatable with one column but i’m wondering if there is an easier way to do so.

Hi,
There’s no need of creating a data table, you can use another overload of MailMerge.Execute that accepts an array of field names and an array of field values. However, nothing prevents you from setting the merge field value manually: simply move to it using DocumentBuilder.MoveToMergeField and insert some text there using DocumentBuilder.Writeln. Bookmarks are also applicable for this purpose.