Unlock the power of Acrobat SDK through our community.
Recente
Adobe Reader DC is getting an error message when opening pdf files. "The Application was unable to start correctly (0xc00000a5). Click OK to close the application" Clicking OK allows the file to be opened normally, but I am still unable to save the file. I have uninstalled Adobe Reader DC with the fixit tool rebooted, and reinstalled multiple times, but always get the same error. I am using a Windows 7 64bit machine.
Hey all. I have been scouring forums all morning for an answer to this but keep coming up empty. First of all, I am still VERY novice at javascript in Acrobat, but here is the scenario:I have 5 required fields in my form. When I have a submit button that just uses the mouse up - submit form event, it will reject the submission if a required field is empty. However, I am submitting using javascript so that I can add text from one of the fields to the subject of the email that this is submitted by. The issue is when it is submitted this way, it no longer seems to validate the form to ensure the required fields are filled.Some addition context:The required fields are largely text and are as follows:repname (text)pneumonic (text)customer id (text)client name (text)Verification Method1 (drop down)If all of these are filled out then the form should allow submission. In a perfect world, if they click submit and any of the fields are empty I would love a pop up message that lets them know that
If there is some fields like the following, is there anyway (maybe using API or SDK) to get the position of the fields (for example left 47.52 pt, ...) and the name of the field (in this case Text1, Text2 and Text5)? I would like to export these information into a text document or XML.
Hii will searching Text object Containers for all the pages in the PDF Doc.The following code Demonstrates the above functionality.if (AVAppGetActiveDoc()){for (int i = iSPage; i <iEPage; i++){PDPage pdpage = PDDocAcquirePage(pdDoc, i);PDEContent pdeContent;CString rcsTag;pdeContent = PDPageAcquirePDEContent(pdpage, gExtensionID);PDEElement pdeElement;ASInt32 NumEle = PDEContentGetNumElems(pdeContent);for (NumEle = PDEContentGetNumElems(pdeContent) - 1; NumEle >= 0; NumEle--){pdeElement = PDEContentGetElem(pdeContent, NumEle);if (PDEObjectGetType((PDEObject)pdeElement) == kPDEContainer){ASAtom asaActualTag = PDEContainerGetMCTag((PDEContainer)pdeElement);LPCSTR csActualTagvalve = ASAtomGetString(asaActualTag);CString csActualTag = (CString)csActualTagvalve;if (csActualTag.Find(L"ACUTAHeader") != -1 || csActualTag.Find(L"ACUTAFooter") != -1){HeaderPresent = true;}}}PDPageReleasePDEContent(pdpage, gExtensionID);PDPageRelease(pdpage);}}After Searching completes, in Task manager Acro
Hi,I have no javascripting knowledge, is it possible to add an export .fdf javascript to a button in a pdf form?seems simple but i can't seem to find an example? ThanskAdamsski168
I have a text field created and when someone fills it out I want the degree symbol to show up after. For example, if someone enters the number 180 I want the degree symbol to show up so it looks like 180°. When I open up Text Field Properties > Format, which one do I use (Custom format script: or Custom keystroke Script" and what is the javascript code for this to occur?
When I click a button that I have placed on a form, I want the text in a text field already on the form to change to the text in a variable that I have created.Specifically what I am trying to do://creates my variablevar date = new Date();var components = [ date.getYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), //date.getMilliseconds()];var id = components.join("");I then have a text field called "ID_Text"I thought I could just use the following, but it does not work.getField("ID_Text").value = id
What is the link to Acrobat JS reference guide? The one I had is broken.
Is it possible to run an action with a script (NOT execute a javascript inside the action, but run the action itself with a script)?
Hello everyone, I'm currently working for a company as an Intern and they asked me to create a custom form panel (basicaly a window that pops up when you call a javascript script) that should be filled with fields for the user to fill. Once those fields are filled i'm supposed to create and XML file from those fields.The problem is not about the XML file it's about creating the panel. Does anyone knows anything about it or is there any topic talking about it ? (I was not able to find any)Thanks for your time and have a nice day !
I'm going to add a dropdown that populates a text box in my custom dynamic stamp. I would then also like a way to go to the page in a PDF that contains specific stamp text without having to type that text into the search field every time, or scroll thru the document, or look thru the Page Thumbnails.Googled for a way to have a separate dropdown with the same values as the stamp dropdown, that searches the document for that stamp text, so far without success.I also looked for a way to programmatically create individual bookmarks named for the stamp dropdown values that are chosen, so far without success.Any ideas for the best way to do this please?Thank you.
I have a new credit card and need to change the credit card number & expiry date. I get to the right web page, but when I click on 'save', nothing happens. Can anyone help, please?
I've made countless attempts to change parenthesis, quotes, etc. and updated the entire script to match, but continue to get the same error in the same place. I need help from someone smarter than I am! Any thoughts?*Field1 has an export value of 1, 2, or 3.*Field2 is a number1 var v = this.getField("Field1").value;2 var l = this.getField("Field2");3 if ((v==1) && (l<21)) event.value = l;4 else if ((v==1) && (l>20)) event.value = (Math.ceil(l/2))+10;5 else if (v==2) && (l>0) && (l<5) event.value = (l-1);6 else if (v==2) && (l>4) && (l<9) event.value = (l-2);7 else if (v==2) && (l>8) && (l<13) event.value = (l-3);8 else if (v==2) && (l>12) && (l<17) event.value = (l-4);9 else if (v==2) && (l>16) && (l<21) event.value = (l-5);10 else if (v==2) && (l>20) event.value = (Math.ceil(l/2)
I will try with PDEText object to get Font Properties like Font name, font Size, Text and Text Color..Through PDEText I get Font size, Font name and Text color, But i couldn't get all words present in the PDF Page.Please Suggest me..How to get all Text information through PDWordFinder..Thanks...
I would appreciate any assistance regarding several questions I have about scripting for a particular form. I am NOT a coder (so please type slowly!). I am currently using Acrobat Pro 11.0.23 on Windows 10.Below is a screen shot of the planned form:INFORMATION ABOUT THE FORM:Need to be able to check off all that apply – for example a typical response might be POSITIVE for: Problem 1; Problem 5; Procedure 6; Procedure 10 and Option 10. (All of these POSITIVE). For Calculation of the “FINAL LEVEL” – this relies ONLY on the single HIGHEST Problem – or Procedure – or Management Option.In the case above – the Final Level would be HIGH because both Procedure 10 AND Option 10 were POSITIVE.The YES / NO field could be used to indicate that ANY of the responses at that particular level had been selected. (This is not completely necessary – but would make it easier
We have a Mileage Reimbursement form. I was tasked with figuring out how to automatically calculate the miles due. Below is what I did to make it calculate. Now the problem is that when someone puts in decimals it goes into some really long decimal. But it's only some of the decimals and it doesn't matter where on the column the decimal is put it will do it. Can some please tell me what I should do? Thnnk you!
Good Afternoon All Professional,Would need your professional information as below table i have create in adobe reader.the calculation of Total Hrs as below "3rd screenshot"what i want is as below:-3.15 change to 3.252.45 change to 2.755.30 change to 5.50the actual calculation is9:15pm = 21:15 hrs = 1260min + 15min = 1275min6:00pm = 18:00 hrs = 1080 min1275min - 1080min = 195 min195 / 60 = 3.25do any can give me a code to solve it?Many thanks for all of you.
Customer asked how to make it calculate. It was summing the hours up, but not adding it as time. I don't know much about this, customer created this on her own. We don't have anybody at our company that does this. There is some JavaScript code in there to do the calculation, but I have no idea how I know if there is a problem with it and how to make it work and calculate properly. Any help much appreciated! Thank you!Before I messed with it and added the last time to see if it was working and how, it has 6.9 in there to total up the top 3. I noticed there is just no code for the total field. All the other Total hours Fields had a section of that JavaScript code below, but the bottom Total hours for day didn't have JavaScript math in it which is why it's not working. The customer did have Sum selected which is why it was adding them wrong. I took that off, but I have no idea how to put a calculation in that field. I mean what the JavaScript Calculation should be. Hoping somebody could b
Hi,I'm assuming if this could be done it would be done with a Javascript.I'm working on a form and am trying to sum the totals entered into four different fields.Is this possible?
Hello,I'm creating a form that includes a button that will automatically enter in the users Windows ID and current date and I'm having trouble finding a javascript on how to do this.Any help that could be provide would be greatly appreciated.Thanks,Nathan
This detail appears to be missing from the documentation(PDF_Library.General (PDFL)).
I am using VBA in Outlook 2016 Windows to print the current Email Message using Adobe PDF to a create a PDF document. The PDF automatically opens after being created. I want to avoid the opening of the PDF. When creating the PDF manually, I can prevent the document from opening by un-selecting "View Adobe PDF results". From Adobe web site, https://www.adobe.com/devnet-docs/acrobatetk/tools/Wizard/WizardDC/pdfprinter.html it describes setting the SOFTWARE\Adobe\Acrobat Distiller\DC\ViewPrintOutput key to 0 to suppress opening the PDF after creating. I make the change, but the PDF continues to open. I have tried making the change both under HKLM and HKCU. Appreciate if anyone could help figure out how to avoid PDF document from opening.
Hi,We find two issues related with Adobe Acrobat Reader:Win10 32bit: can not preview with Adobe Acrobat Reader DC(latest version) or Adobe reader XI installed. Win7 32bit: can preview but exit slowly with Adobe Acrobat Reader DC(latest version) installed, normal with Adobe reader XI installed.The reason for can not preview: method DoPreview() return E_FAIL.The reason for exit slowly: method release() is slowly when first time close the preview.Please take a look at the demo in attachment, we are looking forward to your reply, thank you very much. Win32 sample.zip - Google Drive
Hi. Is there any API samples on how to create a dialog window/create the side panel in Acrobat?I would like to create a dialog window for the user to input their name, age, etc. rather than directly entering in the field. Or it can be a side panel for the user to input the values that they want.Any advice?I appreciate your advice.
I'm not 100% percent sure how to word this, but I need a dropdown menu to show only a certain selection based on a field. I will explain what i'm doing. I have a form with three fields. One is Manufacturer, One is Product, and the third is Product color. The Manufacturer and Product field automatically are populated based on a checkbox selection I have of products. So based on what they click on the checkbox, I want the drop-down to only display product colors based on the Product that was chosen. Is there a way to do this? Maybe some sort of script? I am open to all ideas or better alternative on how to approach this.I inserted screen shots of the form I have to give you a better idea.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.