Unlock the power of Acrobat SDK through our community.
Actividad reciente
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"
Hi, Sorry... I don't know the correct place to place this so placing here... I am opening error pdf file in acrobat using applescript. Its throwing error as popup window. I want to handle this pop up and check whether pdf file is opened or not and accordingly i need to proceed further process in pdf file. I am getting the below error. After that nothing proceeded in code even a alert. I have modified the extension of html file to pdf to handling error pdfs. Code :set fileName to "PathToPDF"set POSIXFile to fileNametell application "Adobe Acrobat Professional" activate try open POSIXFile end try display dialog "Document Opened" end tell
Hi. I have a dropdown list "Dropdown1" with some values that show the relative content, for example:- value = 0 shows " "- value = 1 shows "abc"- value = 2 shows "def"- value = 3 shows "ghi"Now, I have a text field "Text1". I would like that when I select a value in the list, this populates the text field with the same content. I know I can use this calculation script in "Text1":var f = this.getField("Dropdown1"); if (f.valueAsString=="0") event.value = " "; else if (f.valueAsString=="1") event.value = "abc";else if (f.valueAsString=="2") event.value = "def";else if (f.valueAsString=="3") event.value = "ghi";but if if I allow to customize the text of the selection of the dropdown list, this change (rightly) does not appear in the text field. I would like to work around the problem and impose that the content (and not the value) that appears in the list, appears identical even in the text field. Thanks
I have Acrobat 7, and have installed it on my new computer. In order to keep it working, I need to activate the program, but I keep getting error messages when I try to do so. Phone activation has been disabled for this product. How do I activate?
Hello , I have the following problem , I wonder , how can I connect annotation to the selected box , I need the following functionality : I create pdf with embedded 3d annotation and then I select the region(area) in the pdf doc where annotation should be added. I have the following code from samples that sets the box for annotation .How can I add multiple annotations to the page and activate them immediately after selecting region for my annotation.ASFixedRect annotBox = {ASInt32ToFixed(108), ASInt32ToFixed(612 - 108), ASInt32ToFixed(792 - 108), ASInt32ToFixed(108)};theAnnot = PDPageAddNewAnnot(pdPage, -2, ASAtomFromString("U3D"), &annotBox); PDAnnotSetFlags(theAnnot, pdAnnotPrint | pdAnnotReadOnly);
I have several groups of radio buttons. If I select the second button of the group (value 2), this selection add “1” to the content of a text field. So, for example, if I select the second value of four radio button groups, the text field shows “4”. How can I do this? Thank you so much
Hi again, everyone. I'm having an issue with SaveAs and the bPromptToOverwrite parameter. The pastebin link to my code will be below. For some reason, it just won't prompt me to overwrite if the file already exists. I am calling the folder level script linked below through a mouse up event on a form button, if that makes any difference.I believe I have the line of code right seeing as the save event still happens without errors, but the dang prompt just won't show up. Any ideas?[JavaScript] Attempt - Pastebin.com
I have a drop down with 4 items. Actually this dropdown has a selection of business owners. Is this possible if we select 1 from drop down only one line is editable and if we do 2 then two lines editable? The second case, is this possible when I choose 1 then only one field is displayed?
I have a number of annotation attachments in a pdf form. I would like to get the page count of each annotation attachment(mostly pdf). Is there any way to get it.
So I am in Adobe Acrobat Pro DCReviewing my scripts (thanks for the community help in building some complicated ones) in PreviewThey are all running and functioning PERFECTLYI create a PDFTurn it into an AdobeEsignWidgetGo to the public facing URL andSad panda = no script functionalityAll the scripts are stripped away/not thereExamples:I have the date set to bedd/mm/yyyy and in the URL it is mm/dd/yyI have a script which makes subsequent fields required if the first field contains a valueIn Preview it works perfectly = every field becomes RED and requiredOn the web = nadaIs there a certain way I should be going from Acrobat Pro DC to EsignWidget when there are javascripts?Any insight would be GREATLY appreciated!
Hello,I work in compliance and often need to interview households with multiple adults. Data such as Name and DOB must be written multiple times on a multipage package that we use at work. I would like to create a PDF document that automatically completes the package with information/data completed on the first page. I'm not sure which adobe product I would need or how to accomplish my goal. Any guidance is greatly appreciated.
Hi,Wonder if anyone can assist please?We have a plug-in which has been working fine for years.When used it saves a copy of the .PDF being worked on.We have 2 PC's which have just upgraded to the same Adobe DC version (2019.012.20034) - using the same document:-One one machine it works fine without any errors.-On the other we get 'This operation is not permitted'.This occurs when the PDDocSaveWithParams command is called.Any help would be greatly appreciated. (Wondered if it was font related).RegardsStuartsaveParams->fileSys=ASGetDefaultFileSys();saveParams->newPath=pathName;saveParams->saveFlags=PDSaveFull|PDSaveLinearized|PDSaveCollectGarbage;saveParams->size=sizeof(_t_PDDocSaveParams);saveParams->saveFlags2 = PDSaveCompressed | PDSaveAddFlate | PDSaveReplaceLZW | PDSaveOptimizeXObjects | PDSaveOptimizeContentStreams | PDSaveOptimizeFonts;PDDocSaveWithParams(pdDoc,saveParams);
I'm using the following code as an action to spawn a hidden page template using a checkbox. The JavaScript works, but the issue is that each time I click the check box (check/uncheck) it will spawn a new page. I would like to toggle the checkbox to spawn the template (check) or delete the page (uncheck). Please note, this will be installed on machines that use Acrobat Reader, though the spawn functionality seems to work just fine. I am using the following code as an action within each checkbox:var a = this.getTemplate("TEMPLATE1");a.spawn(1,false,false);Thanks for the help! I am very new to coding and acrobat!
I am not familiar with JavaScript and just need it for one application. I have a fill able form that i created.The Cells used are the following:Grossamount (manual entry),2% (=Grossamount*0.02),SlipFee (manual entry)The cell i am having trouble with is for the Additional Amount due.Additional Amount due should be 2% - SlipFee. If the result is negative it should calculate Zero.For Excel the equation is: =MAX(0,I24-I26) and it works perfectly fine, but i am having issues with that in my pdf file.
Is there a script to calculate a percentage for score achieved out of total score? Thank you.
helloi could to find a script to run auto fill date (current date) when you open the file called "todaysDate"// variable to store whether document has been opened already or notvar bAlreadyOpened;function docOpened(){if(bAlreadyOpened != "true"){// document has just been openedvar d = new Date();var sDate = util.printd("mm/dd/yyyy", d); // set date now app.alert("About to insert date into field now");this.getField("todaysDate").value = sDate;// now set bAlreadyOpened to true so it doesn’t// run againbAlreadyOpened = "true";}else{// document has already been opened}}// call the docOpened() functiondocOpened();but i want to get alarm message and red frame like the required fields on the expiration date field when the current date field becomes (within and after ) the last 30 days of the expiration date field "e
I am reinstalling my applications on a new computer. Where can i go to download Adobe Acrobat 9 Pro Extended?
All my JSs are working when I check them in preview mode yet, when I export from the acrobat DC to a PDF and then ship it to the web form: https://api.na2.echosign.com/api/rest/v5/widgets/It appears that the validator scripts that are going from then acrobat environment does not make it out to the web widget.ex: If X is clicked then Y is now required JS: event.target.required = getField("present").valueAsString === "yes";This validation never happens after I have uploaded it to the widget. When the radio button is pressed it is supposed to force them. How can I make sure that the scripts migrate and function in the web form?Screen shots attached. Thanks in advance for helping!Preview inside of DC before entering value into Field 1 (First Name)Preview inside of DC after entering value into Field 1 = all subsequent fields become required(First Name)Web form does not put red * in fields, they are not required. Script did not move over.
Hello,I read a lot on internet.Who can help me or put me in the right direction.I use Adobe Acrobat DC pro.I've created a stamp. When a user put this stamp on a document the 'stamp' ask for some questions :The user has to fill in the question. One question is the filename.So I want that when the user has filled in the questions that document with stamp will be saved in a folder and filename the user has filled in.I read a lot about mySaveAs and Adobe LiveCycle and buttons and Folder Level Scripts but it don't work.How can I give the information filled in by the user in the stamp to the Folder Level Script so the document will be saved with the filename the user has filled in ?And also for the folder. The folder : "/c/ " and then the company name the user has filled in.Thanks and regards.
As the title. I have a dropdown list with two choices that have an effect on a checkbox with 6 values. The firts value of the list makes read only all the checkbox, and this is not a problem. But I would like that the second value of the list makes read only just one value of the checkbox (the fifth). How can I do this? Thanks
I have several files that will need the same comments/notes. Instead of "file, open, comments, menu, import data, click on .fdf file, open, and save" im trying to place that in an action for execute java. Am I on the right path? I was able to find this online:this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});...just not sure if I'm supposed to edit that? Thank you to anyone who know what I'm talking about.
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.