Unlock the power of Acrobat SDK through our community.
Recently active
I'm trying to create a script to calculate the prorated rent based upon the move-in date on a PDF form and the script keeps coming back with odd prorated amounts...the MoveInDay = 12, DaysRentIsDue = 19 and RentRateDaily = 76.37 but the event.value it comes back with in my RentProratedDue field is 2291.10 which makes no sense to me based upon the simple script below; all I'm asking it to do is basically do the following math: 76.37 * 19 = 1451.03, right? Please let me know what I'm doing wrong...thx! 🙂 {if (this.getField("MoveInDay").value > 1)event.value = this.getField("RentRateDaily").value * this.getField("DaysRentIsDue").value;elseevent.value = this.getField("RentRate").value;}
I am having trouble with a PDF File sent to me. It is all jumbled.
Not too optimistic about this one, but does anyone know if there's a way to remove the annoying default top padding in a form field using JavaScript? I've been looking everywhere and haven't been able to find a solution. Thanks!
Hi,I have one machine with Adobe Acrobat Reader DC installed which having "Run in AppContainer" setting under Edit -> Preferences -> Security (Enhanced) - Refer below screenshot. And I have another machine which having Adobe Acrobat Pro installed, in which above setting is missing on same place. - Refer below screenshot.Can you please let me know where can I find same setting in Adobe Acrobat Pro. Thanks.
Hi. I am on Acrobat XI Pro 11.0.23 - it's what our office uses. Have Win10 and Win7 machines and we get the following issue. What we wanted is to achieve a way to: 1. Make a button to Close All Open PDF docs. Found a way here - https://www.pdfscripting.com/public/Free_Acrobat_Automation_Tools.cfm 2. I then modified the code so instead of close it performs a Save on all open docs. This I achieved with the code I posted here (user ''So What''😞https://answers.acrobatusers.com/ViewQuestion.aspx?questionId=293479 Several years ago both of these approaches worked flawlessly on a Win7 machine but now on new machines and installs it doesn't. This is how the JavaScrip-based button(s) from the above links look like: The problem now on is that when I hit either the Close All or Save All button, Acrobat throws a prompt - 'An internal error occurred' like this one:I already tried a plethora of Google suggested solutions having to do with folder p
Hi Team, Need to convert the exiting pdf to accessiblity pdf using SDK i.e we need to select the text, based on the coordinates and tag the PDF like heading, table, para etc.. using acrobat DC PRO sdk. Similar to reading order tool in Acrobat Dc pro we have already tried the code below but in the below method there is no option to convert the text run as like the reading order tool in acrobat plugin ASInt32 numTextRuns = PDETextGetNumRuns ((PDEText)pdeElement); pdeContainer = PDEContainerCreate (ASAtomFromString("LI"), NULL, false); pdeTextContent = PDEContentCreate (); PDEContentAddElem (pdeTextContent, kPDEBeforeFirst, pdeElement); PDEContainerSetContent (pdeContainer, pdeTextContent); // Replace the text element in the page with the container // holding the text element. PDEContentRemoveElem (pdeContent, i); PDEContentAddElem (pdeContent, i - 1, (PDEElement)pdeContainer); ThanksBala v
Hello, Thank you for any help in advnce. I would like to imput a number in a text box and then have a radio button check atomaticly. 2=<6011= 500-6000 = >499 For example Someone would put 550 in the text box and then that would atomaticly triger the 1 radio button.
I am trying to calculate the number of times N/A is selected from a drop down menu on each page to a total field on a form in Adobe Acrobat Pro DC. The current drop down options are 0, 1 and N/A. On one page, there is 1 column of down downs and I have the selection appearing in the total column to tally. The next page is 3 columns of 7 rows which total from left to write to a column to total the selection.
i was told to post here for help. something about Java script that i know nothing about. i have a 300 page pdf file that needs to be watermarked individually for over 100 recipients. how do i do that without having to go into the PDF each time and change the name? thanks.
hello,I have a checkbox and would like to change the color of an other field depending on activating the checkbox.the other field isn't an empty field, there is already text in it. is it possible only to change the background color of this field if the checkbox is activated?can you please help me
Hihi Pls advise how do I make the image field uneditable or lock or compress or flatten such that user not able to click and add a new image? This is the code i used but it seems not working: -quote-this.getField("Letterhead1_af_image").readonly = true;-unquote- All other text fields are working well. Thanks,Yixiang
Hello All, how are we going today? 🙂 I just had a quick, yet strange question about Adobe Acrobat Reader. I was just wondering if anyone knew what programming languages have been used to construct Adobe Acrobat Reader? Is it perhaps Javascript, Python, C++, or any other coding languages? Perhaps a combination of several? I am just a junior coder and I absolutely love the way Adobe Reader works! 🙂 I hope to start to build a small project similar to the way it works and was wondering if I could please have an idea of what coding language I could start off with 🙂 Thank you so much for helping me, have a truly fantastic day!! Kindest regards,Adobe786.
I have already a lot of different pdf forms used to register learners as they start their apprenticeship with my company. Different programs mean different length. Long story short, I have this idea to make the form more convenient where people feed in information like "Learner's name", "Coach", Start Date", choose the programme from the drop down list and click a button and corresponding forms are generated. I am using Adobe Livecycle. However, I got stumped on calculated date field. 1. How do I calculate the EndDate of 18 months minus 1 day from the StartDate. I tried using the script that works on Adobe Acrobat Pro for my current forms but for some reason it doesn't work in Adobe LiveCycle. I have a StartDate field for people to input the info and EndDate field is automatically calculated. var date= util.scand("dd/mm/yyyy", this.getField("StartDate").value);date.setMonth(date.getMonth()+18)date.setDate(date.getDate()-1)if (this.getField("StartDate").value!
Is it possible to remove an event from a field with JavaScript?I used the setAction(); method to create OnFocus and OnBlur events on an array of fields to create an auto text size attribute, but there are some use cases of the form that require the event to be removed. The code is a doc level function and triggered by a combobox.I wasn't able to find any documentation in the SDK for my issue.I was able to get it to work the way I wanted by making the events blank based on combobox selection such as (fieldName.setAction("OnFocus", " ");), but I feel that's more of a workaround. Is there a better solution?
Not able to see chinese text in some of the system & some of the system its working fine. after analysisMachine which have reader 2015 its able to see chinese charcter & machine which have reader version 2019 its not able to see chinese charcter. error msg "need to install font pack to display properly" , we cant ask end user to install the font pack. we trying to embedded font in pdf But its failing. Need your support to embedded the font Using acrobat pro 2015.
Hi,I would like to create a dynamic stamp for Accounts Payable stamp. I want to have three 3 raws & 2 columns stamp as Below. I have attached an image of below._________________| Date | ||Code | ||Signature| | I want to type the date & Code on the soft copy, then send it for approvel.Can someone please help me with this?I really appreciate it.Thank you.
Is there a script that will take the users imput & convert to all caps? I'm using Adobe Pro XI. Thanks for the help.
Hi guys, In my Acrobat plugin I have replaced the AVAppSaveDialogSEL. I do this to track what happens after my customers issue a Save As on a document. My customers have noticed that when they export a PDF to Word that the resulting Word file is no longer launched automatically. If you remove my plugin and export a PDF to Word, the new Word document is launched. Is this a limitation of overriding the AVAppSaveDialog?Thanks.
Hello All,I am using the JSO object and get field method to retrieve the values of dropdown lists from a form and place them into a variable which is then placed in a spreadsheet. In the following code the mobjJSO has already been initialized. The value of the array is the name of the dropdown list that is Skill_1. I have confirmed the name and that it is on the PDF form. I have other dropdowns that this appears to work correctly to bring back the value, but for this one I actually get the number of item that was chosen in the listing instead of the text. For instance, if the user chose Data Entry below returns a 2 for the second item in the list instead of "Data Entry". Does anybody know what I am doing wrong? I just can't seem to get this to work. strValue = mobjJSO.getField(mobjLookupArray(i, 0)).Value Thank you!Thayana
Hello Adobe Community, I'm looking for guidance on a script to calculate 3 Time in/Time out slots and adding any Overtime Hours or On-Call hours ending up with the correct total hours for the day. Please see image below. Thank you! The names of the first row of boxes I need help with are as follows:inSatoutSatinSAT_2outSAT_2inSAT_3outSAT_3OnCall_EarnedSATOvertime_EarnedSAT Thank you!
I am developing a PDF to aid in completing forms necessary for the expungement of criminal records. Most defendants have more that one case. Some have many more. Each PDF contains numerious petitions each followed by related order. Every 4 pages of the PDF a new petition and its related order begins.Among other things, each petition and order has a Text field ("P1.Case.CaseNum") for the number of the case (which may be numbers and letters) and a drop down menu for the county of the court in which the case happened.One particular county requires a separate document that lists all the case numbers of the cases from that county (That County's dropdown output is 056.) I have added this listing document to the end of the PDF. I want a script for a field in this listing document that copies the case number from a petition only if the county involved is 056. I have the following script that will ener Jefferson (if 056 is chosen in the dropdo
Hoping to be able to get a text box to populate automatically in an adobe form I created. I would like when a customer puts their initials in box 1 for the text in box 2 to populate in box 3. For example if a customer was to put their initials in box 1, the price listed in box 2 would then populate into box 3. I have gotten close to the formula but have not found a sting that quite works. Thank you!
We have a PDF reader that is developed in WindowsForm, but this PDF reader does not support JavaScript that is under Acroform. It is currently planned to support this type of 'JavaScript PDF' on our Windows Forms view, but we cannot find any exact ideas or approaches on how to support PDF's JavaScript.So if anyone can give an idea on this, we would be very helpful. Thanks in advance.
Hello, I wrote a statement on a fillable form from the va.gov website, but when I saved it, the form is blank. Please tell me how to retrieve the information. I cannot remember how I wrote what I did. And cannot sleep. Its very important.
Hi I have a number of fields namedCheckBICheckADCheckGITCheckCOIDetceteraI want to extract the characters following the first 5 (i.e. after Check).Any help will be appreciated Raymond
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.