Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hello,I've created a dynamic stamp. When the user choose for this stamp the stamp "ask" for some answers.The stamp ask the period, cost center, filename, company, ......Then I want that the document (with the approved stamp) will be saved with the filename the user has filled in.Then the second question : how can I put a radio button in the stamp. I want to ask if the document is an invoice or an other document.The question : Is this an invoice document ? And the user has to choose the YES or NO radio buttonThen the third question. Depending on the YES or NO I want to save this document in the directory from the company (choosing from a dropdown) and then in the "invoice" or "various" directory.I've a Folder Level Script you find on the internet but what do I've to fill in the text button - tab 'calculate' ?Who can help me ?mySaveAs Folder Level Script :var mySaveAs = app.trustedFunction( function(oDoc, cPath, cFlName) { // Ensure path has trailing "/" cPath = cPat
I have a field called Text3 (date field with format mm/dd/yyyy) , and another field Text 4my condition are , user inputs any date in Text3 ... then the Text4 default date will be Text3 + 30 days, but the user can alter the Text 4 field with the range of Text3 to Text3 + 45 days ..For ex - If Text 3 = 01/01/2017, then Text4 (default value) = 01/31/2017 but user can put any value (if he wants) in the range 01/01/2017 to 02/15/2017 i.e Text 3 +45 daysFollowing is my script in put this in custom calculation tab:var sDate = this.getField("Text3").value; // get date stringvar oDate = util.scand("mm/dd/yyyy", sDate); // convert to objectvar nDay = 1000 * 60 * 60 * 24; // define 1 day in millisecondsvar nDate = oDate.getTime() + (30 * nDay); // add 7 days as millisecondsoDate = new Date(nDate); // convert milliseconds to date objectdefau= util.printd("mm/dd/yyyy", oDate); // format resultvar endDate = this.getField("Text3").value; // get da
I'm going to straight up admit I do not know scripting language so everything I've used I have found from the web.I have 3 comboboxes in a PDF with choices I want to have linked.I would like my export value of "Combobox1" to be the item value of "Combobox2", which then pushes "Combobox 2" export value to item value of "Combobox3".I am using this Custom Keystroke Script (under "Format" tab) for "Combobox1":if(!event.willCommit) { this.getField("Combobox2").value = event.changeEx;}This successfully pushes the export value to "Combobox2" (where I've set all dropdown item value options to the "Combobox1" export values). However, once I add any export values for the options in "Combobox2", the script from "Combobox1" no longer works.The script only pushes to "Combobox2" as long as "Combobox2" options have blank export values. I don't understand why this happens, as I would like to then use the above script to push "Combobox2" export values to "Combobox3". Is there no way to repeatedly
I am trying to convert a pdf to word and save it programitcally through api. I have tried the sample given in the sdk in the C# samples folder by changing the code from other refrences. However i am getting reflection error as ' Target type doesn't match' . Here is my code AcroPDDoc pdfd = new AcroPDDoc(); pdfd.Open(filename); Object jsObj = pdfd.GetJSObject(); Type jsType = pdfd.GetType(); //have to use acrobat javascript api because, acrobat object[] saveAsParam = { "newFile.docx", "com.adobe.acrobat.docx", "", false, false };&nbs
My primary aim is to automatically restore the last openned tabs from the previsous session.I have 17.009.20044 version of AR. However thre are only first four lines as given in https://forums.adobe.com/thread/2255448and NO section "JavaScript Editor" section.It just ends with "Show console on errors and messages", and there is no way to search for the .js files folder from JS debuggerapp.getPath(<folder type>,"javascript");as given inInstructions for Installing Folder Level Scripts (Automation Tools) and Plug-ins to include a .js file from the helpjavascript - Adobe Acrobat Reader Tabs Saving And Autoloading - Stack Overflowinto the correct directory.The "ctrl+J" key combination does not work as well.What's wrong with my instalation of AR?Why I cannot run JS debugger from AR?
Hi there - I am creating a form that has two fields with unique validation requirements:Field 1 - It must be an increment of $10,000 and cannot exceed $1,000,000.Field 2 - It must be an increment of $10,000, and cannot exceed both Field 1 and $500,000.Can anyone help with how I would write the validation script for these two fields? Please and many thanks. Mindy
I have a problem with JavaScript/Adobe reader described here:http://stackoverflow.com/questions/43854026/adobe-acrobat-reader-tabs-saving-and-autoloading-does-not-work-wellCan someone kindly help me?
Good evening, I would need a big help, in a PDF form I need to visualize in a field that we call "TotDayi" a number obtained from the interval of two date fields, which we call "DateStart" and "DateEnd", as title The days are workable and can be developed in a working week of 5 days or 6 days (Saturday included), all this to calculate the days of actual work are also considered festivities including the patron saint and easter (or rather The pasquetta as the easter always falls on Sunday), in order to return the actual days between two dates I used this script:Code://console.show();//console.clear();var strStart = this.getField("dalgg").value;var strEnd = this.getField("Algg").value;if(strStart.length && strEnd.length){ var dateStart = util.scand("dd/mm/yyyy",strStart); var dateEnd = util.scand("dd/mm/yyyy",strEnd); var diff = dateEnd.getTime() - dateStart.getTime(); var oneDay = 24 * 60 * 60 * 1000; var days = Math.floor(diff/oneDay); event.
I am making a medical form in which i have text fields which generates notes based upon the form fields selection.Dropbox - ScreenCapture_12.flv First of you plz see the video from the above link.... i am getting everything right.. except for the problem in the video....the problem is .... when one doesnot choose the continous check boxes there is a one line gap between the two options (plz refer the above video link)............I want that when any of the checkbox is checked the there should not be a line gap.. as is the case in the video.Below is the java script which i am using:this.getField("subjective").value = "SOAP Notes\n" + "\n"+ "Chief Complaint\n" + "\n" + "Mr. " + this.getField("member.name.last").value + " is inquiring about utilizing orthotic bracing for his current conditions. His chief complaint at the time of this assessment is: " + this.getField("consult.chief-complaint").value + "\n\n" + "Subjective Notes - Information Reported by Patient\n\n" + "On a 0-10 pain
how would you force capitalization of the first letter of the first word in each sentence in a multi line text box. all other words in the sentence should be lower case
At the moment I'm using two buttons, one to halt calculations and one to perform the calculations using these scripts: // Turn Calculations Off // Use Master Calc to control calculations in other areas this.masterCalc = this.calculate = false; // Turn Calculations On this.masterCalc = this.calculate = true; this.calculateNow();I really don't have calculations in the form, I'm applying these scripts to help speed up the form processing (like changing field colors, show/hide fields, etc). What I would like to find is a script that would work better and to eliminate using the two buttons and having to click one to turn on the script and click the other to turn off the script.Can someone help me with this issue. The reason I'm asking this question is because when the AcrobatUsers forum was open to asking, someone said that these scripts were not ideal to help speed up form processing and that there were better scripts.
Hey Everyone, I'm trying to validate a date field(mm/dd/yyyy) against user input in my Adobe Acorbate form. The date field should only allow the current date, no future/past dates. Here's my code that prevents future / past dates depending on the greater than or less than condition. if (event.value != "") {var d = util.scand("mm/dd/yyyy", event.value).getTime();d = d - (d % 1000); var nNow = new Date().getTime();nNow = nNow - (nNow % 1000); if (d < nNow) {app.alert("You may not enter a date in the past.");event.rc = false;}}The issue I'm facing is that in each scenario the current date is excluded, it will either have to be a day before today or a day after today. So with the code above for example I cannot enter 05/09/2017 even though it isn't a past date, the code recognizes it as it is. I've tried where d != nNow and that didn't work either. I'm trying to enforce validation where the user can only enter the current date, hope someone can help. Thanks!
Hello!I'm just starting to learn JavaScript; unfortunately I am attempting to build 3 calculations that are a bit out of my skill level at the moment. If anyone would be willing to help I would really appreciate it.Below is the first formula from excel. The intent of this formula is to add all values between 0 & 8 using data from 16 fields..."TOTAL#" are the accurate field names.=SUM(IF(TOTAL1<=8,TOTAL1,IF(TOTAL1>8,8))+IF(TOTAL2<=8,TOTAL2,IF(TOTAL2>8,8))+IF(TOTAL3<=8,TOTAL3,IF(TOTAL3>8,8))+IF(TOTAL4<=8,TOTAL4,IF(TOTAL4>8,8)),+IF(TOTAL5<=8,TOTAL5,IF(TOTAL5>8,8))+IF(TOTAL6<=8,TOTAL6,IF(TOTAL6>8,8))+IF(TOTAL7<=8,TOTAL7,IF(TOTAL7>8,8))+IF(TOTAL8<=8,TOTAL8,IF(TOTAL8>8,8))+IF(TOTAL9<=8,TOTAL9,IF(TOTAL9>8,8))+IF(TOTAL10<=8,TOTAL10,IF(TOTAL10>8,8))+IF(TOTAL11<=8,TOTAL11,IF(TOTAL11>8,8))+IF(TOTAL12<=8,TOTAL12,IF(TOTAL12>8,8))+IF(TOTAL13<=8,TOTAL13,IF(TOTAL13>8,8))+IF(TOTAL14<=8,TOTAL14,IF(TOTAL14>8,8))+IF(TO
I am building a simple form to have employees submit their weekly "Photo Reports" from the field. I have set up a large button (space large enough for the JPEG) using the following JavaScript: event.target.buttonImportIcon();When the form is blank, I am able to click on the big gray box (button) to have a prompt appear that says "Select Icon".From there, I am able to "Browse..." and select a JPEG from my files.I click "Open" followed by "Okay". The picture proportionally fills the space that I want the JPEG to be in the form. This is exactly what I want. However, once that JPEG is in its location, I cannot delete it. I can click on it and the "Select Icon" prompt appears; I can select a different photo. But I cannot easily clear the photo without editing the form.I want the end-user to be able to clear the pictures in the form the same way that text can be cleared. I have very very little experience with all of this. Any direction would be best received in a "step-by-step" format. Over
I have Acrobat XI Professional, and after the last update, my ability to add my scanned signature to documents has vanished. I'm offerred Adobe cloud for $9.99 a month. But I only need to sign 2 to 3 documents a month. I guess I can just add my signature manually from a file every time I need it, but this is really a horrible thing to do to us. Or have I got it wrong?
Needed to reinstall Adobe Acrobat XI PRO most recently today. I spent a lot of $$$ for this product and Adobe is telling me I may no-longer use it?Please help
Hello,I'm new to JavaScript and I'm trying to develop a script to check multiple check boxes when the first one is checked. When check box 3 is checked, I need check boxes, 9, 12, 15, and 18 to be checked automatically. Any help would be greatly appreciated! Thank you.
Hi All,We need to implement a routine to combine several pdfs into a single one in an automated way without user intervention. Is that possible with Adobe Acrobat X?Is there a server version for it we can use for this task?Many thanks in advance.Harvey
Would the PDF library suite be able to programatically export a PDF to PPT using the suite of code?
Hello,I'm having some troubles with calculating something (This is for a DnD pdf).I have already gotten loads of scripts working, but my big trouble is when I have a Custom Calculation Script that is dependent upon another Custom Calculation Script to calculate a number...Let's assume I have:a) A user input field, called "Dexterity". (Could store the value: 16)b) Is a Custom Calcution Script (Let's call it "Modifier" that depends on "Dexterity",to calculate its value. (("DEX" - 10) / 2) (Calculated would be: 3)My script (Simplified) would be:event.value = (this.getField("Dexterity").value - 10) / 2;c) A field (Let's call it "Stealth") that calculates a total value from the "Modifier"and another User Input Field. (Such as above value + 2 from the User Input Field, total: 5)My script (Simplified) would be:event.value = this.getField("Modifier").value + this.getField("NewUserInput").value
I've created a form that calculates tax on products but not services, and then adds a 3% credit card fee for purchases made by credit card. My problem is that it's doubling my totals whenever I switch the credit card radial buttons from yes to no or vice-versa. Can someone take a look and let me know what I'm doing wrong?
Our office receives documents via email that usually aren't searchable and our staff spends a lot of time using Adobes text recognition. Is there software that can convert existing pdfs into a searchable document quickly?
I am creating a form where the user can select from a list inside a textbox. Because I know very klittle of Javascript i have reched a dead point, and I hope to find a solution. What I am trying to do is this: when the user clicks inside a textbox a list of words pops up, ex.:AlfaBravoCharlieDeltaEach time the user clicks in the textbox the list pops up and the user selects one word. Let's say that the user selects first Delta, then clicks again and selects Alfa, I want the textbox to show this:Delta, Alfa. How do i do it?
Our office works with comments all the time, so it's useful to have the comments window open by default when opening a PDF.Is there a way to do this?
I am using Acrobat version 11.0.14, which came with my Fujitsu ScanSnap. In the past, I have always added my signature by clicking on the "Fill & Sign, Place Signatures" and easily dragging and dropping my scanned signature. Last week I downloaded a fillable pdf from the IRS website and when I went to sign it, it required a certified signature. Now, I cannot get around the certification requirement to add my signature. Any thoughts?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.