Questions
Recently active
I have created an Action script to place an X in text fields on page 1 if a corresponding check box is ticked which is located on other pages of the document.The pdf file has multiple text fields on page 1 with the name of the text field beginning with C1.In the rest of the document there are multiple check boxes with the name of the check box beginning with C1.There are the same number of text fields and check boxes.If the first check box is ticked, then the first text box on page 1 should then have an X in the field.If the second check box is ticked, then the second text box on page 1 should then have an X in the field etc.I am unsure how to capture the check box as a variable into the text field, if anyone can provide assistance that will be most appreciated.for (var i = 0; i < this.numFields; i++) { var fname = this.getNthFieldName(i); var f = this.getField(fname);if (fname==null) continue;if ( f.type == "checkbox" && fname.substring(0,2) === "C1"
I'm using this script that when opens doc to the first page then automatically goes to the second page. Works fine, but the first page has text on it I would like to be able to read but the doc goes to the second page so fast there isn't enough time to read the text on the first page. What I need help with is how to change this script that would open to the first page (say for 5 seconds) then go to page two? Can someone tell me how to do this? Thanks.Here's the script I'm using and have it in the doc level: if(this.getField("Counter").value>3) {this.getField("Counter").setFocus();}I tried to change the "3" to "5" (or higher) but nothing seems to work.
try67,Many thanks, indeed.And how do I calculate the difference between two dates. For example:Date of admission: 03/25/2010Date of hoe: 02/10/2018I want the text field to appear: xx years, xx months, and xx days
What I am trying to do is check 1 box if radio group 1 is selected as male and the radio group 2 is selected as Yes while checking a different box if radio group 1 is selected as female and radio group 2 is selected as yes. I need to do multiple scripts throughout my pdf for various sets of check boxes. The check boxes are valued as 1 so as to sum up to a total at the bottom of the form.
editing script for a pdf form and ive never done this before. so i got values that were hidden to be visible like my manager wanted, but i need these values to be hidden when only one dropdown item is selected.
I have an invoice with a section that includes a "Tax" field. I have a simple equation in this field that calculates the tax based off the amount listed in the "Total" field. The equation simply reads: "Total * 0.0825"However, I want to be able to select a checkbox called "TaxExempt" that will make the value in the "Tax" field be "0.00". I've read every forum, but can't find specific solution for this problem. Help!
Folks,I have a selection box with the following items to select: Low, Medium and High. I also have a text box where I want the following to appear.When selecting the item "Low" in the check box, the text box should read "Level 1: Contract manager performs Local Investigation"When selecting the "Medium" item in the check box, the text box should read "Level 2: Operational manager conducts research in the contract"When selecting the item "High" in the check box, the text box should read "Level 3: Contract Director / Independent Investigation"Is there a possibility?
I need to create an interactive dialog box that allows the user to select an image to be loaded as an icon into the stamp just before placement. Is this possible? Or can this be accomplished without a dialog box?
The built-in Acrobat toolbar icons have hover effects like this:where the highlight icon turns yellow when you hover over it with the mouse. Is there any way to accomplish this with custom add-on buttons? I didn't see anything in the documentation for app::addToolButton()...
I am trying to create am IMAP Windows Service and attach an event to the OnReceivingDataStream of a email server such as google. This part I have figured out already. The idea behind this is that Adobe Sign has a way to auto email when a document comes in signed. I want to embed hidden fields inside the document that have folder paths and a unique ID so my service knows how to choose which site and what folder to push the signed document to. I saw in the Rest Client API (echo sign) there is a way to pull the form fields off the adobe object. My issue is I have a byte array for a file. I need code to convert that byte array to the adobe sign object so I can get fields off it. I know I can use the rest api and just search for the signed docs; but, my plan is to be able to do this in real time and not have to schedule a search.
Hello All or should I say anyone interested,Being completely new to the use of JavaScript I did some research and located a script I could use for a button in a form I created that basically selects all of the checkboxes within it as a workflow enhancement for the end user. I works beautifully on a PC or Mac within Reader however when the form is opened on a mobile device also within Reader the button does absolutely nothing. Is this a compatibility issue with mobile platforms? Or will the script require some tweaking to work in both environments?See script below:var fn = new Array();fn = ["Power", "Flex Fit Ergo", "Wheel Steering", "Pushing the Cart", "Probe Ports", "USB Ports", "RJ45 Network", "External DVI", "Monitor", "Probe Care", "DVD Burner", "Remote Service", "Insite", "Live Assist", "New Exam", "Entering/Changing", "Search/Create", "Probe/Application", "2D Gain/ Active", "4D/Multi-D", "2D/MM", "Zoom Knob", "Quick Apps", "Trackball Button", "Measure/Caliper", "Layout Button", "
HiI have created a form for producing formal Certificates of Conformity and I need to record each one when it is printed. Is it possible to create an instruction to write certain form field values to an Excel spread sheet register when the document is printed? I've tried digging around the forums for this kind of subject but haven't found anything.Thanks in advanceChris
Hi,I intend to use a form where the affiliation of the therapist or make a visa in a field that is in front of his name. This signature was made through the acrobat adobe pen and not a digital signature. This form is used on a tablet. My problem is that I need to count these signatures. I wanted to know if there is a possibility of summing these signatures in a specific field. I hope you help me.
Hello,While finding text, especially large text, sometimes, it gives me below error:"The RPC server is unavailable."When I debugged the code, I came to know that error comes at the function SearchExecuteQueryEx.Here is my code snippet:LPCWSTR secName = convertCharArrayToLPCWSTR(sectionName);LPCWSTR arg = L"value";LPWSTR searchText;DWORD size = 1024;LPCWSTR filePath = convertCharArrayToLPCWSTR(iniFilePath);//Gets the search text from INI fileGetPrivateProfileStringW(secName, arg, NULL, searchText, size, filePath);ASText searchKey = ASTextNew();searchKey = ASTextFromUnicode((ASUTF16Val*)searchText, kUTF16HostEndian);SearchQueryDataRec srcQuery;memset(&srcQuery, 0, sizeof (SearchQueryDataRec));srcQuery.size = sizeof(SearchQueryDataRec);srcQuery.query = searchKey;srcQuery.type = kSearchActiveDoc;srcQuery.scope = kSearchDocumentText | kSearchMarkup;srcQuery.path = NULL;srcQuery.fs = NULL;srcQuery.maxDocs = 1; ASBool ret = SearchExecuteQueryEx(&srcQuery);if (ret == false) { AVA
I'm trying to start search at a specific page number but, Acrobat always give me results from page 1.
After calling 'SearchExecuteQueryEx' function, is there an API to access the content of the 'Search' window list ?
I'm looking for a code I can place on the document actions "document will save" and "document will print" that when printing or saving looks for any required fields and if any that are left empty a message pops up with a warning "not all required fields have been completed, please go fill in any fields marked in red before sending" please help-thanks
Hi,I have some checkboxes arranged in columns (days of the week) where it contains 03 items: P (Participants) = 1, F (missing) = 1 and "-" (absent) = 0. Below I have 3 boxes of text, where I want to make the following calculations: Cx 01: add only all the items P and F that are selected in the column; Cx 02: Count only those that were selected with P Cx 03: Divide Cx 02 by Cx 01 (%) Is there any way to do this?
How do I go about hyperlinking so the PDF will open a folder (not a file but the actual folder)From what I understand I have to hyperlink to a web page option then paste the hyperlink and add the word "file" or something like that in the beginning of the link.Any ideas?Thanks
On the preprint event of my LiveCycle Designer (9.0.0.2) form I have a Java if statement that checks if textboxes are null.I want to check a textbox to see if it has a folder path entered eg. \\network1\Public\InBox\.But I'm hitting a brick wall with my If statement...Please help
The title of this question is a title I found in the SDK documentation. It's a very short section that includes this text:You can extend the functionality of the IAC interfaces by writing plug-ins that use core API objects that are not already part of the IAC support system. I'm interested in finding more documentation on this topic. Exactly how does a custom plug-in expose functionality to the IAC?Does anyone have experience with this topic, and/or know of any documentation on it?
When the sample pdf file built by successive updates in Appendix G of the PDF Reference v 1.7 (G.6.1-G.6.4) is open by the Adobe Reader DC (or Acrobat DC) the annotations added in Stage 4 having reused pdf object numbers (8, 9) are not shown. The other annotation having a new object number (12) is shown.However, if new object numbers are given to the annotations instead of reusing the numbers of deleted objects in Stage 3, then all annotations are shown.Imho, the original example seems to be correct, why are the annotations reusing object numbers not shown?Using this update instead of the one shown in the PDF Reference displays all annotations correctly (remove empty lines if you cut and paste):7 0 obj[ 10 0 R11 0 R13 0 R14 0 R12 0 R]endobj13 0 obj<< /Type /Annot/Subtype /Text/Rect [ 58 657 172 742 ]/Contents ( New Text #1 )/Open true>>endobj14 0 obj<< /Type /Annot/Subtype /Text/Rect [ 389 459 570 537 ]/Contents ( New Text #2 )/Open false>>endobj12 0 obj&l
We're getting different result output when we use the COM to export a PDF into a docx vs manually opening a PDF in Acrobat and exporting to docx. It seems the manual version looks much cleaner while via COM looks old and dated. Anyone know why?
Hi,I have three checkboxes in my form named checkbox1, checkbox2 and checkbox3.I wish the following to happen:If checkbox1 is checked, then:• checkbox2 and checkbox3 also becomes checked• but at the same time checkbox 2 and checkbox3 also become disabled (by disabledI mean not checkable, not clickable).I have this script that does half the job, it disables checkbox 2 and checkbox3 when checkbox1 is checked:// set readonly property based on the value of this field compared to "Off";this.getField("checkbox2").readonly = (event.target.value != "Off");this.getField("checkbox3").readonly = (event.target.value != "Off");Though, as described above, I want checkbox2 and checkbox3 to become both checked and disabled at the same time.How would this script look like?Thanks for your help!Greatings,Dennis (Javascript beginner)
I have an order form which has six items for sale. The first field on each item is the number of items the customer is purchasing. The second field is a hidden field which creates the cost of the item. The third field is simply first field + second field = total cost for that item. There are another five lines of exactly the same code. The problem comes in with the final Grand Total line. I wasn't able to simply perform a sum function and pick my fields. I had to do a custom calculation. It works. However, if the person picks something from line one and skips to line three, the grand total turns into a mess.Examples:Field One (how many, limited to three characters - a/k/a "order.0.0")Field Two (hidden - validate value of 75 to 75, or whatever each line costs - a/k/a "cost.0.0")Field Three (custom calculation script):var a = this.getField("order.0.0")if(a.value!=0)event.value = a.value * 75elseevent.value = ""Each line is assigned a different variable, and the "a.value" chan
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.