Formatting or using Display pattern for XFA Field Data in XDP

Avatar

Avatar

manug6844664

Avatar

manug6844664

manug6844664

11-12-2020

Hi Folks

We have XDP generating PDF as Dynamic XFA PDF with data filled using only Display pattern for Telephone like text{'('999')'999-9999} or SSN like text{999-99-9999}. When PDF generated in opened in Acrobat reader or chrome browser it displays fine but when it is opened in DocuSign Portal then display pattern is lost.

Client is looking for if we can manipulate rawValue using Javascript and save it along with formatting in rawValue so that it displays same formatting or pattern when opened in DocuSign Portal.

 

Question is is it a good practice to manipulate rawValue and store with pattern? 

 

Any alternate suggestions are also welcome

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Kosta_Prokopiu1

Employee

Avatar

Kosta_Prokopiu1

Employee

Kosta_Prokopiu1
Employee

15-12-2020

I am not sure that this will solve your problem. XFA based PDFs require a XFA render engine in the client when they are interactive and dynamic and on the server if they are rendered as server-based PDF. XFA Scripting only works in these contexts. The alternative is that you flatten/convert the XFA PDF to a "print"-PDF finalizing the content. Then the field content is not a field data any more but digits as part of the overall content. This should not change no matter where you open it.But I guess your DocuSign process includes data ingestion/merging which would not work then.

DocuSign most likely does not support XFA PDF forms directly. There probably is some form of conversion going on which looses you all XFA specific functionality. If it then also merges data from the signing process it may do so at a format/locale active on DocuSign and it therefore looks wrong.

Answers (0)