Questions
Recently active
I have a problem with JavaScript/Adobe reader described here:http://stackoverflow.com/questions/43854026/adobe-acrobat-reader-tabs-saving-and-autoloading-does-not-work-wellCan someone kindly help me?
Good evening, I would need a big help, in a PDF form I need to visualize in a field that we call "TotDayi" a number obtained from the interval of two date fields, which we call "DateStart" and "DateEnd", as title The days are workable and can be developed in a working week of 5 days or 6 days (Saturday included), all this to calculate the days of actual work are also considered festivities including the patron saint and easter (or rather The pasquetta as the easter always falls on Sunday), in order to return the actual days between two dates I used this script:Code://console.show();//console.clear();var strStart = this.getField("dalgg").value;var strEnd = this.getField("Algg").value;if(strStart.length && strEnd.length){ var dateStart = util.scand("dd/mm/yyyy",strStart); var dateEnd = util.scand("dd/mm/yyyy",strEnd); var diff = dateEnd.getTime() - dateStart.getTime(); var oneDay = 24 * 60 * 60 * 1000; var days = Math.floor(diff/oneDay); event.
I am making a medical form in which i have text fields which generates notes based upon the form fields selection.Dropbox - ScreenCapture_12.flv First of you plz see the video from the above link.... i am getting everything right.. except for the problem in the video....the problem is .... when one doesnot choose the continous check boxes there is a one line gap between the two options (plz refer the above video link)............I want that when any of the checkbox is checked the there should not be a line gap.. as is the case in the video.Below is the java script which i am using:this.getField("subjective").value = "SOAP Notes\n" + "\n"+ "Chief Complaint\n" + "\n" + "Mr. " + this.getField("member.name.last").value + " is inquiring about utilizing orthotic bracing for his current conditions. His chief complaint at the time of this assessment is: " + this.getField("consult.chief-complaint").value + "\n\n" + "Subjective Notes - Information Reported by Patient\n\n" + "On a 0-10 pain
how would you force capitalization of the first letter of the first word in each sentence in a multi line text box. all other words in the sentence should be lower case
At the moment I'm using two buttons, one to halt calculations and one to perform the calculations using these scripts: // Turn Calculations Off // Use Master Calc to control calculations in other areas this.masterCalc = this.calculate = false; // Turn Calculations On this.masterCalc = this.calculate = true; this.calculateNow();I really don't have calculations in the form, I'm applying these scripts to help speed up the form processing (like changing field colors, show/hide fields, etc). What I would like to find is a script that would work better and to eliminate using the two buttons and having to click one to turn on the script and click the other to turn off the script.Can someone help me with this issue. The reason I'm asking this question is because when the AcrobatUsers forum was open to asking, someone said that these scripts were not ideal to help speed up form processing and that there were better scripts.
Hey Everyone, I'm trying to validate a date field(mm/dd/yyyy) against user input in my Adobe Acorbate form. The date field should only allow the current date, no future/past dates. Here's my code that prevents future / past dates depending on the greater than or less than condition. if (event.value != "") {var d = util.scand("mm/dd/yyyy", event.value).getTime();d = d - (d % 1000); var nNow = new Date().getTime();nNow = nNow - (nNow % 1000); if (d < nNow) {app.alert("You may not enter a date in the past.");event.rc = false;}}The issue I'm facing is that in each scenario the current date is excluded, it will either have to be a day before today or a day after today. So with the code above for example I cannot enter 05/09/2017 even though it isn't a past date, the code recognizes it as it is. I've tried where d != nNow and that didn't work either. I'm trying to enforce validation where the user can only enter the current date, hope someone can help. Thanks!
Hello!I'm just starting to learn JavaScript; unfortunately I am attempting to build 3 calculations that are a bit out of my skill level at the moment. If anyone would be willing to help I would really appreciate it.Below is the first formula from excel. The intent of this formula is to add all values between 0 & 8 using data from 16 fields..."TOTAL#" are the accurate field names.=SUM(IF(TOTAL1<=8,TOTAL1,IF(TOTAL1>8,8))+IF(TOTAL2<=8,TOTAL2,IF(TOTAL2>8,8))+IF(TOTAL3<=8,TOTAL3,IF(TOTAL3>8,8))+IF(TOTAL4<=8,TOTAL4,IF(TOTAL4>8,8)),+IF(TOTAL5<=8,TOTAL5,IF(TOTAL5>8,8))+IF(TOTAL6<=8,TOTAL6,IF(TOTAL6>8,8))+IF(TOTAL7<=8,TOTAL7,IF(TOTAL7>8,8))+IF(TOTAL8<=8,TOTAL8,IF(TOTAL8>8,8))+IF(TOTAL9<=8,TOTAL9,IF(TOTAL9>8,8))+IF(TOTAL10<=8,TOTAL10,IF(TOTAL10>8,8))+IF(TOTAL11<=8,TOTAL11,IF(TOTAL11>8,8))+IF(TOTAL12<=8,TOTAL12,IF(TOTAL12>8,8))+IF(TOTAL13<=8,TOTAL13,IF(TOTAL13>8,8))+IF(TOTAL14<=8,TOTAL14,IF(TOTAL14>8,8))+IF(TO
I am building a simple form to have employees submit their weekly "Photo Reports" from the field. I have set up a large button (space large enough for the JPEG) using the following JavaScript: event.target.buttonImportIcon();When the form is blank, I am able to click on the big gray box (button) to have a prompt appear that says "Select Icon".From there, I am able to "Browse..." and select a JPEG from my files.I click "Open" followed by "Okay". The picture proportionally fills the space that I want the JPEG to be in the form. This is exactly what I want. However, once that JPEG is in its location, I cannot delete it. I can click on it and the "Select Icon" prompt appears; I can select a different photo. But I cannot easily clear the photo without editing the form.I want the end-user to be able to clear the pictures in the form the same way that text can be cleared. I have very very little experience with all of this. Any direction would be best received in a "step-by-step" format. Over
I have Acrobat XI Professional, and after the last update, my ability to add my scanned signature to documents has vanished. I'm offerred Adobe cloud for $9.99 a month. But I only need to sign 2 to 3 documents a month. I guess I can just add my signature manually from a file every time I need it, but this is really a horrible thing to do to us. Or have I got it wrong?
Needed to reinstall Adobe Acrobat XI PRO most recently today. I spent a lot of $$$ for this product and Adobe is telling me I may no-longer use it?Please help
Hello,I'm new to JavaScript and I'm trying to develop a script to check multiple check boxes when the first one is checked. When check box 3 is checked, I need check boxes, 9, 12, 15, and 18 to be checked automatically. Any help would be greatly appreciated! Thank you.
Hi All,We need to implement a routine to combine several pdfs into a single one in an automated way without user intervention. Is that possible with Adobe Acrobat X?Is there a server version for it we can use for this task?Many thanks in advance.Harvey
Would the PDF library suite be able to programatically export a PDF to PPT using the suite of code?
Hello,I'm having some troubles with calculating something (This is for a DnD pdf).I have already gotten loads of scripts working, but my big trouble is when I have a Custom Calculation Script that is dependent upon another Custom Calculation Script to calculate a number...Let's assume I have:a) A user input field, called "Dexterity". (Could store the value: 16)b) Is a Custom Calcution Script (Let's call it "Modifier" that depends on "Dexterity",to calculate its value. (("DEX" - 10) / 2) (Calculated would be: 3)My script (Simplified) would be:event.value = (this.getField("Dexterity").value - 10) / 2;c) A field (Let's call it "Stealth") that calculates a total value from the "Modifier"and another User Input Field. (Such as above value + 2 from the User Input Field, total: 5)My script (Simplified) would be:event.value = this.getField("Modifier").value + this.getField("NewUserInput").value
I've created a form that calculates tax on products but not services, and then adds a 3% credit card fee for purchases made by credit card. My problem is that it's doubling my totals whenever I switch the credit card radial buttons from yes to no or vice-versa. Can someone take a look and let me know what I'm doing wrong?
Our office receives documents via email that usually aren't searchable and our staff spends a lot of time using Adobes text recognition. Is there software that can convert existing pdfs into a searchable document quickly?
I am creating a form where the user can select from a list inside a textbox. Because I know very klittle of Javascript i have reched a dead point, and I hope to find a solution. What I am trying to do is this: when the user clicks inside a textbox a list of words pops up, ex.:AlfaBravoCharlieDeltaEach time the user clicks in the textbox the list pops up and the user selects one word. Let's say that the user selects first Delta, then clicks again and selects Alfa, I want the textbox to show this:Delta, Alfa. How do i do it?
Our office works with comments all the time, so it's useful to have the comments window open by default when opening a PDF.Is there a way to do this?
I am using Acrobat version 11.0.14, which came with my Fujitsu ScanSnap. In the past, I have always added my signature by clicking on the "Fill & Sign, Place Signatures" and easily dragging and dropping my scanned signature. Last week I downloaded a fillable pdf from the IRS website and when I went to sign it, it required a certified signature. Now, I cannot get around the certification requirement to add my signature. Any thoughts?
Hello all,I have adobe pro X and have created an action to extract the first page of a pdf from a folder and then save the extraction to another folder.How can I run this on a schedule or every time new pdfs are placed into the folder?
Hi all;TL;DR - I need to place a tag that I will later substitute with data in the PDF. If possible I want to have a short set of text that is visible and a longer set of text that is the full tag and that can be viewed as a tool tip.Full use case - I am trying to fit our docgen solution to use a PDF as a template for a document. This is for the case of say a tax document where the form is provided as a PDF and parts of it need to be populated with data. So the PDF itself is not adjusted, it's just enter the data in the appropriate spots in the document. Where the data is entered, we want it exactly lined up, not too high or too low. The tag we place there can be a very long select statement (or several). We don't want that rendering all over the document, but rather would like something like "[FirstName]" as the visible part. But there are times the user does need to see the entire select so having it all show as a tooltip to that short text would be great.How should I do this? Both h
I have a form that I would like to flow somewhat like a flow-chart. For example, each question will be answered by a yes or no radio button choice. Depending on the choice, one of two read-only text fields will become visible (either telling the user that they are done or telling them to continue on to the next question). In addition, I would like for both text fields to be hidden in the beginning (and also to become hidden once again when the form is reset and the radio buttons cleared).
hello, I am trying to create a script using java for my batch header processing. I currently have a script that was given a while back but need it updated, the problem is I don't know who wrote it and I know nothing about it.I need it formatted to show the page number in the middle (center of page) with the file name on the top right hand side of the pdf, can anyone help?/* Top right hand corner *//* Get the filename and trim offthe '.PDF' */var filename = this.documentFileNamefilename = Left(filename,String(filename).length);/* Get Start Time */var d1 = new Date();var pages = this.pageNum + ' of ' + this.numPages;this.addWatermarkFromText({ cText:pages, nFontSize: 8, nTextAlign:app.constants.align.center, &
Hello,I am trying to optimize multiple PDFs at once.Can anyone help?
I am using JavaScript to programmatically create bookmarks to specific pages (e.g. bookmarkRoot.children[0].children[0].createChild("My Bookmark", "this.pageNum=77");).This works but I am sending the PDF to a company who do not allow JavaScript within documents. Is there a way to set a bookmark to a destination page programmatically without associating it with a JavaScript action?I can go into the document, click on each bookmark to go to the correct page, then select Set Destination and that will replace the JavaScript actions with Adobe actions but I have to do this for many documents so would like to find an automated way of doing it.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.