Unlock the power of Acrobat SDK through our community.
Actividad reciente
I want each line to either have mileage or an expense amount, but not both.I have the total for the line to calculate mileage value if there is an amount in the mileage column or put in the amount spent, but I want to limit the user to only putting a value in one column or the other.Columns in form are:Date, Description, Miles, Amount, GL Account, TotalMiles and Account are formatted as numbers.My total column calculation if then script works but does not prevent using both.
I have a four page document, my third page is a form that is created by selections made in pages 1-2. Is there a way to lock the third page or put it as read only? I tried locking and putting read only on the selections, but because they are copied to fill those selections, it blocks from entering the selections in the first two pages. Would I do a script to lock each pre-populated selection on the third page or is there another way.
Hello All, I'm trying to save the PDF using FDF. It's working. When I have added the image field on the pdf and try to access it, I can get all the field except images field and Image. I would like to exract the image on the pdf. Is there any way we can extarct it. I'm able to get the images when I'm saving the PDF in my local machine then I can get the images.
I want to show or hide button based on keyboard shortcut in adobe javascript. I am using Adobe acrobat Pro. I have a compnmay logo and i need to browse the image required for specific set of users. Hence the browse button to upload the image should be shiown or hidden based on the keyboard shortcut set via adobe javascript or so for those users.
I want to do Arabic language typing and validations in adobe acrobat pro using adobe javascript. I have designed my pdf template with adobe acrobat pro and i am able to type English. I need to type in arabic text in certain textboxes and also validate the length/alphanumeric or not etc for this arabic language. For English language I know. But how we can do arabic typing in adobe acrobat proand set validations using adobe javascript
I have a table in Acrobat 2017 form. There are 2 columns for payments to utility vendors. One for Gas One for Electric. What I am trying to do is total each column then sum the 2 column totals. I can create calculations for the 2 columns alright then sum the 2 totals, but it doesn't work like I want it to. The first column imports payments from our database, the second column payments have to be entered by our caseworkers. The data imports fine into tcolumn 1 of the table but does not calculate until I enter an amount in the second column then all of the calculations happen. If nothing is entered into the 2nd column no calculations happen so if the caseworker doesn't have a payment for column 2 all of the totals stay zero. Can this operation be done with the "Value is the sum" calculation or will I have to use Java Script to get it to work like I want it. I don't know how to write java script. Thanks.
How do I get the tabbing order to go from the last form field on the first page to the first form field on the second page?
Hi, I'm having little trouble with my code.What i want to achive is, if value is greater then 66, value need to be 66.Field is formated as percentage.Here is what I got so far:var HP = this.getField("HP").value;var P = this.getField("Protection").value;var W = this.getField("Ward").value;var result = 1-(HP+W)/(HP+W+P);if(P == 0){event.value = 0;}else if(event.value > 66){event.value = 66;} else event.value = result;Everything is working as intended except it doesn't show 66 if value is greater.
I'm working on a PDF order form and know nothing about Java.I need to calculate the in-state shipping cost (Field1) based on whether the buyer selected YES for in-state (Field2).The calculation would be Subtotal Price (Field3) * .20. In other words, the in-state shipping cost is 20% of the order subtotal.I'll need a calculation for out-of-state shipping based on similar fields with a cost that is 30% of the order subtotal.Thanks for any help/
I am sure this is very simple, but I have a Date field on all my pages of the form.What I am looking for is that when the date is entered on page 1, it displays on all subsequent pages with no tab to it on those pages.
Hi, I have this code:If(this.getField("field1").value <5){event.value = 1000;}Field1 need to increase by 5 (value<10,value<15,value<20...etc)up to 200 and event. value will decrease by 10 every time. Is there a way to do it without making really long code?
Is it possible to create a script so that when highlighting a text it is also copied? (to the clipboard) I would appreciate the answer, it would be very useful to know if it can be done or not. Thank you.
If possible, how to do it pls?
When will Adobe release native Apple Silicon versions (or Universal Binaries that include native Apple Silicon binaries) of Acrobat, Photoshop, and Illustrator?And when these are released, will Adobe also release Silicon-compatible versions of the respective SDKs as well?And will Adobe do a developer-preview of these softwares?Thanks
Hello Everyone, like many here, i am a newbie to the world of Javascript and im having a hard time getting this calculation working. I have a sheet, where a column of fields is entered manually with a time value, say 1:43. At the bottom of the page is a "total" field which i have managed to get to tally all the fields above it, except there is a problem, I cant get hours more than 24, so if the tally is greater than 24 hrs it produces an error. Also, i am unable to enter a time of greater than 23:59 in any feild. This is a problem , as engine run times are in hours and minutes, and not in days, hours and minutes. These are the codes ive found to work in a basic way, but any help in getting it to displah hours of greater than 24 would be appreciated. Jay// custom calculations script for the total time field // array of fields to total var aFields = new Array("Time.0", "Time.1", "Time.2", "Time.3", "Time.4", "Time.5", "Time.6"); // define total a
In a form I created, I have a Radio button RB1. If the RB1 is selected, I'd like to have an alert message ('too high') if the calculation in another Text Box (TB) is >1000.Thanks
I saw example in "JavaScript for Acrobat API Reference" to change text color depending on value, but I can't get it to work, I tried it in validation and in calculation but it doesn't work. What am I doing wrong? Here is code example:
Perhaps it is because I am overthinking this. I am creating a form where someone is reimbursed for mileage at the government rate of $0.575 (mileage rate). I created a cell where it would calculate the mileage in USD based on the number of miles someone drove (mileage=miles x rate). But at the end of the row it is supposed to total the mileage of 7 days. So if someone drove 1 mile each day it is showing as each days as $0.58 miles. Which is correct, but the total at the end of the row is $4.03 (which is $0.575*7=$4.025). But I want the total to show as $4.06 ($0.58 rounded product x 7 days). Can someone help me?
In the form I am creating, I have a Check Box. If the Check Box is selected, I'd like to have another Text Box populate with a Calculation.I currently have the calculation work but I only want it displayed when the Check Box is marked.
Hello, I have many pdf files created from tiff files of scanned technical drawings which tiffs treat as what so-called an "Image Mask" in them when we analyze them with acrobat Preflight tool, now I want to know what an Image Mask is? How can I make a tiff treat as an Image Mask when it is converted to pdf in a simple way or with a tiny add-on or .exe software?Thanks and Regards,Omid Mansourbakht
Hello, I am trying to create a drop down box that has the options within auto-filled based on the selection from the previous box. I found code that worked on the forums, but any time a choice is made, it will revert back to whatever choice is listed first within the code.Dropdown box 1 custom calculation script is:switch (event.value) {case "Select:": this.getField("SubProvType").setItems(["Please Make a Selcetion In The Previous Box First!"]); break; case "Choice1": this.getField("SubProvType").setItems(["A","B","C","D"]); break; case "Choice2": this.getField("SubProvType").setItems(["E","F","G","H"]); break; } This will display the correct options in the second box, but if
In my job function I have to combine fields to generate letters for different departments. I can usually cobble together a working form, but in this case I'm hitting a wall. I'm trying to combine a text field with a number field without loosing my number field formatting. Example: The following results in "The cost is 1000" while I am trying to get "The cost is $1,000.00"var cost = "The cost is ";var OS = this.getField("Old Salary").valueevent.value = cost + OS;
Hello,I know there are a number of posts about this but I still don't know what I'm doing wrong. FYI I am very new to Javascript, so I just need some actual help with the formula. What I need is when the result of an equation is negative, then the number turns to zero. For example, MLA is the text box I am using to calculate the formula. The simplified formula I had was (NA/12). However that number is often times negative. So I tried to do a javacript with an if statement and it just wasn't working. Can anyone help me with this? THANK YOU!
Hello,i have a problem in the LCD with a document.Can somebody create a fourth DDL (column) like and after the first three examples, which are also connected with the first three ones (like the example)? It is important, that the answers of the new fourth range DDL is addicted to the third one. Thx
We have an old version of X Pro in DVD form and have problem installing it. Is a there a link to install for old version product? Thanks Jackie
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.