Formatting and calculation after programmatically merging forms and setting field values
I am using C# and Spire PDF to merge PDF files and set field values. The form is not intended to allow manual entry of any field data. The user enters their values using an HTML form - their entries are saved to a database and then programmatically entered into the PDF form.
So far everything above is working fine, but the form requires calculation and field formatting. Some fields are percentages, some are currency, some are integers, etc.
My problem is that field formatting and Javascripts do not get triggered when the field values are entered in C#. I know the scripts work and I know the field formatting is correct since it does all trigger once I change a field manually.
How can I trigger field formatting and calculations after programmatically setting field values?
