We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Calculated Fields when prefilling


When prefilling a form using importxml method on the form object
what calculation functions are supported?
more specifically are javascript function supported?
the pdf form we are trying to prepopulate has 2 fields for a value that we normally store in one field
what we want to do is split the one value into the 2 separate fields on the form
we are using this function in the Custom Calculation script

car fein = this.getField(“wi:FEIN”).value;
var pos = fein.indexof(":");
event.value = fein.substring(0, pos);

Hi Kelly,

Thank you very much for considering Aspose.

As discussed on the chat, this feature is currently not supported, however I have logged a new feature request as PDFKITNET-13755 in our issue tracking system. Our team will look into this and you’ll be updated via this forum thread once the feature is supported.

We’re sorry for the inconvenience.