Skip to main content
Known Participant
June 22, 2020
Pregunta

Button to open new PDF and populate fields

  • June 22, 2020
  • 1 respuesta
  • 2119 visualizaciones

I am guessing this is a 2 part question/answer:

 

1) I am looking to use a button to open a new pdf fillable form

2) When it opens that new form I want it to take the info on the form open and popluate certain fields

 

Is this possible?

Este tema ha sido cerrado para respuestas.

1 respuesta

Joel Geraci
Community Expert
June 22, 2020

It's possible but there are better and worse ways of accomplishing this. Will the second form always be known to you? In other words are the two forms always associated with each other?

Known Participant
June 22, 2020

Yes both forms will always be used.  One is a quote form than when it needs to be updated to an other I wouild like the user to use the button to create an invoice that would auto populate with the needed fields.

Known Participant
June 23, 2020

You won't be able to use the code I entered verbatim except for the disclosed line. Those are examples.

 

I suggest you go here and read a bit before attempting to script two forms to talk to each other. It's not complicated but it's not trivial either.


This is the error I am getting:


TypeError: Invalid argument type.
Doc.openDataObject:1:Document-Level:Invoice
===> Parameter cName.