Digital signature properties field name via javascript

I am creating secure digital signature fields with random number names with similar prefixes.  The idea is to have multiple fields available in a single regular PDF (non portfolio).  So on each sheet we sign 3 fields.  One field is a name, another is a date and the last is a release.  This goes on every sheet and the PDF would contain up to 1500 pages.  Adding a random number to the end of each field name was the only way to make this work....now I have a problem of finding the particular fields for my script to sign the sheets. 
I am guessing that there must be some way to identify how many fields I have on a sheet and return the name of all the fields.  If I can get the name of all the fields I can use that info to run my script to place the digital signature appearances in their correct field.  My field names all begin with either 'Date', 'Sig' or 'RFC' followed by a random number to avoid duplicate fields.
So in a nut shell, how can I find the names of the fields via JavaScript?
Thanks you!

Are you able to add another prefix, specifically using hierarchical field names that include the page number? For example, on page one the fields could be named:
P1.Date[random number goes here]
P1.Sig[random number goes here]
P1.RFC[random number goes here]
You can then get all of the P1 fields like this:
var fields = getField("P1");
and then use the getArray method to get an array of the individual field references and iterate through the array.
Otherwise, you can loop through the fields and look at the page property of each to determine which ones are on which pages. You can use the getNthFieldName document method and numFields document property to do this.

