Questions
Recently active
I'm not able to connect my app with google spreadsheets. The text won't appear. Thoughts?
I have a number of pdf files with numerous comments added. Is it possible to use advanced search to look for more than one word contained in a single comment. Eg if I want to find all comments containing the words business and worker how could I do it. ThanksRob Hamilton
HiI have a lot of documents to be commented on with the draw free form tool and I wish for them to be flatted automatically after the user close the document.I can run "this.flattenPages();" for ether 1) Document Actions at the Document Will Close in the JavaScript tools or 2) page properties -> actions -> Page Close -> Run a JavaScript.But the problem is it will only work for one document I set this up in. Is it possible to set this up globally/permanently so every single document will run the code?I am using Adobe Acrobat XI Pro
We are planning to sell a plugin to help manage medical records in Acrobat. Is there an Adobe store to sell plugs through? If so, what are the terms and conditions?
I am trying to make a float label in an iterative pdf form. I currently have this and its not working. Any ideas?if (!event.value) {event.value = "For Translated French";event.target.display = display.noPrint;} else {event.target.display = display.visible;}// On Focus script:if (event.target.value==event.target.defaultValue) { event.target.value = ""; event.target.textColor = color.black;}// On Blur script:if (event.target.value=="") { event.target.value = event.target.defaultValue; event.target.textColor = color.ltGray;}
Hi Everyone I want my program to detect if a field has an entry and if it has an entry set the output field to a value. Currently the program gets stuck on the if statement.The following code is in custom calculation script. Running on Adobe Acrobat Pro 2017. Also if there is a easier way to do this please let me know, thanks in advance.var nameOne = this.getField("Name1").valueAsString;var nameTwo = this.getField("Name2").valueAsString;var nameThree = this.getField("Name3").valueAsString;var nameFour = this.getField("Name4").valueAsString;var nameFive = this.getField("Name5").valueAsString;if( nameOne != "null"){ event.value=1;}else if(nameOne && nameTwo != "null"){event.value= 2;}else if(nameOne && nameTwo && nameThree != "null"){event.value= 3;}else if(nameOne && nameTwo && nameThree && nameFour != "null"){event.value= 4;}else if(nameOne && nameTwo && nameThree && nameFour && nameFive !
A form I created has a drop down list which, when clicked, opens a second PDF. I need the second PDF to open in a smaller window, not overlay the initial file. Thank you!
I currently have this custom validate script. event.rc = true; if (event.value) { var d = util.scand("dd/mm/yyyy", event.value); if (d==null) { app.alert("Please enter a date in dd/mm/yyyy format."); event.rc = false; } else if (d.getFullYear()<1900 || d.getFullYear()>2100) { app.alert("Error! Invalid year."); event.rc = false; } }This works well except it will allow you to put letters 10/nov/2018 and nov/10/2018. I need only numbers and slashes in the field (no letters for month).What can I add to this script to make this happen?Format/Date/Custom, does not work with script.And without script they can enter "01/01/0994" Format number no decimal, does not work with script either.
Hello,I am a bit of a novice when it comes to using javascript with PDF forms. I have some experience with VBA. I've reached the limit of my understanding I came across a form that has a shaded box on a page that changes colors when all of the fields are successfully validated, along with a message that says, "Valid" or "Not Valid" with a color change depending.My question is, what is controlling the location of this box? Why is the output displayed in the dimensions displayed, and in that specific location?Here is a link to the copy of the document. (Page six)Thank you for any suggestions.
I have created a PDF that I want to distribute to people to complete. Once they complete the form and hit submit I want the completed PDF to be sent back to me as an attachment in an email. Is this possible?
Hi,I am trying to programmatically hide certain OCGs by putting them into separate layers and setting their states to falseHowever, when the PDF is reopened, such state is not retained and they still show up in the PDF.Example code:this.setOCGOrder(this.getOCGs()); var ocgs = this.getOCGs(); for (var i=0; i<ocgs.length; i++) { var ocg = ocgs; if (ocg.name === "Hide") { ocg.state = false; } }I have tried several alternatives (described below) but still no luck:Set the initState to falseSet the state of the layers to false when PDF is opened.Does anyone know how to solve this issue?Much appreciate it!BTW, I am using Adobe Acrobat Pro DC
hello,i need to find out the original color-profile settings (us web coated, fogra etc.) of a pdf file that was exported directly from adobe photoshop. i was not able to find this information in the document description. the preflight setting itself is set to "fogra" which seems to be the default setting and not the original color profile the pdf-file was created with. anyone got an idea where to find the original color profile information?thanks,matthias
I am compiling an ebook and want to make it so that the title of each pagecan be copied to another page by clicking a box, each page will be copiedto the same page if box clicked and that page is (Journey Planner)...in adobe acrobat socorrect Javascript required please.....
After a migration from win7 from win10, my team do not know how to execute the script anymore. Here is the script I want to execute, it should append another PDF to the end of document and send a mail (I did not write it) : https://justpaste.it/61gxj .From what I understand from google, I have to put this script in C:\Users\UserName\AppData\Roaming\Adobe\Acrobat\Privileged\10.0\JavaScripts to be able to execute trusted methods/functions. Then, how do I actually use this function ? Is the path correct ? Thank you for your help, I'm really new to this.Edit : app.getPath("app","javascript"); returns /C/Program Files (x86)/Adobe/Acrobat DC/Acrobat/JavaScripts so I added my script there
Hello,I have a PDF form with 33 pages. I want it to work this way:- Every time you fill in the fields of a page, you click on a button to lock that page, and then you move on to the next one.- Sometimes, when you have a specific value entered on the text fields, you click on a button in order to duplicate the page that is already locked and re-enter the needed information. (The button duplicates the page and unlocks its text fields).- A page can be duplicated as many times as needed, and everytime you need to be able to fill in the text fields.By using Javascript, I was able to do all of the above, except of one thing: Once my page is duplicated (using a Template), I cannot predict the name of the new page, thus making it impossible for me to unlock the fields that were already locked on the Template.I wanted to use a For Loop in order to do this, but I am not sure how to insert a variable in the instruction. I tried this but it did not work:var k;for (k = 0; k < 1000; k++){this.get
Good evening, I am trying to figure out why the text fields on my document are going blank.Here's what Im running into:I have a document which has text form fields, and these fields already have text written in them.When I insert another PDF, which also has the same named form fields, (so they can auto-fill with the text in the PDF that's already filled out...)All the form fields go blank, even the ones that previously had text in them. Is there a way to prevent this from happening?I would like the information to carry onto the new PDFs I insert, from document that has the necessary information.Thank you for your time!
I feel like this is simple, but I need a dropdown that allows users to pick a number from 1 to 15. Then I need that dropdown to display a set of fields that repeats for the number of times they selected so they can input data for each one. Basically, I have clients who have anywhere from 1-15 candidates that all have separate information I need, and I don't want to have 15 sets of field for someone who only needed 2. Please help!
I am currently testing several forms in acrobat that use email submit buttons and after testing several forms I start getting this error:GeneralError: Operation failed.Doc.mailDoc:8:Field AfterMarketSubmit:Mouse UpWhen I restart my computer the errors go away. Is there a way to never receive this error?
Hello Everyone,I am new the forums here.I need assistance with creating a script shortcut that would make the PDF non-editable.In a way, i require a shortcut of instead of going to settings to make the PDF non-editable, i would like to use a script instead.Any ideas?Thank you.
dear adobe support,i was wrote some JavaScript with AcrobatSDK used to create one button as an add-on tool, the function is run properly as is.but the problem is when I have to use the button, I should add the "add-on tools" button before we use the JS button.mean while the add-on tools looks like not stable, I've been tried open and close acrobat with more than 10 PC with many different PDF document, and my JavaScript "add-on tools" always unplug from acrobat toolbar after 5-9 attempts to open and close document for views the document.and after 5 times or 7 times i closed the acrobat, the shortcut in the right side is removed and I don't know why it's removed and I must "add" the shortcut againanyone can help to solve this problem or maybe adobe staff can solve this problem or any suggestion on it? (eg. calling JavaScript Object from C++) or something else.I'll keep looking forward on this issue until this problem is solved,thanks.
Hi There,I have created a form with fields (Mac - Acrobat pro 2019). One of them is a text field (name=serverpath) where people can paste a server path in (is an Apple File Protocol path). Next to that field is a button (name=button1) which needs to open a finder screen with the location of "serverpath".If nothing is filled in, there should be a dialog box saying you have to fill in a path.Does somebody has a suggestion or a solution? Help is very welcome!!Thanks in advance!
I can change an Acrobat text field FROM the Acrobat 'Number' format TO the 'None' format with this script: var f = this.getField("num.SDebit.22"); f.setAction('Format', ""); f.setAction('Keystroke', "");I would like to do the opposite: i.e. programmatically set an Acrobat text field format TO the number format and specify the number options available in the Format dialog box of text field properties .Can this be done, and if so, how.
Hi, I’m creating a document with multiple forms. I’m having issues with combining the natural mother’s name and natural father’s name in a field.On one form the names are three separate fields so I have named the fields as follows for mom’s complete name: NMFirst, NMMiddle, NMLast.I did the same for the father’s name: NFFirst, NFMiddle, NFLast.On another form there is one field for each parent’s complete name. For the mother I combined all three fields into one, naming that field NMName.Again the same was done for the father, I named that field NFName.Here is where I have run into an issue. Another form is a letter and in the address block it should have the mother’s complete name and the father’s complete name.This is my coding:var nm = this.getField("NMName").valueAsString; //natural mother’s full namevar nf = this.getField("NFName").valueAsString; //natural father’s full nameif (nf =="")event.value = nm; //if no natural father, s
I've a licence for Adobe Acrobat 8 Pro, but i've no more installation cd. Support tells me that i need the italian installation program but online on adobe site there's only english. Where i can found it?
i want a user add new entry in array when write custom text to dropdown list e.g.:var MyItems = new Array(" ","apple","orange","mango",);MyItems.sort();this.getField("Dropdown7").setItems(MyItems);user write in dropdown list : apple system return message this value is in array!user write Bananavar MyItems = new Array(" ","apple","banana","orange","mango",);MyItems.sort();this.getField("Dropdown7").setItems(MyItems);also if user want to delete a entry in my array how to solve this on PDF mode?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.