Unlock the power of Acrobat SDK through our community.
Recently active
Hi,I am developing VBA code where I can use/Call the compare document tool provided by adobe in the DC pro version . How can I do that. Is creating a custom action a better choice. Also, I read in adobe forums that Compare tool is not available as an API. Automate Compare FilesIs it available in the latest version now.?Also, Is there a web service that I can use of Adobe that will let me do the PDF compare.Thanks
Hi, I was wondering if I could get some help with making a textfield required based on a particular radio button selection. I have a form that I'm creating and have several questions with radio buttons. For some of my questions there are yes/no radio buttons and if the user selects "yes", I ask "if yes, what?" with a textfield for their explanation beside it. How do I make the below textfield required, only if, the user selects the "yes" radio button?Thank any of you in advance for any help!Name of radio button "Yes"= coy Name of radio button group = Criminal_OffenseName of textfield for "If yes, what? = whatinput
I can't seem to find exactly what I am looking for. I have document that is two pages long with the second page being a hidden template. When the submit button is pressed on the first visible page a second page is spawned in between the first page and the hidden second (thus making the hidden template page 3). I am trying to figure out how to affix a "1" in a text field on the spawned page and then count up from there as the user completes the form and spawns more pages.So it Starts with: P1, (Hidden P2). But I'd like it to be: P1, Spawned P2 / #1, Spawned P3 w/#2, Spawned P4/#3, etc, Hidden Template page
I have a field that totals a series of fields. If the total plus another value of another field exceeds value of a third field than an alert message should be generated and the value be returned to 0. The filed returns a false value whether the validation criteria is met or not. Any assistance would be greatly appreciated!!!var IDC0=Number(this.getField("IDC0").value);var TA=Number(this.getField("TotalAward").value);if(((Number(event.value)+IDC0.valueAsString)>TA.valueAsString));{ app.alert("Total of Direct and Indirect Costs Cannot Exceed theTotal Award"); event.rc=false;}
Hello! I am very new to JavaScript programming within Adobe and am trying to pull an external list of strings (format can change, however, pulling from an Excel file would be most efficient) into an Adobe Pro DC JavaScript as an array, in order to search for that list of strings through the PDF. I have the code working so that I can hard code the strings into the JavaScript. Please let me know if you have any direction or can help me with this. Thank you very much for your time in advance!Chris
I have an archive of about 100 magazines in individual PDF files that I want to distribute, along with with relevant indexes. Each separate issue has bookmarks for its contents and I also have title, author and volume indexes for the whole collection. I want each magazine to include navigation to all these indexes but I'm really not sure I'm approaching the problem the right way.The approach I've taken is to add bookmarks to each magazine before its table of contents: one entry each for of the volume, author and title indexes with the action for each to Open a file. This works when I add by hand but it will take a *long* time to add to every magazine. I've tried Javascript and can automatically add the extra bookmarks but I can't add an action to open a file: it seems all I can do via the JS API is to run a Javascript and I've seen comments that this doesn't work on tablets or phones, and in any case it presumably needs all the recipients to have enabled JS.An alternative would be to c
I am implemented Select Text functionality in one of my plugin,here, I want to remove previously selected Selection, once i selected another Text.In Acrobat 2011 and 2017 it was working fine, but in 2015 it was not working.Please any one help me, to solve this issue.Thanks..
Hi,I'm trying to add a calculation into a form field to calculate the time worked (based on start and finish time) less break time:09:00 17:00 1:00 (time worked would be 7 hours)22:00 04:00 1:00 (time worked would be 5 hours)I've tried to follow other forums posted for similar things, however my Adobe calculation skills aren't very advanced! If this were excel I'd be fine.If someone could provide a custom validation script, I'd be extremely grateful!Thanks
In previous versions of Windows, I could right click on a file from a directory view and select print. It worked great.In Windows 10, that option doesn't show up when I right click on a file from a file directory view. Is there a way to solve this?
Can anyone please help me? I can't figure out why my javascript isn't working, I am trying to auto populate from a drop down list into two text fields, I am going off the script example in the middle which I got off the internet. It worked like a charm when I entered the bottom script but I was only auto populating to one text field. I have ' in front of the digits starting with 0 on the JobStep but I need those. What am I doing wrong? PS I'm very new at this javascript stuff// Place all prepopulation data into a single data structurevar DeptData = { 1060 Foreman 1:{ JobType: "012DO", JobStep: "’0234" }, 1031 Foreman 2:{ JobType: "034DO",
Hi Everyone!So today I've just learned about using Javascripts (I'm dropping the .js file into the javascripts folder). I'm not a professional in any of this and wanted to explain my current setup just for context. We are a very small company (3 employees) and we have a single server running Microsoft Server 2016. 100% of our customer connect to the server via RDP and run a custom application. We use a program that allows us to create pdf files in their home folder and then we display the pdf file and allow them to print, save or email it and of course page navigation. The PDF viewer is really locked down (which is what we need). We are using an open source PDF viewer which allows us to lock all features down that we don't need. After coming across this javascript stuff today, I want to know if the following is possible using a "starup.js" script file. Open Acrobat Reader, hide the menu bar (no, file, edit, view, etc), On the toolbar show
after scanning docs, when I go to file menu and save as, the dialog box is empty. it was only intermittent, now it is all the time.
I am trying to figure out if it is possible to detect if any other objects within the document have overlapping bounding boxes. not just annotation objects, which i can get the bounding box of, but lines, text etc, from the original document.My goal would be to detect and stamp in a region that was unused that fit the stamps bounding box, and thus not overlapping anything. Is this something the OLE or Javascript tools can accomplish?
I have a form that currently has 4 mapped fields that come over from our core. Each of these fields is independent to an applicant (up to 4 applicants) and carries a unique value of "Y" or "N" or "U" based off of the applicants MLA status. I would like my checkbox named "MLA" to check itself if ANY of those are Y, regardless if one is Y and the others are N, and regardless of the order they are answered, as they come through automatically so I have 0 idea which one gets there first.I wrote the following script (with some help from a pro) and I still cannot get it to work. I am a noob and am trying to teach myself, digging through forums and w3 schools and stackoverflow, so please take it easy on me:) Any help is appreciated!!var prompt = this.getField("APPLICANT_1_MLA_STATUS");var prompt2 = this.getField("APPLICANT_2_MLA_STATUS");var prompt3 = this.getField("APPLICANT_3_MLA_STATUS");var prompt4 = this.getField("APPLICANT_4_MLA_STATUS");var checkBox = this.getFie
I'd like to send a PDF to multiple people through email. I have the JavaScript working to send from a submit button, but can't figure out how to CC some email addresses as well. This email address works, but when I put "CC" into it as well it says there is an error. Is there a way that I can CC and send to people at the same time? I'm currently using Adobe Acrobat DC form creator.
As title. It seems more often than not, when I select a page in the API reference site (linked from the current SDK documentation), the page returns an HTTP 404 error. I'm having an incredibly hard time getting started with the SDK, as I'm just not able to find the documentation I need to get things running.
Hope someone is able to help with my question: How can I make layer visible (a pop up message) with a button click and hide all the other fields on a page at the same time, and revert back (hide layer and make all the fields visible) on another click of the same button. Thanks!
Hello,I have an excel form that I built in Adobe Forms - the excel form calculated savings and cost avoidance in positive and negative numbers based on 3 values, historic, offer and bid. I tried using a beautifier to generate the javascript code and am stuck. Here are the excel formulas and form values related to historic, first and final. Last, it should take the value of the Cost Savings and the Cost Avoidance, add and give total in positive or negative value. The formulas work perfect in excel, I just can't figure out how to convert them to javascript.Excel value to Adobe Form ValueP37 = TotalsHistoricPriceP38 = TotalsFirstorAverageP39 = TotalsFinalPriceD42 = CostSavingsProspectiveSuccessH42 = CostAvoidanceProspectiveSuccessThe three formulas I need to calculate in my adobe pro form1. Cost Savings - Excel Formula=IF(P37=0,0,P37-P39)2. Cost Avoidance - Excel Formula=IF(P37=0,P38-P39,IF(P37<P38,P38-MAX(P37,P39),IF(P37=P38,0)))3. Total Success - excel f
I want to be able to view PDF documents from my Windows application with the help of Acrobat Reader DC.I've read the Acrobat DC SDK Documentation and tried the samples, but I still have a couple of questions.Am I right that AcroPDF library is the only way to view PDF documents with the help of Acrobat Reader DC?Is there any way to display just PDF documents without additional UI elements when using AcroPDF library?As when I try to follow AcrobatActiveXVB sample in my application and open the document from the sample (https://www.adobe.com/epaper/pdfs/elib_swedish_libraries.pdf ), I get the following:And this is already strange since SetPageMode states that "none" is the default mode (Acrobat DC SDK Documentation).With the help of the following code I manage to make the look closer to what I want:axAcroPDF1.setShowScrollbars(false);axAcroPDF1.setShowToolbar(false);axAcroPDF1.setPageMode("none");But in order to get a nearly ideal look I still need to click on the arrows to hide UI elemen
I have a pdf file which can be edited through Adobe Acrobat. When I open straight away open the file from Adobe and edit the file, and when I press the back button it gets saved automatically, but when I open with Cordova application it is opening with Adobe and I can also able to edit that, but when press the back button and come back to app and once again hit the pdf file it is not showing the edited content (it happens only with above android 7, but below android 7 it is working fine from the app).I open the file with this code from cordova,Intent intent = new Intent(Intent.ACTION_VIEW);intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);intent.setDataAndType(path, contentType);cordova.getActivity().startActivity(intent);Does it need any extra permission from the application ?
Hello! I have a form that maps in information from an outside source when opened. This form is used for 2 separate functions - the first function is to change a name and the second function is to change an address. I currently have the address mapped in so when the form opens the address is displayed. However, i would like that information to DISAPPEAR or become hidden if the checkbox labeled "Address Change" is checked. I figured out a way to make the previous name APPEAR if the name change checkbox is checked but i can't seem to figure out how to make information DISAPPEAR when a checkbox is checked. Every code I seem to enter makes the address hidden when the form is produced; but if i check the Address Change checkbox and then UNCHECK it the information appears. I don't want that. I want the info to be there automatically unless that box is checked. I'm semi new to creating forms and have 0 background or training with JavaScript (minu
Hello!I have a 2000 document, which needs to be signed manually (u know with a PEN).So I scanned my signature, I vectorized the scanned signature and I added that file to Adobe Acrobat.I can see my signature in the "Comment Section" - "Add stamp" - "Dynamic" - My Signature.My question: Can I add this stamp on my 2000 pdf document in a single click, with a slight rotation (+- 20degrees) and a random location (a given location to which I add +- 1 inch <up-down-right-left>)?The pages are all the same format.I have Adobe Acrobat X
Dear where possible?
I have a document with 48 drop down lists (same info on each). The dropdown lists are each named individually (PayTypeDesc Job1Emp1, PayTypeDesc Job1 Emp2, PayType Job1Emp3 etc.) I would like each dropdown list to autopopulate to a separate table below where I named each text field PayType Job1Emp1, PayType Job1Emp2, PayType Job1 Emp3 etc. For example, dropdown list named PayType Job1Emp1 will autopopulate to field named PayType Job1Emp1, then dropdown list named PayType Job1Emp2 will autopoulate to Job1Emp2 etc. When I entered the following script it worked on the first line but it didn’t work on the second one and I have another 47 to go, I just can’t seem to figure out how to make each one do it’s own individual purpose. Do I have to give each one a different Script Name and if so what do I name it?I followed what is on this website which is how I got the script below https://acrobatusers.com/tutorials/change_another_fieldUnder dropdown Properties
Hi,up to now i have only used document level java-script (set a link into the document and run the code by mouse-up).(Acrobat X Standard)Now there are a lot of pdf in a foulder and the same java-script-code should run in each document.I want to automate this procedure:Open Doc1 and run the code.Close Doc1Open Doc2 and run the codeClose Doc2and so on.So i need a possibility (Java-Script) to do that.Thanks a lot for your help!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.