Questions
Recently active
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!
When logged in acrobat DC it only allows me to create a portfolio and when I send it no one can open on the other end.
Hi,I am trying to modify a script for dependent dropdowns, and am running into some issues. I have 4 drop downs. Box 2 is dependent on Box 1 and Box 4 is Dependent on Box 3. I can get Box 1 and 2 to populate and work; however when I try and add in the second set, it fails. It will either populate the 4th box based on the 1st box or not work at all.My Script is as follows.myBox1Values = ["", "1st Choice", "2nd Choice", "3rd Choice", "4th Choice"];myBox3Values = ["", "A Choice", "B Choice", "C Choice", "D Choice"];this.getField("Box1").setItems(myBox1Values)this.getFiled("Box3").setItems(myBox3Values)var DeptData = { "1st Choice": ["1st Choice-SubChoice1","1st Choice-SubChoice2"], "2nd Choice": ["2nd Choice-Subchoice1", "2nd Choice-Subchoice2"], "3rd Choice": ["3rd Choice-Subchoice1", "3rd Choice-Subchoice2", "3rd Choice-Subchoice3"], "4th Choice": ["4th Choice-Subchoice1", "4th Choice-Subchoice2"] "A Choice": ["A Choice-SubChoice1","A Choice-SubChoice2"] "B Choic
I need a possibility to convert pptx file to pdf from my app. Can I use Acrobat SDK to achieve this? If yes, should Actobat be installed on each machine that does it?Regards
Hey everyone,Hope all is well.I am trying to prevent the user from hitting the enter key on a multi-line text field. It is important that the field has 512 characters and I have already limited it upon formatting.However, whenever the individual uses Enter to write in another line, it appears that something happens and when I import the data there seems to be more characters (?) and I get an error. If the same text is entered but no enter key has been pushed, I can successfully import.Is there any way I can prevent the user from hitting key 13?I looked around and it seems to be something related to preventDefault, so would appreciate if someone could point me in the right direction or share any piece of code that could be used.Many thanks,
Hi all,Can use same help on trying to hide fields on multiple pages that was created from a hidden template page. You would click on the 'ADD PAGE' Button where it has this javascript linked to it. this.getTemplate("Provider").spawn({nPage:this.numPages, bRename:true, bOverlay: false});The fields on the hidden template page are prefaced with:"P0.field_name"Fields I want to hide are prefaced with:"P0.Hidden.field_name"When I click on the add page button, the above fields become prefaced (respectively):"P#.Provider.P0.field_name""P#.Provider.P0.Hidden.field_name"The # would represent the numbered page. So 'P1' after clicking 'ADD PAGE' button once, 'P2' after clicking 'ADD Page' button a second time.I would like to now be able to hide all of the "P#.Provider.P0.Hidden" groups when I click on a 'HIDE' Button across all pages, no matter how many were created. The below script is using a hidden check box field to be able to turn on and off the hidden value using the
I'm using a script I found online to place the file name of a PDF within the document itself (we use the file name as a purchase order number). I have a text box with properties under the Format tab, format category Custom, Customer Format Script isvar name = this.documentFileNamename = name.substr(0, name.lastIndexOf('.'));event.value = name;When first entered as text field property it adds file name to the field (yay!), but when the file name is changed the text field doesn't update, just stays the same. We use the file name as a reference for a purchase order system, so it'd be nice if the bookkeeper could see what the file name was that printed the document. Any ideas on how to get it to update the text field with the current file name, even when the file name changes?Thanks, Mike
Expensive, good afternoon.I am creating a material request form with 08 columns and 10 rows. The first column refers to the materials, where I created a drop-down list with 534 lists. Each item has a code. I want to click on an item in the drop-down list and the code for this item appears in the second column in a text field. How to do this? And getting, I want to repeat this dropdown list and text field in the 10 lines. it's possible? Hugs, Berg
When will CEP be supported for Acrobat?
Hi all,I am currently using Adobe Acrobat DC (not pro), and so I do not have access to document level javascript for some reason. However, what I do have, is a form that I created a long time ago, with a date and time field that automatically fills updates when the form is opened. However, when I copy the exact field into a different form, the date and time stays as what it was when I copied it over, and won't update when the form is reopened. I can't remember how I originally set the date and time field up, but I know for a fact that I have never owned Adobe Acrobat DC Pro (And so have never had access to document level javascript).How can I set this up without Document level javascripting that executes when the form is opened? How is it possible that somewhere in the code of my old form it already sets the date and time but it's not done within the date and time field itself? How would I go about finding where that Javascript is?If anybody has any ideas, I would love to hear them.Tha
Hi all,I am creating a PDF document from scratch with the Adobe SDK Library. My first version of the code is working but I would like to improve the speed of the algorithm.Here is the initial workflow :1 - Create a new empty document via * PDDocCreate * PDDocCreatePage * PDDocSave2 - For each text element to add * PDDocOpen * PDDocAquirePage * PDPageAcquirePDEContent * PDEContentAddElem * PDPageSetPDEContent * PDDocSaveAs I said, this process works fine but it's not efficient because each time we open and save the same file. So my second thought was to do :1 - Create a new empty document via * PDDocCreate * PDDocCreatePage * PDDocSave * return pdDoc2 - For each text element to ad
I have created a Javascript Window attached to a Radio button where upon selecting Yes, some text fields populate and upon selecting No, the fields are hidden. I realize that if yes was selected by mistake, the fields still remain visible when you return to the window and click no. What can I do to make the script work where you can return to change selection and it remove and hide the fields consistently?Here this my script,//Message for the popup window//cMsg = "Do you want to deactivate the incumbent's previous position for this Job Change?\n"var nRtn = app.alert(cMsg,2,2,"Deactivate Previous Position");// field that populate upon selecting the option Yes//if(nRtn == 4)this.getField("LayerButton7").display = display.visible;if(nRtn == 4)this.getField("Text16").display = display.visible;//Fields are hidden upon selecting No//elseif(nRtn == 3)this.getField("LayerButton7").display = display.hidden;elseif(nRtn == 3)this.getField("Text16").display = display.hidden;
I've found the correct JavaScript for validating required fields upon a document action (Print/Save/Close) with a popup prompt; but I am looking to get rid of the Red Boxes (as they are ugly) by either searching for all blank fields or changing the color of the red box. All fields within the form are required, and as a result the form becomes very clunky. Any suggestions?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.