Unlock the power of Acrobat SDK through our community.
Recently active
Hello. I am trying to script 2 to 3 comboboxes. The first box would have multiple choices of types of pipe threads I make and each successive combo box would be narrowed by the previous choice. I feel there is some type of security issue or I am not running the code correctly. The code works as it should and then it does not. Just looking for some pointers. I am using Acrobat dc and have javascript enabled. Here is an example of what I am struggling with. I will be adding more switch statements with if conditions. The reason I think my setup is the problem is because I have followed tutorials to the T and am not getting the output I expect or any at times, no errors just nothing. Should I not be checking for functionality with "preview"? I believe I am working with an interactive pdf.Any advice is appreciated Thanksvar threadType = this.getField("Dropdownbox1"); var threadDiameter = this.getField("Dropdownbox2"); var weightPerFoot = this.getField(Dropdownbox3);
I would like to auto-populate a field in Adobe using the first & last names of the people completing the form as per the following:DETAILS ENTERED BY CLIENTS ON PAGE ONE FIELD I NEED TO AUTO POPULATE I am using the following custom calculation script to auto populate "authorisation_1", which works fine when the "firstname2" and "lastname2" fields have been populated:event.value = getField("firstname1").valueAsString + " " + getField("lastname1").valueAsString + " & " + getField("firstname2").valueAsString + " " + getField("lastname2").valueAsString; However, my question is, how do i ensure the "&" does not appear in "authorisation_1" field IF nothing has been entered into the "firstname2" and "lastname2" fields? NEED TO AVOID THIS Thanks in advance.
I know this has been asked several times, but I was still unable to find a solution to my problem when trying to use the PDF Embed API. I generated the code using the Adobe demo, and replaced all relevant info and file location (yes, I removed the <> carrots). I'm attaching the code and info below. Thank you to anyone that can help with this. <div id="adobe-dc-view"></div><script src="https://documentcloud.adobe.com/view-sdk/main.js"></script><script type="text/javascript">document.addEventListener("adobe_dc_view_sdk.ready", function(){var adobeDCView = new AdobeDC.View({clientId: "fbb5f2505a7b4d2bafc5906ba90f05a2", divId: "adobe-dc-view"});adobeDCView.previewFile({content:{location: {url: "https://joshuatawney.com/TAWNEY_SELECTED_WORKS.pdf"}},metaData:{fileName: "TAWNEY_SELECTED_WORKS.pdf"}}, {embedMode: "LIGHT_BOX"});});</script>
I need import FDF data into PDF for several hundred files. try67’s simple script for export FDF (from post Batch Exporting FDF Files) was great for me, could anybody help me and create similar one for import? The PDF and FDF file names are always the same (ex. 123.pdf, 123.fdf; abcd.pdf, abcd.fdf...).I note I am not programmer. Thanks.
Hi Everyone. I am trying to extract data from a pdf file that has cascading dropdowns. I am trying to recreate the document with all the data that is hidden from the dropdowns. I know its a XFA PDF File that I am accessing through Adobe Acrobrat Pro. I have no knowledge on this and any assistance would be greatly appreciated.
Have simple VBA function to determine wheather a pdf is 8x11 or not.If there are no other PDFs open, function runs without error.If another PDF is open the CreateObject("acroexch.pddoc") Fails.Error Number: -2146959355Error Description: Server execution failedCode:ublic Function funGetPdfPageSize(ByVal strAbsFName As String) As BooleanOn Error GoTo Err_HandlerDim gApp As Acrobat.CAcroAppDim gPDDoc As Acrobat.CAcroPDDocDim pdfPage As ObjectDim strFunName As String, strErrMsg As StringDim width As DoubleDim height As DoublestrFunName = "funGetPdfPageSize"funGetPdfPageSize = FalseIf LCase(right(strAbsFName, 3)) <> "pdf" Then Err.Raise 65000, , "The input file is not a PDF file!"'Set gApp = CreateObject("acroexch.app")Set gPDDoc = CreateObject("acroexch.pddoc")If gPDDoc.Open(strAbsFName) ThenSet pdfPage = gPDDoc.AcquirePage(0).GetSize()height = pdfPage.Y / 72width = pdfPage.x / 72'Debug.Print width'Debug.Print height If height <> 11 Or width <> 8.5 Then &n
Hello! I work for a tool and die shop. We use Acrobat XI Standard to master part prints for each job. Each print has a job number, revision level, and short list of quality information that we have a dynamic stamp for. Occasionally, the information is the same for more than one job; however, I can't always copy and paste because when I do the stamp turns automatically 90 degrees. Is there any way to rotate the stamp without having to start over again? I've been searching forums and help sites for weeks and have found some solutions but they don't seem to work for me. Thank you in advance for any help!Paige
I set up a document for digital signatures, there are usually 2 signatures within my organisation and then 2 signatures required externally as well. No matter what I do as soon as the document leaves our organisation it is 'locked' for signature by the external company. I have set up the emails so that if a different person is to sign it can be delegated to them. The lock option is not ticked prior to sending externally. Hoping someone can help?ThanksPhoebe
Is there a way to allow a specific amout of prints for a pdf? I read the same question in a 2016 discussion and the reply was "no". I hope the the in 6 year time something has changed
I want to delete all the items in the pdf file at once. I do it manually and it's tiring
Hi, all, I'm wondering if it is possible, within the javaScript of a dynamic stamp, to get the page number of that particular stamp within the Dynamic stamp file. event.source appears to only have 3 properties (forReal, stampName, and source), based on the output of Object.getOwnPropertyNames. What I'm trying to accomplish: I have a dynamic stamp with some fields filled in via custom dialog. I'd like to be able to add extra fields to the side of the stamp for additional, optional text. If that optional text isn't used, the stamp would resize itself to crop off those extra fields (so that it doesn't end up covering any extra space on the target page). I'd like the js within the stamp to be able to get the page number for the call to setPageBoxes, as opposed to me having to specify it explicitly, in case I pass the file around and someone decides to remove one of the other stamps in the file. I know of 2 workarounds for the issue if I can't
Hello everyone, I noticed such a problem: after hiding comments in a document using code, the file size increases tenfold!function Hide() { this.delay = true; this.syncAnnotScan(); var annots = this.getAnnots(); if (annots==null || annots.length==0) { app.alert("there are no comments in this document", 1); return;} for (var i=annots.length-1; i>=0; i--) { annots[i].setProps({readOnly: false, lock: false}); annots[i].hidden = true;} this.delay = false; app.alert("all comments hide",3); } After optimizing(File - Save as Other - Optimizide PDF) the document, the file size returns to its original size, but after displaying comments and saving, it again grows in size by + 3 MB, and so on each time after the hide/show/save cycle.How to solve this problem? add file optimization to the main code? Or is there an option in the program settings that will clear this automatically?
My Excel formula is =IF(A3>=DATE(2022,1,1),0.53,0.5) This looks at a cell (e.g., A3) and determines whether or not the date in that cell is after Jan 1, 2022. If it is, then the value is .53 and if not, it is .50. The purpose of this formula is to auto-caluate mileage reimbursement rates. I am not familar with Javascript, though I've been able to learn some things online (how to code if/thens). What I can't figure out is how to represent "greater than xx/xx/xx date" in JS.
Hi, I could see the free hand draw tool is available in pdf-embed-api.But we need the shape tool for adding squares/rectangles/circles.Is there any plugin available for this? Thanks.
For my small plugin I'm using next function of DigSig APIDigSigAPCreateLayeredStreamExto create custom appearence. Using DigSigAPCreateLayeredStreamEx I'm filling few layers - one is n1 which I'm using for custom background (stamp) and other - n2 which I'm using for custom text.I've found such function of AcroFormsAFPDFormFromPagewhich helps me to use another PDF as a source for custom stamp as it returns XObject (CosObj) and then such result can be placed (almost) directly to n1 layer for DigSigAPCreateLayeredStreamEx function.All is fine and good until things came to work in Acrobat Reader. From FormsHFT.h of Acrobat SDK it can be seen that AFPDFormFromPage is not available in Reader./* The following APIs are NOT availabe in Reader configuration */ #if !READER_PLUGIN ..... #define AFPDFormFromPage (*((AFPDFormFromPage_SELPROTO)(gAcroFormHFT[AFPDFormFromPage_SEL])))Is there any alternatives for AFPDFormFromPage to use in Acrobat Re
Formatting a text box to percentage is multiplying the value by 100.How to avoid that so that when I enter 5 it will be 5% not 500% in PDF Forms. Format Changed to Percentage Entering 5 is now 500%. Can someone help me to solve this issue..Thanks
Hi There, My name is Gabriel, and I would like to know if you can help me with the next problem. Problem: I have a PDF file that is signed by the proprietary using certificate. This PDF contains a bunch of fields regarding applicants that I need to complete automatically (automate). I would like to know if anyone knows any application or developer that can write an application where you can pull the data from a database (could be mysql), and complete the form automatically. I tried to open the PDF file with Python, and I was unable to going in because the security restrictions. The only way that I can complete this PDF file is under Adobe Acrobat Reader. My job is try to automate the process. If you know somebody that can performs the job, I really appreciate. Thank you.
My App web page display non XFA PDF and user can fill pdf fields, pdf have submitForm button to send form values to servlet and can save to database. This submitForm send form values in HTML so i can get values through request parameters. submitForm Action working in IE browser but its not working on Edge browser. Here is the sample script used behind submit button on PDF.this.submitForm({ cURL: "/webcontext/Servlet?action=SaveToDB", aFields: null, cSubmitAs: "HTML"});Is there any alternative to make it work in Edge Browser?
Hello, I am trying to programmatically determine if a PDF is dynamic XFA not static XFA. Is there a specific string I can search by in the xml? Thanks
Hi guysI've been experiencing this issue since i upgraded acrobat pro to the latest version. what happened was all of the comments on the PDF were not visible.As you can see from this screenshot, on the right hand side, there are a bunch of comment written on page 2 but they are not visible on page like what it used to be in older version.Does anyone experience such issue? Is there any way to fix this problem?Thanks in advance.
Hi,I can't find Adobe Systems Incorporated (October 2006): Digital Signature Appearances, which should be at www.adobe.com/devnet/acrobat/pdfs/PPKAppearances.pdfThis link no longer appears to be valid. Does anyone please have this document and could share it somewhere? Thank you very much.Jirka
Hi all, I tried to convert entire website to PDF. The word documents are not included in the PDF. When I click the download Word documents link, it redirects to browser to download the documents. Is it possible to include Word documents in the converted PDF (i.e. when click on the link, it will move to the pdf page that has the Word documents in PDF format)?
Hi, I am having issue referring to acropdf.dll in a C sharp program. I have downloaded it on my local computer and added it in my VB csharp project reference. But it is not working as expected. Also I am short of any documentation for acropdf.dll. Please help.
Hi there. I just purchased Adobe Acrobat Reader DC and I can't seem to figure out how to EDIT a PDF file. I want to EDIT certain things from my PDF file, such as the text and Image Logo but it's not allowing me. Please HELP!!
I'm getting this error when trying to create a PDF Form from a Word document: "Knowledge source failed. <Gather Form Data> [1]". I've created several other forms in the exact same way, but for some reason Acrobat doesn't like the Word source file this time. I can't figure out why. And this same question has been asked before in forums and it has never been answered. Help.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.