Unlock the power of Acrobat SDK through our community.
Recently active
Hi Everyone, I created a form for clients to fill. This form has 2 pages. The first page I would like to lock or flatten the data submitted once I am done my review and stamp it and not have the second page locked so that others can complete the second page of the form and sign off. I have Acrobat DC Pro. Can I use the java scipt "this.flattenPages(); " and have it only flatten the first page? Is there addition code I can use to limit the range of flatten? I cannot use any add-ons and I am restricted to what I have for software. Thanks in advance.
I would like to apologize in advance, I'm not very comfortable with Java. Perhaps you all can help me come up with a solution to the form I am working on. My form is for samples. I've been using a fillable field for the first sample, then every sample thereafter calculates +1. I would like to have the form stay empty and NOT autofill if we don't have enough samples to fill every row in the form. I've considered doing an if then statement in a dropdown, where the sample ID has a prefix in a dropdown. If the prefix is "A", the sample ID is +1. If the prefix is "N/A", the sample ID field is blank. I can get the "A" to work, but not the "N/A". Another idea was maybe a button called "END" that is visible but doesn't print. Pressing "END" would hide all following fields, and pressing it again would show them again. I can get it to hide the fields, but pressing it again doesn't show them again. Thanks in advance for all your help,Ali
I cannot seem to scroll through a PDF file once I combine them. It tabulates them on the left.
Hey everyone, Quick/basic question: is there a function that 'deselects' the currently focussed (text)field? I figure I can use .setFocus() as a workaround but I'm wondering if there's an out of the box option to deselect the selected field. Thank you in advance for any trouble to be taken
Good day honorable adobe forum members, I am looking for the method to use to check if a value is in a list i.e.: var list = ["A","B","C"] if ("a" in list) { //dothings } Hoe does one do this effectively? Thank you in advance for any and all trouble to be taken
Why, if the input field is empty and the user pressed the OK button, the function is not interrupted and the Else block is processed?app.addSubMenu({ cName: "Test", cParent: "Help", nPos: 0}) app.addMenuItem({ cParent: "Test", cName: "My_button", nPos: 2, cExec: "NumberX()", cEnable: "event.rc = (event.target != null);"}); function NumberX() { Msg = app.response(" ", " "); if (Msg == null) { app.alert("The user did not enter anything and clicked Ok"); return;} else { app.alert("The user entered some number: " + Msg); } }; app.trustedFunction(NumberX);
Hi, I'm creating a table which calculates the individual PRODUCT "Quantity" and "Price" for up to 10 items. Then the table has a "Total" (SUM of all PRODUCTS). The issue I'm having is that some people will not use all of the "Quantity" and "Price" fields, and when they are left empty, the "Total" does not calculate unless all "Quantity" and "Price" are filled. Right now I have a simple set up for calculating: Field QP1 = Field Q1*Field P1 - this is what I use to calculate the Total of quantity and price for one item. This is continued from field QP1 to QP10Field Total Value of Transfer = QP1+QP2+QP3+QP4+QP5+QP6+QP7+QP8+QP9+QP10 - this is where things get broken in the calculations I think, I just can't wrap my head around how to get these to work when some "QP" values are empty. I'm not sure if this makes sense, but it would be helpful if someone has any idea of what I'm talking about.
My company is creating some kind of PDF Editor.We're using pdf.js currently to render the PDF onto the web.The problem we're having is when the PDF is printed after edited.The texts are blurry.We are using window.print(); to print the PDF. But because the pdf.js per se, renders blurry texts, we don't achieve what we want.What we're currently planning is to integrate it with Adobe DC SDK.What advice can you give on it?What things to be taken care of?
Adobe DC - I am trying to import a number from Excel that has no dashes into a pdf file that will insert the dashes. Is this possible ? ie 123456789012 in excel and I want it to look like 123-456-7890-12 when in the pdf. Do I need to do a Java script? If yes could you tell me how to write it?
I already add Headers\API and Headers\SDK , also could find define POKE(name, formals, formalsWithRock, actualsWithRock) name##NSEL, but PIPokes.h is error.
On Windows platform, I can look at the title to see if (32-bit) or (64-bit) in the title from Adobe Acrobat DC or Reader DC 2021. I am looking for a way to allow a custom install program to determine if the installed of Adobe Acrobat or Reader DC 2021 is 32-bit or 64-bit, is there some registry or something from Adobe Acrobat set after installed to indicate this? If the Acrobat title with the text 32-bit or 64-bit is stored in some registry or somewhere in the file system then the custom install program can also get and parse the title for the text string to determine 32-bit or 64-bit. Thank you.
Hi Team, This is chenchaiah, Actually Earlier I downloaded Acrobat XI pro Samples from Adobe Site.I'm using the "Snippet Runner sample". Remaining all samples working fine under visual studio 2019.I was using that project in Visual studio 2019, I opened the project after the retarget solution.@13152947:I'm facing the fatal error C1189:The C++ standard library forbids macroizing the keyword "return". Enable warning C4005 to find the forbidden define.I referred in google some sites:respected issue-> It shows the need to change v16.4 in platform toolset but in visual studio 2019 available only in platform toolset visual studio 2019(v142),visual studio 2017(v141),visual studio 2015(v140).Note: Need to update the visual studio 2019(v16.4), How to upgrade?.I tried all ways to solve the issue, but it was not resolved.Please help on this, How to compile without any exception.Note: I'm Thinking project configurations.Please guide me on how to set up the project. I will also join
I have a document in Adobe reader but I needed a way to change the colour of every other word automatically. Any help is appreciated. Thanks in advance. [Spelling mistake corrected for clarity]
Hi. I'm considering performing the following processing automatically for multiple files in different folders.(1)Using Edit PDF -> Header & Footer -> Add to insert page number in specified font at the center of footer andchange the margins(top,bottom,left,right)(2)run a custom action to protect the pdf file.I tried inserting the page number using "addField" as below through IAC, but I donn't know which the property to change the margin andit seems that the page number inserted using "addField" is different with the result of (1) process.-------------------------Set acroFooter = jso.addField(CStr("xftPage" & i - 1 & 1), "text", i - 1, Array(bStart, 30, bEnd, 15))acroFooter.Value = "Page: " & i + 1 & "/" & TotalPagesacroFooter.textSize = 6acroFooter.ReadOnly = FalseacroFooter.Alignment = "center"-------------------------Because it is possiable to add a new action that executes the process of (1) and I have to execute the (2) action ,so I thought about t
Hello everyone,I have excel spreadsheet that I'd like to convert into a fillable PDF but I don't know how to write in Javascript, can someone please help me ?Here is what I do in Excel : - There is three variables Var A, Var B and Var B (picture 1) - Depending of theses variables there is a first calculation (picture 2) - And to finish a last calculation that show the result in one cell (picture 3)For information "SI" means "IF" and "ET" means "AND"Thank you very much for your help
In Adobe Acrobat Pro 2017 I have pages of fillable form fields. Let's say something changes on one of the pages, I delete the page from the document, scan the new copy in and add new form fields (separate from the main document). When I try to use "Organize Pages" to insert the new page back in to the old document I have issues where either my signature fields dissapear or text fields will dissapear or change names to "i" and then when I try to delete them I can't. It seems to bug the whole page. Any suggestions? I have made sure that the form field names are unique or that if there are any of the same names that they are of the same type. Seems like there is no good way to replace pages with fillable form fields without bugging the document, I've even tried the portfolio method and same thing happens.
I have Acrobate ver 9 pro and now when I try to scan to PDF, the software can no longer find my scanner. I have tried to reinstall the scanner, but that did not fix the problem. The scanner software that cam with my scanner does not have a problem finding the scanner. Any ideas
Hi there, please can someone help me with a question about the user cancelling a dialog? I have a js process that works ok.What I'm having a problem with is the user cancelling a dialog. var exitDialog = 0; while (exitDialog !=999) { var cRtn = app.response("How many checkboxes would you like (1-9) ?"); if (cRtn > 0 && cRtn < 10) { var exitDialog = 999; } else { if (cRtn == null) {break;} app.alert('Please enter a value from 1-9'); } } // the rest of the process happens here and that works ok.I can run the code above and it works fine apart from if the user cancels the dialog.If I run the code above in the debugger it works ok. When I load it as a custom menu item it still works ok until the user cancels.What I'm trying to do is allow the user to cancel the operation by pressing the 'Cancel' button on the dialog. Plea
Specifically, I have a form field that I'd like to be subjected to the date formatting (mm/dd/yyyy). Rather than rely on a tooltip or other means to alert the user to this format, I'd prefer to use the Default Value on the form field (text field properties>options>default value). When I enter the default value I'd prefer, mm/dd/yyyy, it's rejected by the form as the date formatting takes precedence over this label. This makes sense to me, but I do not know another work-around to remedy this scenario. For what it's worth, here is my code from the custom validation field:if (event.value) { if (util.scand("mmddyyyy", event.value)==null){ app.alert("Please format date: mm/dd/yyyy."); event.rc = false; } }Any help would be sincerely appreciated. Thanks!
Acrobat.exe not getting closed/ killed even after quitting the application.Please find the code snippet below.Public Sub Close()TryAcroPDFObj.gPDDOC.Close()AcroPDFObj.gAVDOC.Close(False)If Not AcroPDFObj.gApp Is Nothing ThenAcroPDFObj.gApp.Exit()End If Catch ex As ExceptionEnd TryAcroPDFObj.gAVDOC = NothingAcroPDFObj.gPDDOC = NothingAcroPDFObj.gApp = NothingAcroPDFObj = NothingGC.Collect()GC.WaitForPendingFinalizers()End SubPlease suggest what else needs to write to get Acrobat Process killed from task manager.
Hello, I am recreating a form we use at work, and I am a novice at best when it comes to java script. The two things I want to accomplish are; One, have an auto generated number with either a two or four digit year as the prefix. This is for organization of the forms. Two, I want to be able to add photos to the form that can be viewed full size and/or printed when the form is accessed from its saved location. Can anyone help me with this? Any help will be greatly appreciated.
I'm trying to copy an existing hyperlink to another part of the same pdf. I'm not a sophisticated Adobe Acrabat user so I would appreciate step-by-step instructions.Thanks so much.
I am trying to combine multiple files within a folder into a single PDF. I need to be able to select which specific files I need from the list via multiple select. Before my recent change of laptop, I was able to select a checkbox next to each file and combine the selected files into a single PDF.However, after switching laptops, I now must hold the control button down to select multiple files. My question is, how do I get the option to select the checkbox next to each file back? There must be some setting somewhere that I am missing. Thanks in advance for your help!
Hello,I've developed a custom Acrobat Reader plugin for digital signature using a remote signature provider. The signature part works as expected, but I have a problem with the signature validation after a successful signature.By default Acrobat tries to validate a signature using my plugin and fails, but I don't wish to implement a signature validation in my plugin.I want to fallback to Acrobat reader validation that works perfectly well. The only way I was successful in doing this is by setting the following setting:Verification Behaviour -> When Verifying -> Always use the default method: "Adobe Default security" So my question is how can i achieve this programmatically in my plugin code? Thank you in advance.
I have a issue In multiple Digital Signature in PDF File using USB Token. I am using open source dll itextSharp for digital Sign and i am trying to multiple Sign in PDF File.In this scenario user (A) have sign a single page PDF File, and after that append or merge another page in same PDF file and user (B) Sign in another page sucessfuly. but in this case only one signature is verfied other one is unverfied.So above scenario how we can verify digital Signature in PDF file after append new page?
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.