Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Problem: Not able to change Signature field reason code Dynamically using signatureSetSeedValue

Avatar

Level 1

 

Problem: Not able to change Signature Settings Dynamically.  

What I want: Need to change the Signature Field Reason code Dynamically upon selecting Radio Button.

Here is My Code:

var mydoc = xfa.resolveNode("FormData.P3_443.signature[2].ePadSignatureField3");

mydoc.signatureSetSeedValue(
{
reasons: ["Advisor"],
flags: 8
} )

Error Message:

TypeError: mydoc.signatureSetSeedValue is not a function

9:XFA:FormData[0]:P3_443[0]:signature[2]:ePadSignatureField3[0]:validate'

  

Source Code: Acrobat Code for Signature.

  

// Obtain the signature field object:

var f = this.getField("mySigFieldName");

f.signatureSetSeedValue(

{ reasons: ["This is a reason", "This is a better reason"],

flags: 8

} )

0 Replies