Similar Messages

  • Interactive Form - digital signature and fields locked

    Hi everyone,
    Lets say we have 2 input fields in the Interactive Form.
    In addition, we have a digital signature field that locks.
    How can I specify which fields I want to lock ?
    Thanks
    Regards.

    Hi David,
    Lets say you have a digital signature field. What you could do is on the click event of the Signature field, you could Lock the 2 input fields.
    Say Text1 & Text2 (Names of the Inputfields respectively) by using the following Commands.
    Text1.access = "readOnly";
    Text2.access = "readOnly";
    Note : Before adding the code set the Language to "Java Script".

  • I need to verify that Acrobat Standard XI has the ability to add a digital signature form field to an existing PDF file.

    Can anyone answer this question for me?
    As in, a PDF that has already been created in a different version and has established form fields. Can I open it in Standard and add a digital signature to a field or do I have to use Pro, or does the form need to be recreated? The comparison chart is kind of unclear about this.
    Message was edited by: Danny Yoder
    Message was edited by: Danny Yoder

    Yes. It was possible in Acrobat X Standard and I do not think it was removed in Acrobat XI Standard. It does not matter with which version your PDF was originally created. You can always add fields.

  • Digital Signature filteration (eg: cn=TEST) Javascript code

    Hi
    Thanks in advance....
    Please find the details below :
    1. When you open the PDF you will see a button. OnClicking the button the signature window displays, this window is same as the window which appears on clicking the signature field.
    2. When you open this document in the Livecycle Designer you will see a JavaScript code written in the button. This code generates the window and displays all the signature deployed in the machine.
    Requirement : I need to put a filter on this button, when the user clicks the button it should only displays those signatures which belongs to the particular group/profile.
    Eg: cn=TEST. In this scenario it should display only those signature belonging to the TEST group/profile after clicking the button.
    Basically i want to restrict only a particular group/profile to sign the document. Let me know how can i achieve this functionality..
    I have attached the pdf for your reference.
    Regards
    Mahesh Pillay
    +91-9930315761

    Steve,
    Thanks for your reply...
    I had tried with the seed value but unfortunalty could not find the correct syntex/code for setting the seed value in my javascript code.
    Appreciate if could provide me the code , since i am not an expert in javasceript and i am trying this for a very long time...
    Thanks in advance...
    Regards
    Mahesh Pillay

  • !!! Digital Signature - get Signer name

    Hi all,
    I need to get the name of signer in DS process!
    I used the function ds_log_display and with a debugger i saw the name in one of the structure of another function bal_log_msg_read (called from above func.) .
    When i tried to use bal_log_msg_read  in my prog i get no messages because a <b>macro</b> in this function get the data as first step...
    I checked also:
    SAP_BAL_DEMO_05 - unsuccessfully
    BAL_DSP_LOG_DISPLAY -  unsuccessfully
    Bal_db_search - successfully
    balm, balhdr tables
    May be there is another solution to get the name of the signer.
    Please your help. i need a solution as soon as possible.
    Thanks in advance,
    Ronit

    hi
    please check if the folowing helps...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0fbaa71-cd8d-2910-5982-e30626035400
    http://abapcode.blogspot.com/2007/06/adobe-document-service-digital.html
    regards
    dinesh

  • Can Acrobat auto populate a date field upon digital signature of a form?

    We use several fillable forms with digital ID signature fields.  A business rule requires a date field next to the signature field.  Is it possible to define the date field to auto populate once the user signs the form?  I can't check this in Acrobat since I only have the reader.

    Hi,
    The short answer is yes, but of course you'll need to get Acrobat to edit the PDF file.
    Generically, here is what  you are looking to do:
    Open the Digital Signature Properties dialog
    Select the Signed tab
    Select the This script executes when the field is signed radio button
    Click the Edit button
    Add the code snippet below to the JavaScript editor
    Click the OK button on the JavaScript editor
    Click the Close button on the Digital Signature Properties dialog
    // JavaScript code to add the date at signing time
        var currentTime = new Date()
        var month = currentTime.getMonth() + 1
        var day = currentTime.getDate()
        var year = currentTime.getFullYear()
        var signingTime = day +"/"+month+"/"+year  //Modify into your preferred format
        var f = this.getField("Text1");  //Modify the field name as necessary
        f.value = signingTime;
    Good luck,
    Steve

  • Adding Javascript to a Digital Signature

    Hello Everyone,
    I have been browsing the forum for the good portion of the last 2 days and have been unable to fix my problem (if it is fixable).  I wasn't really sure what forum to post it, but since it mostly a Javascript question and I am not exerienced in Java, I posted it here.
    I created a form with Acrobat Pro XI and will be read in Reader X.  My goal is to be able to insert a digital signature from the Forms menu on Acrobat and within the Digital Signature Properties, Signed tab, I would like to input Javascript into the "This script executes when field is signed:" section.  This script would email the document as a PDF with all of the form fields locked or flattened.  If possible I would like to change the name of the document and add specific subject line to the email. 
    I have tried using the following script bu it errors out on the cSubmitAs.
    this.submitForm({cUrl: “mailto:mail@domain”, cSubmitAs: "PDF",})
    Any help would be greatly appreciated,
    Eric

    The option to lock won't be available if there's another unsigned signature field present, which you can hide on the page and make read-only.
    A better option though is to preconfigure the signature field so that the lock document option isn't available. For more information, see: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.764.html

  • Annotation field locked and subsequent digital signatures

    Hi all,
    i'm testing my PAdES digital signature library in Obj-C and i encountered this kind of PDF file
    http://dl.dropbox.com/u/3995257/PDF/Locked.pdf
    Acrobat Reader tells that the document is locked by a signature (Signature2). As far as i know locked means that the file can't be modified but is is impossible to append a digital signature too?
    I tried to sign the document with my lib and as expected the second signature invalidates the first.
    http://dl.dropbox.com/u/3995257/PDF/Sign_Locked.pdf
    But... i tried to sign for the third time the previous file. I would expect that the first (locked) signature would be invalid but the second and the third would be not.
    http://dl.dropbox.com/u/3995257/PDF/Sign_Sign_Locked.pdf
    Despite my expectations, only the last signature is avalid according to Acrobat Reader.
    Does the first locked signatures invalidates the subsequents? Or more simply i can't sign a Document locked PDF?
    Thanks

    Yes, because the first is a lock – anything you do after the fact will invalidate.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 28 Sep 2011 02:11:54 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Annotation field locked and subsequent digital signatures
    Annotation field locked and subsequent digital signatures
    created by Luigi Cuomo<http://forums.adobe.com/people/Luigi+Cuomo> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/3942243#3942243

  • Making Multiple Digital Signatures Read-only in Form (Acrobat 9)

    I have created a form which includes two (2) digital signature fields.  What needs to occur with the form is Person1 fills the form and then digitally signs it thereby making the form fields read-only .  Person2 then digitally signs the form which should make Person1's digital signature read-only.
    Here's what I've done:
    1) For the Person1 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields except these> and selected the Person2 digital signature field.
    2) For the Person2 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields> since once Person2 signs the form I do not want Person1 to be able to clear the digital signature and make changes to the form.
    Here's what actually occurs:
    Step 1 above works fine.  Once the signature is applied all the form fields are read-only except for the Person2 digital signature field.
    The problem is that after Person2 digitally signs the form, even though I selected all fields as read-only, Person1 can 'clear' their signature which leaves all the form fields available for editing and leaves Person2's digital signature still on the form.
    I honestly don't care about 'validating' signatures on this form since it's going to be printed but I cannot allow Person2's signature to remain on the form and allow Person1 to edit the form.
    --Mike.

    Hi!
    I have the same problem. Have not been able to figure it out, although tried everything.
    Hope somebody can help
    - MackeMan

  • Securing pdf document with digital signatures

    I have a pdf document that has digital signatures. We need to secure it so no one who has input their digital signature can go back in later, delete their signature and then 're-sign' it. But I get an error message telling me I can't secure the document because it has digital signatures.
    Is there any way to secure the document so only I can secure/unsecure it after digital signatures have been input?
    Thanks!

    You don't need to use document encryption to lock the PDF file. You can set the signature field properties to mark all fields as read-only at signature creation. Try this:
    Select the Tools > Toolbars > Advanced Editing menu item
    Click the Select Object tool on the Advanced editing toolbar (it's the arrow icon)
    Right mouse click on the signature field and select Properties from the pop-up menu
    Select the Signed tab on the Digital Signature Properties dialog
    Select the Mark as read-only radio button and All fields from the corresponding drop-down list
    Click the Close button on the Digital Signature Properties dialog
    Select the File > Save As menu item and save a copy (in other words, leave the original copy as is in case you find you locked yourself out of the document, that way you'll have a fall-back recovery option)
    Good luck,
    Steve

  • Digital Signatures in BIP

    The limitations mentioned below come from the BIP Administrator and Developers Guide 10.1.3.4, I thought these were removed in 11g but I see the same limitations in the 11g doc. Can anyone confirm if these limitations still apply for 11g and when will they be removed?
    Limitations
    Use of digital signatures with Oracle BI Publisher output documents has the following limitations:
    •     Only a single digital ID can be registered with BI Publisher. Future releases will support multiple digital IDs.
    •     Only reports submitted through BI Publisher's Schedule Report interface can include the digital signature.
    •     The digital signature is enabled at the report level; therefore, multiple templates assigned to the same report share the digital signature properties.

    Regarding #1, the short answer is no. Every time the file is digitally signed it necessitates it being saved. That's what allow "View Signed Version" and signature roll back to work.
    As for # 2, it depends on the version of Acrobat. Versions 6 and 7 allowed anyone to remove a signature as long as it wasn't a certifying signature. In the case of the certifying signature on the signer could remove. Beginning with version 8 you can only clear if you have access to the digital ID that was used to create the signature.
    Steve

  • Loading Digital Signatures online

    Hello,
    I have a PDF that needs to be filled out, digitally signed, saved, and the retrieved whenever necessary, all online. All of that works just fine for plain text form fields, but when it comes to the Digital Signature, the field is rendered unsigned. What I'm doing is merging a FDF file with the desired PDF online and then viewing that. If I edit the FDF file to merge with a local file, the signature shows up, however editing the same file again to have it point back to an exact copy of the PDF on the server causes the signature field to be left blank. Any ideas are appreciated.
    Thanks,
    alex.rupp01

    Hello again,
    I apologize for the double post but I am still in need of some advice on this topic. Any input is appreciated.
    Thanks

  • Alternative Solution for Form 16 with Digital Signature.

    Dear All,
    My Basis people have tried lot, but they have failed to set up ADS Server, for Digital Signature to be implemented for Form 16.
    Can anyone, please provide me with any other solution to get Digital Signature implemented may be via some Z programs or Z customizations. Kindly help me out, as this is an important requirement from the board members of my client. If I fail on this, it would be having some serious repercussions.
    Looking forward for an earnest reply. Please don't provide solutions related to SE78(Sapscript .jpg upload).
    With Best Regards,
    Mithilesh Kumar Singh

    Form 16 Configuration for ESS - ERP Human Capital Management - SCN Wiki
    1589254 - Form 16 central note for ADS configuration
    see the PDF Form 16 (print preview) in PC00_M40_F16 transaction in ECC (R/3)

  • Get field names of an internal structure

    Hi,
    In my program, I have a structure created via begin-of/end-of.
    A table is based on this structure and later on, I use a macro that deals with the field names and values.
    I'd like to make the macro dynamic, in that it gets the table field names with hardcoded values.
    Is there anyway to get the names of my structure field names via an FM or through coding?
    Thanks,
    John

    Two ways:
    1) If you define your structure based on a data dictionary structure, you can use function module DDIF_TABL_GET to get the structure field names.
    2) In NetWeaver version 6.0 and above, you can use Run Time Type Services (RTTS) classes for this purpose.
    Here is sample code for RTTS:
    data: BEGIN OF wa,
            field1 type c,
            field2 type d,
            field3 type i,
          END OF wa.
    DATA: r_descr TYPE REF TO cl_abap_structdescr,
          wa_comp TYPE abap_compdescr.
    r_descr ?= cl_abap_typedescr=>describe_by_data( wa ).
    LOOP AT r_descr->components INTO wa_comp.
      WRITE:/ wa_comp-name.
    ENDLOOP.

  • Reading the  Digital Signature No.

    Hi,
    I have a Digital Signature for a Lot, via QA13 I can see the digital Signature , but how can I read the data. In the Structure of the table TC71 is not a connection to the Lot.
    The table TC78 is empty.
    Any Ideas.
    Regards Ralf Rasch

    the  answer is: Read with the FM  SIGN_READ  or directly via Table TC73
    Edited by: Ralf Rasch on Jan 11, 2008 8:44 AM
    Edited by: Ralf Rasch on Jan 11, 2008 8:45 AM

