Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
I am developing an Acrobat PDF Form using Acrobat DC.I used sample data to test the functionality.Now I want to clear the test data.Can anyone tell me how do I clear them at one shot.Thanks
I am creating buttons on a page based on if a layer exist or not. Not all layers will be in every document. How do I increment the buttons being created so that they will be stacked and have just a little space between each?Here is the script I have written with just creating them at the size I need.... but they obviously stack right on top of each other.var inch = 72;for (var p = this.numPages - 1; p >= 0; p -= 2) { var buttonPlace = this.getPageBox({ nPage: p }); for (var i = 0; i < ocgArray.length; i++) { if (ocgArray.name == "No Color") { buttonPlace[2] = 0.5 * inch; buttonPlace[0] = buttonPlace[2] + 0.868 * inch; buttonPlace[1] = 30 * inch; 
have javaScript to create stamp its working fine, but stamp size is little big, i need to reduce size of stamp, please help mehave use below code in custom calculation scriptvar cAsk = "Enter stamp you want to give";var cTitle = "Document state for stamp";if( event.source.forReal && (event.source.stampName == "#stamp1")){ event.value = app.response(cAsk,cTitle);}
Hi Adobe Team,User received the message from Adobe like that You no longer have access to Adobe Acrobat Pro DC through my organization (Yodlee). If you believe this is an error, please contact your team administrator for assistance.Please let me know how we can fix this?RegardsMuskan
I have a field with JavaScript actions. When I "duplicate it across pages" the field is duplicated, but the duplicates have no actions.If I could make the duplicates read-only, that would be fine, but that property would then apply to the original field, which is not fine.I guess I can add actions to the duplicates but there's a lot of them. And maybe I can't, anyway. Haven't tried!Any suggestions or comments? Thanks!
Hello,I am currently trying to compile chemistry past papers for my students. But the thing is, it's extremely difficult to just copy and paste each and every question and then organize them topic-wise. Is there any function where I could just highlight the next block of question and delete it with the del button and then organize them? A script to perhaps make the job go faster? Im new to this program and was wondering if there was an easier way to do this.Thanks
I want to have a checkbox checked if a certain field is not blank.I have tried this formula in the text field if (event.value==""){this.getField("Check Box10").value="Off"}else{this.getField("Check Box10").value="Yes"}But it is not working any Ideas?
Hello all,Please could you help? Last week, my PC had Windows 10 updates and since then, I have been having issues: I cannot go to my desktop storage, I cannot save nor save as my document (already in PDFs)...It looks like it searches: a box with 4 squares in grey and blue appear but it is not responding at all.I really need this as I work with DC everyday (I work for myself and I am the only one employee) and I have not been able to do anything with DC for 3 full days.Help please!Thanks all.
Hi All,I'm in Acrobat DC and I want to have a javascript with an If statement to do the following task. I know I'll need a if statement but I need some help starting it off. I have a two drop down fields. First down I have PointA, PointB and PointC and Second drop down I have the same PointA, PointB and PointC. Now I have my Third Field box as a number because if I want to select PointA on the first drop down and select PointC on the second drop down then I want my Third field box to have a 4 for distance.So I already know this muchPointA to PointB= 3 milesPointA to PointC= 4 milesPointB to PointC=5 milesAnd these miles will not change because they are already calculated.thanks in advance
I need a javascript for the client to not have to tab to go to the next field. Example; text field limit to one character and when clients enter the character it should go automatically to the next text field. Can someone please help?
Hi all i'm very new to javascript and adobe forms.I have a form in which if a data entry field is not used it is automatically populated with N/A. The N/A in the field is determinned by a calculation in a seperate field we'll call Field1. Depending on the value of Field1 the data entry field is either N/A and read only or the field is blank and the user needs to enter a value. When a value is entered i have the field validating the entry against a range, if its outside the range an app.alert notifies the users.I'm having trouble getting the validation to ignore the N/A. it sees it as an entry outside the range and the alert box appears.In the calculation box of Field1 i haveif (event.value>=3.335){this.getField("Powder").value="N/A";this.getField("Powder").readonly=true;}else{this.getField("Powder").value="";this.getField("Powder").readonly=false;}In the validation of the Powder field i have:if (event.value>Upper || event.value<Lower && event.value!="" && event
This is the sample PDF:https://www.sendspace.com/file/2stygi I have over 100 PDFs with text: www.test.com and link: http://www.test.com.Page number varies.Is there anyway for me to batch remove that in? Thanks.
My pdf form has 80 fields. Adobe (jso), however, tells me I have 460. Here's the code: Set jso = PDDocument.GetJSObject fcount = jso.numfieldsWhen I press 'Tools | Prepare Form', Tab Order view, 80 fields show in the 'Fields' section of the screen.When I press the 'A-Z' button in the Fields section, all 460 fields are listed. Those 380 new items all begin with an underscore and seem to be categorized with a parent and several children. They do seem to parallel the 'real' fields. None of them allow a right click for me to see their properties. What are they and how can I ignore them in my code? Since I am required (without your answer to my question) to cycle through 460 fields instead of 80, I am really bogged down as the 'invisible' ones are processed.BTW, the 'invisible' in the title to this question has nothing to do with the 'hidden' property available with the 'real' 80 fields. These are actually invisible fields that cannot be touched.
I am trying to create a javascript to change the color to a custom color based on value input.The only color that seems to work is the value 4 which turns it yellow. The other values are not working. Any suggestions:This is what I have:if (event.value=="1") event.target.fillColor = ["RGB", 253, 215, 240]; else if (event.value=="2") event.target.fillColor = ["RGB", 198, 224, 180]; else if (event.value=="3") event.target.fillColor = ["RGB", 204, 236, 255];else if (event.value=="4") event.target.fillColor = ["RGB", 255, 255, 0];else event.target.fillColor = color.white; TIA
For example:If radio button 1 = true textbox 1 = "option1"If radio button 1 = false textbox 1 =""If radio button 2 = true textbox 1 = "option2"If radio button 2 = false textbox 1 =""If radio button 3 = true textbox 1 = "option3"If radio button 3 = false textbox 1 =""all of the radio buttons = false the Textbox 1 should = ""
Hello,I created a stamp you can put on a PDF document.The stamp ask some questions and save the document in a folder.Now i got the question 'Adobe needs write acces to save the document in the folder';Is there a way to suppress this questions in the Javascript ?In Adobe menu Edit - Preferences - Security (Enhanced) can you disable/enable the option 'Enable Protected Mode'.When this option = Off then you don't get the message. When the option = On then you get the message.So I want this option On but not the Write access message.Thx
I have been given an application where the user fills out a form onscreen and we take that data and fill in the fields in a pdf template and allow them to download the new file. We were using a third-party tool in the past and for money reasons we can no longer use that tool since we have upgraded our web server. Is this possible to do with the Acrobat tool currently and can someone point me in the direction to some example code? The app is in vb.net but if the example code is in C# I can convert.
I need help with hexadecimal encoding format in PDF files for both text and date and time stamps, e.g./Lang <hexadecimals>/Author <hexadecimals>/Created <hexadecimals>etc.Please point me to relevant page(s) in PDF reference/specification where encoding format is explained in detail, I must admit I didn't succeed on my own.
When I use the spawn script to add another form (Template) to fill, my auto calculate on the next form calculates from the first and it won't calculate the entries in the form I've spawned. How do I get the next form to calculate what's entered in that form? var expTplt = getTemplate("Form Template"); expTplt.spawn(numPages,true,false);
Good day!I'm new to writing scripts, and I'm having problems with the code.I have a vba code to open adobe acrobat, AcroRd32 version. Next, I need the opened document to be saved to the specified folder on the computer (the folder can be changed) through the print "Microsoft print to PDF" and the function "Print in grayscale (black and white)".Please help me sit over this code for the second month already.ThankThis code i open prom excel.Sub openPDF1()Имя = ActiveWorkbook.Name ' name excel fileSheets("from path").SelectDim Path As StringPath = "C:\Users\ta.va\Desktop\20\081334000010142018001_44.pdf"ActiveWorkbook.FollowHyperlink PathEnd Sub
I have created a document where certain fields are updated based on triggers in other fields. Part of this update includes changing color formatting from black on white to white on black. The autopopulated fields are updated as the trigger fields are also updated. I have also added the ability for users to manually override the autopopulated data. (4 wins)After an autopopulated field has been manually updated, I need the color formatting to return to black on white. I'm not sure where I'm missing, and I may be double dipping. Here is the scripting I've put together for the calculation, validation and keystroke.CALCULATION:event.rc = !event.target.bDetectvar v = this.getField("Award Value").valueAsString; var z = this.getField("USG").value; if (z=="NO"){event.value = " NOT A USG CONTRACT";event.target.textColor=color.whiteevent.target.fillColor=color.black}else if (v<10000000){event.value = " BELOW THRESHOLD REQUIREMENT 
I have the following code (which probably isn't written the most efficient)....// TURN ON ALL EYE ICONS FOR THIS PAGEif (this.getField("groundState") != null){var getState = this.getField("groundState");var theFieldsPage = getState.page;if (getState != null) {// Look through the fields page numbersfor (var z = 0; z < theFieldsPage.length; z++) {// Find the field on the right pageif (theFieldsPage == this.pageNum) {// Only change the display of the field on this pagegetField("groundState." + z).display = display.hidden;}}}}// TURN ON ALL EYE ICONS FOR THIS PAGEif (this.getField("021state") != null){var getState = this.getField("021state");var theFieldsPage = getState.page;if (getState != null) {// Look through the fields page numbersfor (var z = 0; z < theFieldsPage.length; z++) {// Find the field on the right pageif (theFieldsPage == this.pageNum) {// Only change the display of the field on this pagegetField("021state." + z).display = display.hidden;}}}}// TURN ON ALL EYE ICONS F
Should I sign out the Adobe ID on old computer?It's for business using, my question is when user changed or computer changed.How do I deactivate the license and install on new user or new computer?
Hello,I am trying to create a custom stamp, that once applied, will prompt the user for more information. In this case, once I apply the stamp, I want to pop up a Javascript window asking for PO number and traceability number. Is there anyway to do this?Thank you in advance!
Hi,I am much new to the vba as well as for the Adobe Forum.I need to convert .pdf file to an excel file via excel vba.To get done it,I am required to have Acrobat sdk vba reference.So I downloaded it from Adobe Site using this Downloads this link.When I browse through vba reference library those file are not displayed but only a tlb file is displayed.when I activated it and run my macro it says "UNABLE TO CREATE ACTIVE X COMPONENT".How do I solve this?
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.