0

I want to ask, can a single user have multiple location signature but just one in signature panel ? img1

it is possbile ?

img2

blinkbink
  • 89
  • 5
  • Please share that PDF that you think has two signature locations. – Tilman Hausherr Apr 11 '23 at 09:00
  • no, i mean i want to create like that, is possible ? – blinkbink Apr 11 '23 at 09:13
  • No, there's only one appearance for a signature. But you could of course create two placeholders (i.e. empty signature fields) and then sign only one of them. – Tilman Hausherr Apr 11 '23 at 11:20
  • 1
    Well, you can make PDFBox create a signature with multiple widgets but according to the current PDF spec (ISO 32000-2:2020) such structures are invalid. Validators working according to the (very!) old ISO 32000-1:2008, though, may accept such signatures. And there also are a number of validators that don't care. The PDFBox example code works according to spec and does not create multi-widget signatures. – mkl Apr 12 '23 at 08:56

1 Answers1

1

Yes that is possible however forbidden starting with PDF Spec 2.0. In smaller PDF versions it is possible to have one signature field (what you call "just one in signature panel") with multiple widgets.

There are several threads here on SO describing it in more detail: Here, here and here.

Please note that the examples are using iText as a PDF library. (So the code using PDFBox looks different and might not be possible out of the box)

Lonzak
  • 9,334
  • 5
  • 57
  • 88