Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hi all,I don't actually know how to write brand new code in JavaScript and make it work. I've benefited tremendously by having a basic understanding of what I'm doing from a VB class I took in 2005 and from forums like this allowing me to cobble together pieces to do what I'm trying to do. I'm stumped with this one.I'm in Human Resources. We have a form that people use to request temporary pay increases with a start and end date. Because of the idiosyncratic systems we use, I'm using the following to calculate the number of work days between the two dates to convert them into pay periods of 10 work days. Holidays are irrelevant to these calculations as they are still considered in the pay period. We have 26.1 pay periods per year. I need the number of pay periods to correctly calculate the extrapolated salary that a temporary pay increase would be over the 26.1 annual pay periods.The calculations work exactly as they're supposed to. Or they were...until we started getting into temporar
Is there a way to write a script that will allow a button to print specific pages when clicked? Noot consecutive pages, however. The user has to print out the application on page one, but may only need to print pages 3, 5 and 8 after that. I don't really know Java, so any help is greatly appreciated!
Hi all! I need help!Ideally I want to be able to calculate the months between DOB and IFSPDate, into months (rounding down if between months (i.e. rounding to 11 if 11.5). I then want the selection of months to populate three different fields with a paragraph of information. For example:DOB: 12/01/2017IFSPDate: 06/13/2019The following fields would then populate:CAMonths: 18SocialSkillsCA: Snapshot of 18 month old children in this area: Children are using words more often to make requests, comments, protest/refuse, greet and respond to others while maintaining eye contact as they interact socially. Children are now often found playing near each other with similar toys. They may bite, hit, scratch or pull hair if overwhelmed and unable to express this frustration with words. Pushing limits, saying ‘no’ and tantrums are all part of children’s development at this age. They may express more complex emotions such as fear, sympathy, modesty, guilt and embarrassment through facial expression a
Hi,How do I get rid of renderable text in pdf in Action Wizard? My annotations are already flattened but still searchable. However, I don't know how to make them nonsearchable. I am using Adobe Acrobat Pro X 10.1.16 on Windows 7.
Hi,I need to work with document level javascript form which was created by acrobat dc professional. But I'm currently using acrobat standard 2017 which document level javascript is not available. Is it possible to retrieve document level javascript in acrobat standard 2017? Thank you!
Hi.Is there a way to list and/or count all attachments in a PDF file?I'd like the output in the Console or in a text file, it's for files comparison purpose (they contain dozens of attachments).Thank you.
Hi,I want to highlight selected text in Acrobat Pro DC.I am using gApp.MenuItemExecute("Annots:TextEditMenu:HighlightNote") which is working in Acrobat Pro 8 but not in pro DC.Please help me to understand how can I do this using script.
Hi,My PDF has a Form field, which gets populated with the current using below document script.var f = this.getField("Today"); f.value = util.printd("mm/dd/yyyy", new Date());It works fine in our desktop version of the Acrobat reader. However this script is not running in Samsung Galaxy S4.From the other posts, I understand that acrobat javascript has limited/no support on android.Please advise the possible next steps?1. Does any specific version of android operating system or any specific version of acrobat reader will support this script execution?2. What are the potential alternatives to set the date field to current date in PDF without using acrobat javascript?
Hi,I'd like to create a script that would save the main form (page 1) when completed as a new page with the Field ''date'' and field .time'' as the reference.The form will be filled twice a day and the pages would be added in the same file for the whole month.I would probably also save as Flattenfields() to protect the information added on each forms.June = page 1 (Empty Form)page 2 (june 1 - 6h30)page 3 (june 1 - 10h30)page 4 (june 2 - 6h30)etc....Search everywhere, but i couldn't find anything on saving the form in the same file (add page)ThanksMike
I have an interactive form created on the Mac, the form would be filled by hundreds of people on an iPad. The form works well however, I need a save button to save the form to the folder on the iPad or to the Document Cloud after the user would finish filling it. Currently Acrobat DC gives me the chance of running a menu command as shown below which will not function on the iOS.If its for me I know how to go a bout tap the "Share a Copy" button within Acrobat on the iPad, however for many users they will be lost, hence I want to simplify their experience by leaving them a "Save" button.Is there a chance of having a script from you guys?
Hi together,Is it possible to make personalized Watermarks in Acrobat Pro?I have a list of NAmes, and I want create with an action N pdfs which all have a different watermark. The watermark should contain a name of the listThanks in advance.
I am trying to use the below java script to identify the blank required fields. If they are complete, I want the electronic signature field visible, otherwise stay hidden and display the required fields. My issue is with the signature display part in bold.if (requiredFields.value == not null) { this.getField("Requestor Electronic Signature").display = display.hidden; app.alert("Error! You must fill in all required Fields:\n"); } else { this.getField("Requestor Electronic Signature").display = display.visible; } var requiredFields = new Array();for (var i = 0; i < this.numFields; i++){var fName = this.getNthFieldName(i);var f = this.getField(fName);if (f.type!="button" && this.getField(fName).required && (this.getField(fName).value == null || this.getField(fName).value == '')){requiredFields[requiredFields.length] = fName;}}var error = "Please complete
hi, I'm using bellow script. my issue is if i do calculation separately with round up, result is not same. so i want edit my script get roundup total like bellow. event.value = (this.getField("Tax").value / 100) * this.getField("M0").value;event.value = (event.value <= 0)?"":event.value;"Tax" field - 8.25%"M0" = (J0 +K0 +L0)so i want to do calculation like bellow.(J0 * 8.25/100) = Result round up to two decimal places(K0 * 8.25/100) = Result round up to two decimal places(K0 * 8.25/100) = Result round up to two decimal placesAnd get total off above all 3 values.Hope my explanation is clear & some can help me. thanks..
I am trying to create an action that will place the standard Acrobat “Approved” dynamic stamp in the same place and same size every time the action is run. I am having a hard time finding the stamp. I have tried using the code below but I'm just not getting a return that gives me the right information to add to the script. app.getPath("user", "stamps"); // Show location of custom stampsapp.getPath("app", "stamps"); // Show location of built-in stampsThis will need to be shared among several users, so the script needs to pull the stamp from each user’s computer. Is this possible and how can I achieve it. Below is exactly what I need, except I need to replace the arrow button with the Approved stamp. It needs to be the dynamic name/date/time Approved stamp. Thanks in advance.Tina var inch = 72; for (var p = 0; p < this.numPages; p++) { // Position a rectangle (.5 inch, .5 inch)
I'm trying to create a `setInterval` that fires every 5 ms while the mouse is pressed on a button.Strangely, while other code in the Mouse Down event fires, the setInterval doesn't fire until the event is over. It then fires during the Mouse Exit or Mouse Up event, which is too late.Why is that? And how can I get the desired behavior?I looked in the SDK documentation and found a onMouseHit event which sounds more like what I'm looking for. But I don't know how to trigger this event from a form button.
I am incredibly green with JS, maybe a week into learning; please ELIM5. I have created a form that will highlight a field based on its value. The issue I am having is during validation. I am attempting to populate a window to remind the end user to check for restrictions. I have read the tutorial and created a code based on the information provided; however, I am still unable to get it to run correctly. I have provided both versions for reference. The first code populates an alert anytime the cell is changed, and I understand why based on the coding. The following code is my attempt at only having the warning populate based on fill color. Both versions are forcing the alert incorrectly or not at all. I previously had the app.alert in the format code (provided as struck in the first "if" case) but was unable to get the oCK to operate, which is a must for the end user. Thank you in advance for any assistance!Format code:var mf
I am trying to figure out the correct Javascript to accomplish a certain action within my Adobe PDF. Here's a quick summary:Field 1 is a dropdown menu containing 2 options. These options are "Arlington" and "Beverly Hills"Field 2 needs to populate with the value of 1000 if Arlington is selected or a value of 1500 if Beverly Hills is selectedCan anyone help me with creating the javascript for this?Thank you,Matt
Hi,I'm trying to build an advance form that allows in-company ordering of products. The difficulty for most employees is to select the correct 'booking code' properly: which budget and which cost category.For example: rubber stamps (part of the range of the office supply products) must be booked on B001(budget number) and 1234 (cost category). Short: B001.1234. Second example: pencils (again part of the office supply products) must be booked on B001.1235. This product range is pretty large.Our source for the correct booking codes is an Excel sheet: column 1 contains product names, column 2 the main category, column 3 the sub-category and column 4 the correct booking code. Examplerubber_stamps; office supplies;postal needs;B001.1234pencils; office supplies;statiorary;B001.1235etc.The idea is to present employees with 3 pull down menu's: main category, subcategory and product.For maintenance and update purposes, it would be great to import data into the form/these pull down menu's
Hi,I am looking for a way to print or extract only those pages within a doc that contain a search term; what would be the search result set I suppose. Right now I have to note every page a term(s) is/are on and then go back and extract or print. Anyone have this issue before?TIA,-mark
I am trying to count the number of numbers and add a + symbol to the second to last value in form fieldexample user input into field 1000form format 10+00user input into field 10000form format 100+00user input into field 100000form format 1000+00
How to activate annotation by cliking on it , I write annotation to bbox on page , I want to highlight it after adding , so that user can see where to click. And also , i want to add clicking fucntionality to it ( activation after clicking ) what callbacks or smth should I use ?
Good Morning/Afternoon!I am trying to set up a calculation on a form that is based of an "if/Else" format. The calculation in words would look something like this:Skill Calculation: If “Trained Skill 1”>0;“bonus 1 = “Dex Mod” + “Trained Skill 1” + “Skill Misc Mod 1” + “Addtl Misc Mod 1” Else“bonus 1” = 0If it were in excel it would look like this as far as format and expected outcome:As you can see from the Excel snip, Row 2 shows that C1 ("Trained Skill 1") has a 1 in the column. As a result, the sum of B2 ("Ability Mod"), C2 ("Trained Skill 1"), D2 ("Skill Misc Mod 1"), and E2 ("Addtl Misc Mod 1") is calculated and placed in A1 ("Bonus 1")Conversely, Row 3 shows that C2 ( "Trained Skill 1") has a 0 in the column. As a result, the sum of B2 ("Ability Mod"), C2 ("Trained Skill 1"), D2 ("Skill Misc Mod 1"), and E2 ("Addtl Misc Mod 1") is NOT calculated and a 0 is placed in B1 ("Bonus 1")Can anyone help me create a javascript formula depicting this action?  
From the site: Adobe PDF Library SDK at the bottom where it says "The Adobe PDF Library SDK is available from Adobe through a license agreement to OEMs, ISV integrators, and enterprise IT developers on a case-by-case basis. The first step in the licensing the Adobe PDF Library is to fill out the information request form (PDF, 45K). "The information request form does not let you select the state you're in, nor does the "next page" button work or the submit button. To be able to use the SDK I must submit this form first so I'm hoping I can either manually enter the information and email it or find a fixed form
My Acrobat Pro DC form contains radio buttons. When I select them in preview, they stay selected, leaving me a form that will not allow users the option for selecting them. How to save the form with buttons unselected? Also, how do I de-select them, so that I may share the form?
Hi all!I am trying to build a form where the user can input data into several rows of fields. Once they are done, they can click a button at the bottom of the page which spawns a state form that is filled out with the data from the first page.The data on the first page is grouped, meaning that I won't necessarily have all the info in consecutive order. For example, I might have Rows 1, 2, 5, and 7 filled out on page one, which need to be translated to Rows 1, 2, 3, and 4 on the spawned page.I have written a function for this, but I want to add one more feature that I need help with. Right now, the function only works properly if ALL fields in a row have a value. If one of them is blank, it throws off the rest of the sheet. I'm looking for a simple way to check each row for blanks, and assign them a value of " " if the other fields in that row have a value already?Function below:function generate(){var nIndex = ["1.0", "1.1", "1.2", "1.3", "1.4", "2.0", "2.1", "2.2", "3.0", "3.1", "3.2"
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.