Hi…a .text value I am adding into an existing PDF form field does not align correctly.
The field is 9 digits in length and holds a currency values. It looks like:
___,___,___.00 on the form
When the currency value is added into the field:
Example on how I add value into PDF textbox:
Dim textBoxField As TextBoxField = TryCast(pdfDocument.Form(“field name”), TextBoxField)
textBoxField.Value = “155” 'this $155 dollars
in the resulting PDF text box the value looks like:
___,___,1.00 it should look like ___,_,155.00
When I click on the field the full 155 appears.
There appears to be a underlying Javascript running also.
Question - how best to fill this field correctly and how to remove or prevent the javascript from running.
Thanks you