Manuals

 

SetaPDF_Signer::setFieldName()

Description

class SetaPDF_Signer extends SetaPDF {
void setFieldName ( string $fieldName ) }

With this method you can define the name of the signature field added to the PDF document.

If a form field with the same name already exists in the document you want to sign the name of the signature will be suffixed with a number. For example if a field named "Signature" already exists the signature fields name becomes: "Signature0" or if this also exists "Signature1",...

If you're using a development license the signature
fields name is fixed and cannot be changed!

Parameters

$fieldName

The signature field name.

The default value is: "Signature"

Return Values

True is everything works as expected or an SetaPDF_Error object if an error occurs.