Hello, this is the first day of testing this product. Currently in the trial version, I’m trying to read data from a DOCX form; reading it works fine. However, when I try to update the value of a FormTextData element, it’s not saved to the document after the .save() function is called.
I followed the example in the documentation, but this simple test doesn’t seem to write anything to the exported document.
var fullNameData = (FormTextData)formData["FullName"];
fullNameData.Value = "Jane Doe";
current product version : 2025.10.101
.NET version: 9.0.306
OS: macOS 15.6.1
No problems with FormDropDownData, FormCheckBoxData.
Have I missed something, or is this a bug?
Thanks,
vmorel
Hi vmorel,
Unfortunately, I was unable to reproduce this issue, setting the FormTextData.Value should result in an updated field.
Can you please send us the input DOCX file you used for testing?
Regards,
Mario
Hi,
Thank for your answer, I just send an email with all these informations.
Maybe this problem can appear with free licence and the next params section ?
ComponentInfo.FreeLimitReached += (sender, e) => e.FreeLimitReachedAction = FreeLimitReachedAction.Stop;
Regards,
vmorel
I made a test without FreeLimitReachedAction.Stop; and a smaller document => the problem still exists.
Regards,
vmorel
I think i found the problem.
I get the current document and I clone the Instance of the Document with this :
document.Clone(true); It seems in the Clone(), all FormTextData are not fine cloned.
It work without clone function and directly used the original reference.
vmorel
Hi! There was indeed a problem with form fields when cloning a document. We fixed it so please try again with this NuGet package:
Install-Package GemBox.Document -Version 2025.11.107
Note that this is a hidden (unlisted) version. To install it, you’ll need to run the above command on the NuGet Package Manager Console (Tools → NuGet Package Manager → Package Manager Console).
Does this solve your issue?
1 Like
Hi Marko,
I’ve just tested the new version, and the patch works perfectly.
Thank you very much for the quick response and the fix!
Best regards,
vmorel