Expand my Community achievements bar.

SOLVED

Formatting or using Display pattern for XFA Field Data in XDP

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

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.