0 Replies Latest reply on Oct 17, 2011 8:22 AM by Raghu-AdobeDesigner

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

    Raghu-AdobeDesigner

       

      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

       

       

      } )