Security on Acrobat Form

My client gave me a form with Changing the Document: Not Allowed and Document Assembly: Not Allowed.
Is there any way that I can make myself a copy, as the developer, of this form with full access? Somehow copying the content and creating a new file? My problem is that I have an Acrobat javascript that will not work in LiveCycle (copied below). In Acrobat, this script is in the button properties, with a .js file in Acrobat>javascript as a trusted function. It works in Acrobat, but I can't get it to work in LC.
newDocName = "";
f1 = this.getField("topmostSubform[0].Page1[0].Last_Name[0]").valueAsString;
if (f1!="") newDocName += f1 + " ";
f2 = this.getField("topmostSubform[0].Page1[0].First_Name[0]").valueAsString;
if (f2!="") newDocName += f2 + " ";
f3 = this.getField("topmostSubform[0].Page1[0].Date[0]").valueAsString;
if (f3!="") newDocName += f3 + " ";
f4 = this.getField("topmostSubform[0].Page1[0].Email[0]").valueAsString;
if (f4!="") newDocName += f4;
newDocName = newDocName.replace(/[\\,\/,\:,\*,\?,\",\<,\>,\|,\,,\n,\r]/g,"");
docPath = this.path+"";
docPath = docPath.substring(0, docPath.lastIndexOf("/")+1);
mySaveAs(this,docPath+newDocName+".pdf");

Yes, I agree that these options aren't useful in this case. And to answer your question, I did ask for the document with full access, but the customer couldn't provide one. I think that she created the form in LiveCyle, which, I gather, is not compatible with Acrobat tools for objects. Do you have any suggestions on how to mofify this javascript, which works in Acrobat on a button, so that it will work in LiveCycle?
newDocName = "";
f1 = this.getField("topmostSubform[0].Page1[0].Last_Name[0]").valueAsString;
if (f1!="") newDocName += f1 + " ";
f2 = this.getField("topmostSubform[0].Page1[0].First_Name[0]").valueAsString;
if (f2!="") newDocName += f2 + " ";
f3 = this.getField("topmostSubform[0].Page1[0].Date[0]").valueAsString;
if (f3!="") newDocName += f3 + " ";
f4 = this.getField("topmostSubform[0].Page1[0].Email[0]").valueAsString;
if (f4!="") newDocName += f4;
newDocName = newDocName.replace(/[\\,\/,\:,\*,\?,\",\<,\>,\|,\,,\n,\r]/g,"");
docPath = this.path+"";
docPath = docPath.substring(0, docPath.lastIndexOf("/")+1);
mySaveAs(this,docPath+newDocName+".pdf");
I tried putting this in the Script Editor with MouseUp, but it doesn't work.

Similar Messages

  • Acrobat Forms Question - Secure Form Handling

    I'll preface this post by saying I'm not a designer nor have I ever designed an Acrobat form.  If the following is possible, I'll probably have to find a developer to do it for me.
    I have a small business that needs to receive and pass around by email a completed Acrobat form with sensitive personal data in it.  I want to know if it's possible to do the following:
    User goes online and opens the form with Acrobat Reader (assume Windows and Mac platform users).
    User enters the data required in the form.
    When data entry is complete, user clicks a button toward the bottom of the form that applies a predetermined password to the form.  I predetermine the password and it will be coded into the form.  The password will be required to open and print.  Ideally two passwords exist each with a different security level.  One allows only to open and read the completed form.  The other password allows opening and printing.
    Once the form is password protected, they can then click a button in the form to email it to a predetermined email address.
    Again, assume the user entering the data into the form only has Reader, not full Acrobat.
    Is this possible?
    Thanks.
    Andrew

    No, not all of that is possible, not even with Acrobat. When you have to transmit data securely without the user somehow encrypting the data, it's easiest to get a web server involved. The data can be securely transmitted (via HTPS/SSL) and stored, but it does involve a bit of server-side programming as well as setting up the form. You also have the option of just transmitting the form data, as opposed to the entire PDF. When you transmit the entire PDF with Reader, the document has to be Reader-enabled, which comes with licensing restrictions on the number of times you can use data from a particular form. This is not an issue when just sending the form data, which can be imported by you into a blank form whenever needed.

  • Edit a secure interactive PDF form without regenerating form?

    I have a client who needs for me to make a minor change to a password-secured interactive PDF form we've created for her. I have the password, of course, but Adobe Acrobate won't let me know enter the password without first saving the form as a copy. This, however, strips all of the interactivity from the form. I don't want to have to redo all of the fields just to make this minor change, and I imagine I'm just missing the obvious method of entering the password.
    So, how to I disable the password without wiping out the interactive fields so I can make the change then save the form again with security and interactive form fields intact?

    Thanks, Luke. They do. But then when I go to add the password security back to the document, I'm told:
    You cannot change security on this document because the document enables extended features in Adobe Reader. You can save a copy without extended Reader features using File -> Save A Copy.
    This, of course, takes me back to square one. I need to make the change but keep the same password protection (disabling the ability to edit the file) intact.

  • Esigning acrobat forms

    I like to esign recieved acrobat forms but that file is rejected at the end of upload.
    (The forms returns to my mail in-box after completed by the resonder, ordinary Acrobat Forms )
    How can I 'transform' that file into an ordinary pdf that will not be rejected.
    This couestion leads into a more general question about what files you can esign.
    I have been testing a bit with portfolios with and without secured files.
    The reason for this testing is to stamp a secure time on the file.
    The uploads are mostly rejected.
    Please let me have your comments
    regards

    I'd have to check for sure, but one issue with forms is that you can change the data after signing, which is probably not the behavior you would like to see.
    You can flatten the form fields in a PDF which brings the data into the main document layer and makes it uneditable.
    Ordinary PDF forms (acroforms) are pretty easy to flatten.
    In Acrobat Pro, choose Advanced>Preflight and go to the Fixup category. Choose Flatten Form Fields and Annotations.
    You can also flatten form fields by using the PDF Optimizer.
    If you only have Acrobat Standard, you can print to the Adobe PDF Printer driver to flatten the document or use a script to flatten the form.
    See: http://blogs.adobe.com/acrolaw/2010/02/add_a_flatten_document_menu_item.html
    That script mentioned in the article also works in Pro.

  • Help with complex Acrobat forms

    Hi Everyone,
    Background: I worked with another developer and completed a form for one of our clients but I need to know if the below change requests are even possible and if so if anyone would like to help with finishing the form. I am definitely willing to pay for an experts services as long as this can be done in a timely manner.
    What the form is - Our client wants a form that has text fields, drop down boxes and pages where images can be placed into the file and arrows drawn on it to point where the images are located on other images (some images are store layout maps). They would like to send this file out to their store managers, have them fill it in and then they would like the completed forms sent back so all of the information that was filled in (names, store names, addresses, square footage, etc) can be gathered into a database or excel file.
    What is completed so far
    - Cascading drop down boxes (user clicks on first drop down and whatever is selected changes the second drop down options, etc)
    - Most of the text fields for information gathering including city, state, store manager etc
    - Metric unit conversion boxes
    - Header text fields (read only) are used on several of the pages and are a combination of choices made in the drop down boxes and text fields.
    - Page footer info including page number
    - The over all layout of the pages is set
    Requested changes/additions
    Major must have:
    - Page Addition - There is a product page in the form (page 10) and the different stores will have a different number of these products to enter into the form so is there a way to add an ADD PAGE button on the page that when pressed will copy the product page to make a new product page? Now the product page has cascading drop down form fields on it so I would want to make sure the form fields are separate iterations of the form fields not just a duplicate of what was on the product page.
    - Footer adjustments - If we can do the above of adding pages then is it possible to at that point adjust the footer to reflect the page number changes? The footer shows the current page number then the form name and date.
    - Gather info - What is the best way to distribute these forms so that when returned completed the information can be gathered? I tried distributing via email which seems to work ok but the files might end up being too large for email so what is the best way to gather the completed info if say the files were ftp'd back?
    Minor:
    There are several minor change requests that I know are doable or that if not possible we can disregard. One that I am not sure about is if the color of the arrows in Acrobat can be changed from the default red?
    At first I was assuming that the Clients that get the forms needed Acrobat Standard or Pro 8 or 9 because I thought that the only way to add images was to use the Touch-Up Tool under advanced tools and right click to Place images. However I am pretty sure that if Reader Rights is enabled that images can be copy pasted into the file too if this is incorrect please let me know.
    If the above is not doable or if there is a better solution other than Acrobat forms to gather client information including allow the client to add images and place arrows then please let me know your thoughts.
    Any help or suggestions would be greatly appreciated and again id like to commission this out to anyone who is up for the challenge.
    Thanks in advance
    Jason

    Perhaps a better question is does anyone know a good developer?

  • How can I click Acrobat Form button from VB (Excel Macro)?

    I may be asking in the wrong forum, but I'm at my wit's end and think just about anyone with VB experience would be able to tell me what I'm doing wrong. Is there a forum for interapplication/ VB/ forms questions?
    Suffice to say, I know very little about VB (or any of the other languages behind the software), but I've adapted code which has allowed me to get almost everything I need done, thus far.
    I'm trying, desperately, to finalize a Macro which enables me to export a lot of Excel info into individual Acrobat Forms and save them all independently. This all works fine, but there is one last thing I've not been able to accomplish: I need to remote click (or 'focus on') a button in the Acrobat form in order to select the icon button (dynamically set image relevant to each individual form, base on excel cell). The button's name, in Acrobat, is 'Photo1' and it is located on the 3rd page of the form. I've several SendKeys commands in order to save each file with a unique, row specific name.
    Option Explicit
    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    Private Const SW_NORMAL = 1
    Public Const PDF_FILE = "Louisiana_Historic_Resource_Inventory Worksheet.pdf"
    Public Sub ClickMe()
        Application.Photo2_Click
    End Sub
    'this was an attempt to setup a sub which I'd call later...
    'all of the below stuff works fine- fills out the form, checks boxes, etc. as necessary
    Public Sub Export_Worksheet()
        Dim sFileHeader As String
        Dim sFileFooter As String
        Dim sFileFields As String
        Dim sFileName As String
        Dim sTmp As String
        Dim lngFileNum As Long
        Dim vClient As Variant
        Dim x As Integer
        ' Builds string for contents of FDF file and then writes file to workbook folder.
        On Error GoTo ErrorHandler
        x = 1
        sFileHeader = "%FDF-1.2" & vbCrLf & _
                      "%âãÏÓ" & vbCrLf & _
                      "1 0 obj<</FDF<</F(" & PDF_FILE & ")/Fields 2 0 R>>>>" & vbCrLf & _
                      "endobj" & vbCrLf & _
                      "2 0 obj[" & vbCrLf
        sFileFooter = "]" & vbCrLf & _
                      "endobj" & vbCrLf & _
                      "trailer" & vbCrLf & _
                      "<</Root 1 0 R>>" & vbCrLf & _
                      "%%EO"
        vClient = Range(ActiveSheet.Cells(989, 1), ActiveSheet.Cells(989, 90))
        Do While vClient(x, 1) <> vbNullString
        sFileFields = "<</T(Street Number)/V(---Street_Num---)>>" & vbCrLf & "<</T(Street Direction)/V(---Street_Dir---)>>"
    ''''''''''''theres a TON of the above correlations, all in the same format
            If vClient(x, 28) = "E" Then
            '     sTmp = Replace(vClient(1, 3), "-", "")
                sFileFields = Replace(sFileFields, "Cond-Excellent", "Yes")
            Else
                sFileFields = Replace(sFileFields, "Cond-Excellent", vbNullString)
            End If
            If vClient(x, 28) = "G" Then
                sFileFields = Replace(sFileFields, "Cond-Good", "Yes")
            Else
                sFileFields = Replace(sFileFields, "Cond-Good", vbNullString)
            End If
    ''''''''''''theres another TON of the above replacements, all in the same format
            sTmp = sFileHeader & sFileFields & sFileFooter
            ' Write FDF file to disk
            If Len(vClient(x, 1)) Then sFileName = vClient(x, 1) Else sFileName = "FDF_DEMO"
            sFileName = ActiveWorkbook.Path & "\Exports\" & sFileName & ".fdf"
            lngFileNum = FreeFile
            Open sFileName For Output As lngFileNum
            Print #lngFileNum, sTmp
            Close #lngFileNum
            DoEvents
            ' Open FDF file as PDF
            ShellExecute vbNull, "open", sFileName, vbNull, vbNull, SW_NORMAL
            Application.Wait Now + TimeValue("00:00:04")
            'Application.Photo2.Focus
    'PDF_FILE.Photo2.Focus
    'Application.Photo2_Click
            'Application.SetButtonIcon "Photo1", ActiveWorkbook.Path & "\Exports\" & "vClient(x, 1)" & "-1.pdf", 0
            'Application.Field.SetFocus "Photo1"
            Call ClickMe
    ''''above is where i'm trying to click the button, although I'd be just as happy if I could 'focus' on the button.
            Application.Wait Now + TimeValue("00:00:02")
            'Application.SendKeys (vClient(x, 1))
            'Application.SendKeys ("-1.pdf")
            'Application.SendKeys ("{ENTER}")
            'SetForegroundWindowap
            Application.SendKeys ("%fap")
            Application.Wait Now + TimeValue("00:00:03")
            Application.SendKeys (vClient(x, 1))
            Application.SendKeys ("{ENTER}")
            'If Len(vClient(x, 1)) Then PrintLine (vClient(x, 1)) ' Else sFileName = "_Check-Parcel"
            ''If Len(vClient(x, 1)) Then SendKeys = Len(vClient(x, 1)) Else sFileName = "_Check-Parcel" {ENTER}
            ''ShellExecute vbNull, "GetSaveFileName", sFileName, vbNull, vbNull, SW_NORMAL & vbCrLf
    '        ShellExecute vbNull, "print", sFileName, vbNull, vbNull, SW_NORMAL
            Application.Wait Now + TimeValue("00:00:02")
            Application.SendKeys ("^w")
            'ShellExecute vbNull, "close", sFileName, vbNull, vbNull, SW_NORMAL
            x = x + 1
        Loop
        Exit Sub
    ErrorHandler:
        MsgBox "Export_Worksheet Error: " + Str(Err.Number) + " " + Err.Description + " " + Err.Source
    End Sub
    I'm pretty sure one of many issues is that I don't know the fully-qualified name of the field/button, or how to properly identify it in the Macro.
    I have no doubt that my approach, if it's even possible, is clumsy and unfounded, but I am (obviously) flailing around for anything that can achieve clicking this confounded button. Any help appreciated.

    It was a button option - I haven't got access to Acrobat 8 here at home, but it was something like
    Add menu item
    File - attach to email
    When the button was clicked, the email application would open with a new email and the PDF would be attached, so you could enter the recipients email address and send.

  • I need someone to write a Java Script for my Adobe Acrobat form. I do not know how to write Java Code

    I have never worked with Java coding and am in need of assistance for an acrobat form I am working on.
         - I have a form with a field identifier called BACompnayName (this is the field where they would enter their company name).
         - I then have a form field with two radials that says "Is the shipping address the same as the business Address" - "Yes" and "No" (the form identified for this field is SASame.
    What I am trying to accomplish:
         - If they click yes, I would like the form to fill in the information found in BACompanyName otherwise, leave it blank to be filled out by the person filling out the form.
    I appreciate any help.
    Thanks,
    Brett

    Something like the following?
    Checkbox for &quot;make billing address the same as shipping address&quot; doesn't work (JavaScript)

  • Acrobat XI Pro will not activate when trying to convert to an Acrobat form from an existing Word document

    My version of  Acrobat XI Pro will not activate when trying to convert to an Acrobat form from an existing Word document.  Acrobat not responding.
    Please advise
    John B

    Hi johnb69345359,
    I am sorry for the inconvenience caused. Lets try to resolve this issue.
    I would require few details in order to diagnose the issue correctly :-
    1) Are you able to launch Acrobat XI pro ?
    If yes, please try Help -> Repair option to repair Acrobat XI pro. Then try to perform the covert operation.
    2) Let me know the Operating system installed on your computer.
    3) Is there any error code or error message?
    Regards,
    Aadesh

  • Acrobat Form - SAVE AS ONLY function?

    I'm making forms in Acrobat that multiple users will be accessing. Is there a way to set a SAVE AS feature so that the user can only save a copy of the form, not save over the original?

    This forum is for the Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask PDF related form questions in the Acrobat forums: http://forums.adobe.com/community/acrobat/forms
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • Javascript in acrobat form field not working on IOS

    Can anyone help me with this script. I have found online. It works on MAC but not on iOS?
    its for an acrobat form field, to make cursor at end of text box jump to next.
    'if ( event.fieldFull || event.willCommit ) this.getField("Text1").setFocus();'
    I AM NOT A CODER!
    thanks
    KL

    in acrobat,

  • "Submit Form" doesn't work in an Acrobat Form.

    We created an Acrobat form which includes a "Submit Form" button, but this button does not work in Unix. Is this a known issue? If not, is there a fix for this?

    Thanks for reporting the issue , can you please send us one such PDF form in which you are facing the issue. Also do let us know the version of Adobe Reader you are trying this on and also the Unix Distribution you are using.
    thanks,
    -vaibhav

  • Acrobat Form Discount

    Hey ladies and germs.
    I need help.  I created a purchase form for magazine advertising. It shows rates based on montly group purchases.
    Size
    1 m
    3m
    6m
    9m
    12m
    total
    full page
    100
    95
    85
    75
    65
    total1
    1/2 page
    90
    80
    70
    60
    50
    total2
    1/4 page
    80
    70
    60
    50
    40
    total3
    I put a check box in front of each price. If you clicked that particular box it would autofill the total.  so if you click the 9 it would give the total as 675. (9x75) in the Total1 area.     Then at the bottom of the form it has an Ad Total, if someone were to purchase different size ads and placements.  The ad total, was or is the the sum of total1 thru total3 or how ever many I have. I think I have something like 12.
    Now I would like to put in a check box that if clicked will give a 20% discount to the Ad total box and show the new price..  If it isnt clicked than it is standard pricing. A little hook for first time buyers and all.  I am sure you catch my drift.
    I am a complete noob when it comes to using custom calculation script.  I am using CS4 on an Imac. If that helps any.
    Can someone please guide me through what the script needs to look like and any other changes I may need.
    btw, it woud be idea to have the new discounted total to appear in my Ad Total box.

    Have you been able to create an Acrobat form with named fields?
    Since you will be using AcroForms, your check box will either have the 'export value' or 'Off' as a value. but if you have a field for the discount rate and use the calculation option of 'Value is the _____ of the following fields:' and the decimal value for the discount, the field will show 0 or the discount rate, if you set the format to 'percentage' then the percentage rate will be displayed. And can then use the same calculation option to compute the total when you select the appropriate fields.

  • Acrobat form with submit button

    Have a coldfusion app that includes an acrobat form that contains a submit button.  The button submits the form to another CF page.  I'm making some fixes to this app and need to change where the form submits, currently it's going to production but i need it to go to test.  When I open the form in Acrobat 8 or Livecycle I don't see any script.  Anyone know where to change wheer this form posts?

    Not sure about LiveCycle, but here's how to do it in acrobat.
    1) Right click on Form Button -> Properties -> Actions
    You should see a list of actions associated with the button.  something like:
    - Mouse Up
           Submit a Form
    2) Select on "Submit a Form" and click "Edit" at the bottom of the screen
    3) Edit URL in "Submit Form Selections" window.

  • Acrobat Forms - receiving Images embedded in Distributed Forms

    Hi, I've been using the Acrobat forms through Live Cycle for a while now for small simple projects, but trying to implement it now in something a bit more complex (as well as learning more as I go).
    I've made a form in LiveCycle ES2 requesting Text, Radio Buttons ...
    ...BUT also that the respondee can send their company logo with the form. To make it simpler than just attaching the logo seperately in an Email.
    I've found the Image Field Object which allows the respondee to upload their Logo into the PDF which then gets mailed back to me.
    What I haven't seen is a way to extract this logo to a databank or similar.
    The text I can collect, sort through, and export as CSV or XML which is great, but other than the logos being embedded in the returned PDF, they don't seem to be accessible anywhere.
    I've probably overlooked it somewhere. (I hope). Can someone assist?
    (I'm also not certain what the difference between creating forms in LiveCycle and straight through Acrobat is, but I'll ask that in another question).
    Thanks Angus
    Acrobat X Pro
    LiveCycle ES2
    CS 5.5 Design Pro Suite

    Since your question is specific to Designer, ask in the LiveCycle forum. Be aware that adding pictures is a rather new process and may not work for folks with older versions of Acrobat or Reader (don't remember how far back this goes).

  • Adding attachments to an Acrobat Form

    Dear All, I hope you can help. 
    I have created an Acrobat form on a Mac using Acrobat XI ver 11.0.03.  Once I distribute the form I need the user to add an attachment (.pdf .xls etc) and then email it back.
    I thought Form Central would be a perfect solution, however having paid my subscription, I couldn't find the function anywhere. I then searched the forums only to find that Form Central can't deal with attachments.  Back to the drawing board!
    Now being forced to distribute the form manually (by email), I still need to allow users to add the documents above.  I am aware of the add attachment in the left menu item, but ideally I would like users to simply click on a button that opens a finder window to allow them to add attachments.
    I would really appreciate your help on this.
    Many thanks,
    J.

    The type of thing you want is possible, but if it needs to work with Reader the document must be enabled by LiveCycle Reader Extensions so it includes the embedded file usage right.
    The best you can do with a file that's been Reader-enabled with Acrobat is to manually attach a file as a comment. A button can be used to display instructions, but that's it. There is also the licensing restrictions that come into play when you enable with Acrobat.

Maybe you are looking for