Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
I am new to this and have a question.I am populating a field value to a different field based on a checkbox value. Scenario - add a name in text field. Then if I check box A, the value from the text field populates a text field in section A. If I check box B the value from the text field populates a text field in section B. I can get the values to populate when I check the box, but how do I clear the value if I uncheck the box? Thanks
Dear All;I would like to save the donation receipt information as a FDF, which is I already created through Acrobat Pro DC version 2019.008.20080 fillable form.Again, through the code I found on this forum site, I can save the PDF form as a complete. But I want to save as a FDF, how to change the JavaScript code for this purpose?Thanks in advance for your helpCode:@ !I used the script below in my Javascript folder:var mySaveAs = app.trustedFunction( function(oDoc, cPath, cFlName) { // Ensure path has trailing "/" cPath = cPath.replace(/([^/])$/, "$1/"); try { app.beginPriv(); oDoc.saveAs(cPath + cFlName); app.endPriv(); } catch (e) { app.alert("Error During Save - " + e); } });This script for the button in Acrobat Form.var directory = "/Users/hasankoyuncu/Desktop/untitled folder/"if (typeof(mySaveAs) == "function") { mySaveAs(this, directory, this.getField("BenefactorName").value + " " + this.getField("NameOfCharit
Looking for some assistance for a script that runs the calculations below based on the fields but also leaves the final field blank if nothing is in the other fields. E12*E13*(E14/100)/2000For example:25*12.2*(27.5/100)/2000=0.0419Any assistance is greatly appreciated.DH
[Moderator moved from Adobe Portfolio to Creating PDFs.]Hello,I have a 14 page fillable PDF form with a few text boxes that are repeated on just about every page e.g. student name, date of birth, etc. I now need to separate this form into single pages but I still want the text fields to link to each other, so the student name or date of birth only has to be entered once. Is there a way to do that? Can it be done in a PDF Portfolio?
Good morning,This is not specific to Acrobat. We use Acrobat, primarily, and there are a lot of PDF experts here so I figured that maybe someone would know of a place I could turn to. The forums specific to Ghostscript have been closed down and the other forums I've seen via Google search were circa 2007 or so. I've tried asking this in the Stack Overflow discussions but haven't had any luck so far.We print Postscript files directly on industrial Xerox printers.One client's Postscript files were getting garbled when printing due to a font issue that I was unable to track down, so I used Adobe's Distiller to convert from PS to PDF. The same font issues turned up in the PDFs that were generated from Distiller. No amount of option tweaking helped me out, and find/replace font operations using Callas pdfToolbox didn't work out for me.So, I downloaded Ghostscript and spent an entertaining hour remembering how DOS worked. I was eventually able to convert several PS files into flawless-lookin
Hi, I’ve created a business card template in Acrobat Pro and our logo colors are used in the executive business cards.The employee name is in a burgundy color: RGB = 179, 15, 65The remaining text is in a dark green color: RGB = 0, 56 34My coding for the employee name is below. The third spans line is my attempt at changing the text color. Something is wrong because the text looks like a florescent teal. I get the sane teal color with the green RGB colors.var spans = event.richValue;spans[0] = new Object();spans[0].text = this.getField("EmpName").valueAsString + "\r";spans[0].textColor = ["RGB", 179, 15, 65]; //Burgundyspans[0].fontWeight = 700; //this makes the font boldspans[0].textSize = 9;event.richValue = spans;Thanks for your time and assistance.
Anyone have a javascript code that will attach an email as normal (via the email button) and add the subject line as the filename? I would like this to be a button on the toolbar. I'm using acrobat 9. Thanks!
I require assistance, I have a powershell script that will batch convert multiple .RTF documents to .PDF documents, using Microsoft Word, however, now I wish to modify this script to batch convert .jpg to .pdf and since Word is not best suited for this. Is their a way I could change my script to do the .jpg to .pdf conversion using Adobe or some other application, please?#Change the path$path = "C:\jpeg\"$word_app = New-Object -ComObject Word.Application#Convert .rtf to .pdfGet-ChildItem -Path $path -Filter *.rtf? -Recurse | ForEach-Object { $document = $word_app.Documents.Open($_.FullName) $pdf_filename = "C:\pdf\$($_.BaseName).pdf" $document.SaveAs([ref] $pdf_filename, [ref] 17) $document.Close()}$word_app.Quit()
Hello,I'm creating a form in which if someone fills out the bill to section of the form and checks our "Same As Bill To" check box, then all the rest of the fields will auto populate. So far I have had no luck executing this.My check box is named "SameAsBillTo", and if it's checked I want all the following field names to equal each other:Customer name2 ("CustomerName2") = Customer Name1 ("CustomerName1")"Street2" = "Street1""City2" = "City1""State2" = "State1""Zip2" = "Zip1""Contact2" = "Contact1""ContactEmail2" = "ContactEmail1""ContactPhone2" = "ContactPhone1"I have minor experience using javascript editor but, previously I have been successful using it for formulas. I researched this question on a bunch of other forums and have tried coping similar codes and have matched it with mine, but nothing has worked yet. Below is an example of my current code:if(SameAsBillTo=="Yes"){this.getField("CustomerName2").value = this.getField("CustomerName1").valueAsString;this.getField(
I just received notice that Java will no longer be available to the consumer after 2020. Will Adobe Acrobat Pro DC still work without it? I don't know what Java does and need to know if I can just delete it.
When I convert a Word to a PDF I would like to have JavaScript added automatically. The functionality like inks etc being kept during the conversation is very limited. Currently I need to add functionality to the PDF by means of JavaScrip manually to allow e.g. jumps to attached documents. Is there any posibitly to automate that?
Hello,I am new to using an editable PDF form and want to use one for my lab class. I am able to create the form and I would like to put a check box in place, so that only I can access with a password to indicate that the student has completed that particular portion of the lab. I understand that you would need a java script, but I have no idea of how to create this script.Any help would be greatly appreciated.
Hi All,A 1st timer here,...I have Acrobat Std 7.0 & recently needed to wipe & re-install my computer, I'd obviously had at some stage run the updates in the previous installation of Acrobat, but when I went to use the program since installing it noticed the Typewriter Tool was missing.I have learned that this was included in the 7.05 patch, but I am having difficulty locating this update.The Adobe ID page only includes the original release 7.0.0, with no links to incremental updates,..I've tried to run the "Check for updates now...", but it says no updates are currently available.Can anyone help.Thanks
I have a form that has 5 different radio button options. The group name is Unauthorized Debit. Each radio button has a unique export value, i.e. button 1 is value 1, button 2 is value 2, button 3 is value 3, button 4 is value 4 and button 5 is value 5.Each of these radio buttons has a text field in the sentence they are attached to that i want to populate ONLY if that sentences radio button is selected. I have written a script to do this, and it populates when i select an option, HOWEVER, if the user decides that they didn't want to click that radio button and they select a different one, the previous selections text field stays populated, even though a new selection has been made.This is the script I added to each radio button. The getField changes in each, button 1 has a field that is just COMPANY NAME, the below example is for button 2, and so on for buttons 3 (COMPANY NAME_3), 4 (COMPANY NAME_4) and 5 (COMPANY NAME_5). I cannot find anything on how to
Below is the script that I used under "Document Will Print". when I tested using Adobe Acrobat Pro DC it worked great. When I tested using Adobe Reader XI, the date did not show up, even though JavaScript was enabled. Any suggestions?this.addWatermarkFromText({cText: util.printd('mmm d, yyyy h:MM tt', new Date()),nHorizAlign: app.constants.align.center,nVertAlign: app.constants.align.bottom});
Hi I am trying to compile the c++ samples from the Acrobat SDK in Xcode on a Mac and I get several warnings from Xcode like: "Possible misuse of comma operator here" and also "Non-portable path to file '".."'; specified path differs in case from file name on disk". Looks like the SDK has not been updated to deal with changes in Xcode for a long time. Anybody else who have experienced this?
I need help converting the following equation (taken from my excel worksheet) to work in my form in Adobe DC: SUM(D13:D15)/15*C13
Just need to find out how to check if a file is open using JavaScript:I have this but it doesn't work if (myFile.open) <----This is where I need to check if a file is opened. { openDoc.insertPages({cPath : p}); } else { var openDoc = app.openDoc(mFile); openDoc.insertPages({cPath : p}); } }THanks.
Hi,I need to execute a folder level javascript in Acrobat Pro DC (Version 2019.008.20071) which was accessible in Acrobat Pro XI through the Add-on tools menu item and worked just fine. Unfortunately I am missing the Add-on tools menu item in Acrobat Pro DC.Does anyone know how to use folder level javascript in Acrobat DC via a custom toolbar button, like it was working before in Acrobat XI Pro?I tried both, installing the script in the user and app javascript folder of Acrobat DC.
I am trying to get a pop-up screen, where you can fill in data.This data needs to get added into dynamic stamp.But i cant get i presented ? can anyone help me ?// JScript source codefunction dialog() {var dialogDescriptor = {description: { name: "NTA Enexis test",back_color: "windowBackground",gradient_type: "darkToLight",elements: [ {type: "static_text",name: "STATUS",},{ width: 200,height: 22,type: "popup",item_id: "pop1",},{type: "static_text",name: "UITVOERDER",},{width: 200,height: 22,type: "edit_text",item_id: "pop2",PopupEdit: true,SpinEdit: true,},{type: "static_text",name: "REVISIE NR.",},{width: 200,height: 22,type: "edit_text",item_id: "pop3",PopupEdit: true,SpinEdit: true,},{type: "static_text",name: "PROJECT NR.",},{width: 200,height: 22,type: "edit_text",item_id: "txt1",},{type: "ok_cancel", &nb
var num=12var num1=33var hm=applevar al=orangeif var's has values:var num=12var num1=33var hm=applevar al=orangethis.getField("Text1").value="check"+num+" "+hm+" "+num1+" "+al+" with :"i want thischeck 12 apple 33 orangebut when i have var num=""var num1=33var hm=""var al=orangecheck 33 orangewhy var with "" system add space? how to add "nothing"e.g.check 33 orange
Hi - i am trying to figure out how to generate PDF's on demand via an API call. I build a template and then populate it based on content I have generated with the users content. I would like to stay in the Adobe stack. Can i do it? What products do i need? I could do it in Webmerge or PDFGenerator (comments please) but would like to leverage DC and the design stack in Adobe. Can't see any info on this anywhere. Any pointers please?
!So, I'm trying to fill in a form I made with information in a txt file and then save it to one of a number of folders according to information in the form. I have a series of folders setup named after number ranges (i.e. 1-49, 50-99, 100-149, etc.) and some of the folders are preceded by the letter "z" because our numbering system for what we're tracking with these forms includes some names formatted with a Z at the end ( the people here before me kinda suck).The logic of the code I'm trying to correct is such (if you just want to see the code it's below):import text data within a while loop -> use indexOf to search the target field value for the letter Z -> use switch to setup 2 blocks of code, 1 for values that contain "z" and 1 for values without "z" -> determine which code block to run based on the "z" -> use substr(0,3) to pull the first three characters from the value and use that in the code blocks to compare to our number ranges to see which range the number
i have a pdf file with javascript, the code works perfectly as long i´m working in the file, but when i use the "save as other/reader extended pdf/enable more tools" and i open the new file, the code no works at all.i use the javascript console and i got this message: ReferenceError: showCharCount is not defined1:Field:Keystrokei´m using this code to get the character count of a field:in the fields from which I need to take the count, in the custom keystroke script:showCharCount();in a second, thirtd and fourt field (this fields are not visible to the end user, it is only for the following function):// Document level function function showCharCount() { // gets whats on the field var num = AFMergeChange(event).length; // show characters getField("count").value = num; }and finally in the "totalcount field":// Set the minimum number of characters
I'm trying to create multiple pdfs from one base pdf using records from a database. I'm looking to do this from forms on a site, so I'm also hoping someone knows of a good service to use where this is possible. My first idea is to use AWS and see if I can get an instance setup with Acrobat in order to do this. I'm not quite sure if this is the route I should be going, so I'm open to any suggestions as well.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.