View Single Post
 
Old 12-20-2017, 08:53 AM
pdxplorer pdxplorer is offline Windows 10 Office 2016
Novice
 
Join Date: Dec 2017
Posts: 6
pdxplorer is on a distinguished road
Default

Quote:
The grayed-out Insert Merge Field button tells me this isn't a true mailmerge main document and the mergefields are just being used as placeholders (a fairly common misuse of mergefields).
Yes, that must be the case.

Quote:
As for the field merely outputting «Service_AS», that's to be expected for your document before your C# code runs. What do you see after it has run?
That «Service_AS» output is what shows up on the resulting PDF after the C# service is run, which is not sending a value for that field (In this test I am sending in a value for a different checkbox to test that the AS field is left unchecked). What I have is: "Service output: «Service_AS»" and I would expect to see "Service output: ". When other fields are blank they show nothing, they do not show their name or placeholder.

Is it crazy to think that perhaps this form was originally created as a proper Mail Merge doc and then somehow turned into a normal doc, and now adding fields isn't possible? I am really unsure what is causing this behavior.

Thanks.
Reply With Quote