Unlock the power of Acrobat SDK through our community.
Actividad reciente
I have a form that has 2 date inputs representing the start and end date of a trip.I have a 3rd date input that requests the company credit card expiration date. I want to show/hide a message that says something along the lines of "card will expire during trip" if the expiration date of the credit card is before the end date.In summary.Input start date, input end date, input cc expiration date. If cc expiration date is before end date, show a message, if not, message is hidden.Thanks in advance.JT
Hallo,ich habe ein drop-down menu (M1) mit z.B. Optionen 1 und 2. Bei Auswahl 1 soll textfeld n1, bei Auswahl 2 textfeld n2 bzw. visible werden.Aktuell jedoch muss ich nach der auswahl erneut das drop-down menu anklicken damit die Programm Abfolge abläuft und die Textfelder entsprechend der Auswahl angezeigt warden. Es ware schön, wenn sofort mit Auswahl der Option die Textfelder nach Programm (javascript) angezeigt warden.Maus taste loslassen oder drücken ändert nichts oder last sich nicht ändern.Vielleicht kann mit jemand weiterhelfen?Hier der code (unter Aktionen E2):var M1=this.getField("M1").valueif(M1==1){this.getField("n1").display = display.visible;this.getField("n2").display = display.hidden;}else{if (M1==2){this.getField("n2").display = display.visible;this.getField("n1).display = display.hidden;}}Beste Grüße und Danke
Here's the English version of what I'm trying (and failing) to do:The plain English version of the calculation I’m trying to make for each of the “Total” fields.Allow value from “c1_w_1”, IF field “camp_1” = “Dougy”+Allow value from “c1_w_2”, IF field “camp_2” = “Dougy”+Allow value from “c1_w_3”, IF field “camp_3” = “Dougy”and so on...It feels as though it needs to be a doc sript and not a field properties script. Below is a graphic to illustrate the functionality I'm trying to recreate in this PDF form.Any feedback would be greatly appreciated!!!
Hello all. I have a 3 page doc that I'd like to show/hide and reset certain fields only once. Once, at the time of opening the doc. I'm trying to have a fresh page every time I open the doc. Not, when navigating to the next page and then going back to the opening first page. I've searched a bit trying to find an example of javascript that will do the job without any luck. Can someone point me in the right direction to accomplishing this? Thank you for the help.
Hello World,I'm still a Newbie to Acrobat and JavaScript.I've been combing through the forums, Pubs and Manuals to create this code and cannot seem to get it to give me my answer.I mean it doesn't display the result in my "StopTime" Text-field (Time - h:MM tt) and because I cannot figure out how to view my results line by line.I don't know if it's because of prior code.Could someone please advise what I'm doing wrong.Here is the code I've created;// get the start time and added timevar sStart = this.getField('StartTime').value;var sWork = this.getField('Work').value;var sTravel = this.getField('Travel').value;//Convert Time to secondsvar vStart = Time2Num(sStart.FormattedValue, "h:MM tt");var vWork = (sWork * 3600000);var vTravel = (sTravel * 3600000);If(HasValue('StartTime')){ If(HasValue('Work') & HasValue('Travel')) { // Add Time var vTo
I work as an intern for an attorney's office and have been tasked with using Adobe Acrobat's Bates numbering feature to organize documents for a case a lawyer is currently working on. Unfortunately, I made a mistake and included an incorrect post script after the Bates numbers and need to remove the Bates numbering from upwards of 1,000 documents. Looking through the Acrobat manual, it appears I should simply be able to use Tools>Pages>Bates Numbering>Remove and then a dialog box should appear allowing me to clear multiple files at once of Bates numbering, however, instead of doing this, the Bates Numbering is just removed from the document that I have open, forcing me to have to open each document individually and delete its Bates Numbering. How would I fix this, as this project is on a strict time schedule?
I need this to do some automation for Excel to PDF. What product is this file in or where can I get it?
Is there a way to delete specific templates without any reference to pages?Currently on my set up i have options to spawn templates with no preferred order (as intended) and this results in the templates possibly spawning on different pages, depending on the user. (current code is a simple a.spawn({nPage: this.numPages, bRename: true, bOverlay: false}); on all my checkboxes)However, i also want to give the user an option to remove the template as well. My current knowledge of deleting templates only consists of this.deletePages(). To the best of my knowledge, this deletes specific pages, not templates, which is what i want. Is there a code snippet that target specific templates instead of pages?
I keep getting an error ... The value entered does not match the format of the field [Ten Pay]. The simplified field notation I am using is (BalDue / #Mo) + Disc$. Can someone help correct this error?
As the title suggests, I need to know if it's possible to CC the sender of an email once a Submit button is clicked. I know how to grab the email from a box, and how to hardcode an email to send a message to. Now I'm trying to get the user that is sending the email, to be CC'ed automatically. Of course, this CC will change depending on who submits the email. Currently, i have it all going through JavaScript. Is this possible?
I have an image of a scanned form. I know that Acrobat PRO can find the form fields on this image and put fillable fields on top of this document (https://acrobat.adobe.com/us/en/acrobat/how-to/create-fillable-pdf-forms-creator.html). I wonder if this service is available in Acrobat SDK or any other product?
Hello,I'm developing plug-in for Acrobat/Reader(C++) and with recent 19.012.20034 update I start receiving different pointer to PDDoc on PDDocDidSave and PDDocDidClose events which was fork fine until update to latest version.To clarify: I'm using a map to store PDDoc pointers on PDDocDidOpen and then I use it to determine which document opened through my procedure.Should I use PDDocAcquire or it is a bug?
Hello everyone,I need some help about automatic filling PDF dynamic document.I’ve created a dynamic pdf form with acrobat pro. We can find several fields on the document, like Name, Surname, address, … which come back many times on many pages. To save time and not fill in these same fields each time, I’d like to find a way to automatically fill in all Name field when the first one has been filled in. So that the user doesn’t need to fill in all fields with the same information.I saw the possibility to implement javascript code in acrobat pro which seems to be a solution.Does someone know what JS code I could use to do this ? Or a better solution ?Thanks !
1. I need to show/hide a text field based on 4 Yes/No drop dropdowns.-There are 4 dropdowns with only the options Yes and No.-There is a message that must become visible if ANY selection is No. The main problem I am running into is if 2 or more are changed to no and then you change 1 to yes, it removes the message although there is still at least 1 that says no. I have attempted to do an export value and have a hidden calculation text field with an "if >0", "make visible" but I was guessing with the code so it didn't work.2. I need to check 1 checkbox based on 4 other checkboxes.-There are 4 checkboxes and 1 hidden checkbox.-I need the hidden checkbox to be checked of 1 or more of the other checkboxes are checked.This may seem like a strange request but it stems from the need to spawn a page. I have figured out how to spawn/delete an info page based on 1 checkbox but this causes problems with multiple checkboxes. I can't stop it from spawning multiple pages b
Hallo zusammen,ich versuche schon seit 3 Tagen in einem Script die Summe zu berechnen und diese per Button an ein anderes Feld zu übergeben.(this.getField("H3-1"))= SUMME(H-SP, G-SP, H-SÄ, G-SÄ)das einzigste was ich so in der Richtung denke konnte was aber leider nicht klappt.In H3-1 soll die Summe aus den Felder H-SP, G-SP, H-SÄ, G-SÄDas ganze soll über einen Knopf laufenKann mir da mal jemand auf den richten weg helfen. Bin absoluter NeulingHabe Adobe Acrobat DC 2019Ich danke euchGruß Michael
I have a 50 page document that was given to me and they want a link back to the table of contents page. When I create the link once and choose copy/paste, it pastes in the center of each page, not where it was and I don't see a paste in place option like I would expect from InDesign. How can I do this without pasting and manually aligning with each page?
I'm designing a form in which there are multiple sets of radio button groups: Types of Transaction & Methods of Payment. The availability or applicability of some of the Payment options will depend on what kind of Transaction was selected and in the case of "Transaction Type1", there is only one available Payment Method: "Method2". So I would like some help with the javascript that would select the Method2 radio button from "Method Radio Group" when a particular Transaction Type (Type1) is selected from "Transaction Radio Group".
I currently have a PDF fillable form that selections that are required to be circled .However once the form is submitted I need the to be able to clear the form. I want it to have a red circle when selected then clear when form is cleared. I have created a button to reset the form when cleared and it works but just doesn't clear the circled selection. I have also set up radio buttons for the selections. Below is a script I found online that kind of work but you have to click on the selection to clear the circle.Any assistance would be greatly appreciated.if (event.target.display == display.visible){event.target.display = display.noPrint;event.target.borderColor = color.transparent;resetForm(event.target.name);}else{event.target.display = display.visible;resetForm(event.target.name);event.target.borderColor = color.black;}Thanks,Tim
I have a dropdown field (Type_Study) with 10 options, 4 of which begin with the word "Sensitization."I have 2 fields which only need to be visible if:a) the choice from the dropdown includes "Sensitization" or "all", andb) if a different dropdown (Storage1) is not equal to "Select Option"I believe I would need to add a custom calculation script to the fields to be visible or hidden and I have the script to make the field visible based on b) but I do not know how to script a) and combine it with b).So far, I have:if (this.getField("Storage1").value != "Select Option") { event.target.display = display.visible;} else {event.target.display = display.hidden;}Any help would be appreciated.Thanks,Jane
Hello Community!,Java Experience - RookieI have been trying to resolve this issue for a while now but cant get it to work. The goal is to have 1 page(template) spawn based on 4 checkboxes. If 1 or more of the checkboxes is checked then this page should be attached. I have tried different things but run into issues such as it spawns every time any checkbox is checked leaving me with several attachments instead of just the 1. I also need to be deleted when there are no checkboxes. The spawned page is informational so it doesn't have to be edited in any way.I tried using an export value to a hidden, locked text box and making the page spawn based on if that box was greater than 0 but it didnt turn out well. Thank you for your assistance.
I have a JavaScript submitForm function that does the following: this.submitForm({ cURL: addr, cSubmitAs: "FDF", bEmbedForm: true, bExclFKey: true });Where addr is a mailto: that includes ?subject and &body parameters. Works perfect for most users in-house. Sends the fdf just fine. However, random users cannot send and get the An error occurred while sending mail. message.My IT group is clueless. We have Acrobat DC Reader, Outlook 16, and Windows 10 Enterprise. All on a thin client.All the preferences I can see in the apps look fine, but I'm not IT and can't dig in too deep. Any ideas on what could possibly cause this? My IT group really has been zero help.
I am trying to get a text field (name) to equal 1 in another field when (name) field is filled in?
In our application, digital sign is added using signatureSign function in JavaScript. Until Acrobat XI version, this feature was working fine. But for Acrobat DC or Acrobat 2017, the reason was not displaying in the signature field. We can create custom appearances while using Adobe Acrobat application. Is there any way to include the "reason" in the signature field through JavaScript or plugins?
Heya everybody. I was playing around with one of my old docs and it uses the otherDoc javascript. Everything still works fine, but what I would like to add (to the button which opens the other doc), is to have the other doc opens but also opens to a specific page. I can't figure it out. Can someone help out with the javascript to make it work. This is a sample bit of script I'm using to open and transfer info from one doc to the other. case "WSPro": var myDoc = this ; var otherDoc=app.openDoc("WSPro.pdf",this); try {otherDoc.getField("daName").value = myDoc.getField("daName").value} catch(e) {}etc, etc.break;I want, when WSPro.pdf opens that it will open to page 5 when I select it from myDoc. But, will open to page 1 when opens when opening the WSPro.pdf directly. Thank you all for your time and help through the years.
Hi,Creating a form that asks an 'either or' type of question, and I'd like to be able to limit the user to check only one box. Is there a way to make the other box unavailable if the first is checked, but yet they can still change their mind choose the other (in the case of mistakenly checking one), it just unchecks the other box. I shared a snip below for context. Hopefully that makes sense. Thank you!V
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.