Maybe you are looking for

  • Not allowing to change the plants in me51n transaction

    hi all, my requirement is to not allow the user to use different plants at item level(10,20 etc) . for that i have used the user exit MEREQ001 in the function module EXIT_SAPLMEREQ_010 i have written following code DATA : WA_EBAN LIKE EBAN,        WA

  • Just got Apple TV

    And I like it... I can listen to my music, watch my music videos, movies, photos, YouTube , Netflix, etc... My only question/concern about this is when I initially turn it on, I have to open iTunes on my iMac. This isn't a problem, exactly, but suppo

  • Parallel option in expdp

    expdp user/pass DIRECTORY=Export DUMPFILE=SID.DMP LOGFILE=SID.LOG FULL=Y PARALLEL=8  Parallel=8 and Parallel=4 take the same amout of time... I was wondering if it should, or if there is a parameter that should be set differently in the database.. wi

  • Chnaging logical file path - Migrated from As/400 to wintel

    Hi, How do i change the default file path of logical file . I need to change path of a logical file in MI34 tcode from  C:\usr\sap\DEV\SYS\global  to out new Virtually created directory. Recetly We moved from OS/400 to WINTEL environment I wenin to F

  • Photoshop CS3 - Vista | slow file opening

    Hello NG, i dont know the source for this problem, but i think after the last Vista Update Photoshop needs such a lot of time to work and also to open files. I have reinstall the new update of Photoshop from adobe.com.......but nothing... Is there a