I have an agent that calls doc.ReplaceItemValue(“Fn”, “value”) where those fields are “Sign if enabled…” and are placed in a Controlled Access Section on the form.
After changing the values, I call doc.computeWithForm(true, false), doc.sign() and then doc.save(), but when re-opening the documents in the UI, I get the dreaded “Bogus Signatures Dudes!” error message. This is because the section was not actually signed when I called doc.sign().
How do you programmatically sign a Section of a document after your programmatically change field values that are contained in that section’s signature stuff? Obvious googling isn’t showing anyone talking about this.