Unlock the power of Acrobat SDK through our community.
Actividad reciente
Hey Adobe Community, I'm trying to send a fillable form's contents to a Webhook in JSON format through button click. I tried the direct send at first but the webhook does not support the content type (presumably the entire pdf) so i'm trying to parse the form fields in JavaScript and send that way. How can I access the form fields in the JavaScript window? Or, is there a better way to accomplish what I'm trying to do? TIA
I have a form that needs several required fields. However, when a certain checkbox is checked,some of the fields are no longer necessary and need to become "not required" anymore.Is there a way to do this? I'm not sure if it's even possible. If it is, it may require a java script.I'm currently using Adobe Acrobat 8 Professional version 8.0.0 on Mac OS 10.5.8I also have access to Adobe LiveCycle Designer ES4 on Windows 7
I am trying to apply some JavaScript via the Acrobat DC Action Wizard using the Execute JavaScript tool to automatically insert the filename of the PDF into the document title field (without the ".pdf"). I found a chunk of script and pasted it in, but I get the following error: SyntaxError: illegal character3: at line 4 The full code: /* Put script title here */ \r\n//Begin script\r\n\r\nvar strFilename = "";\r\nvar strChar;\r\nvar i = this.path.length;\r\n\r\ndo {\r\nstrChar = this.path.substr\(i-1,1\)\r\n//console.println\(strChar\);\r\nstrFilename = strChar + strFilename;\r\ni--;\r\n}\r\nwhile \(strChar != "/"\)\r\nstrFilename = strFilename.substring\(1,strFilename.length-4\);\r\n\r\nthis.title = strFilename;\r\n\r\n//End script\r\n). I don't know enough coding to understand where the illegal character is.
Hello everyone,With a lot of effort and patience from George_Johnson I wrote the script which can be seen in the first picture.Now I would like, if this is possible, to change the title of the window (see picture 2). At the same time I would like to ask if I can replace the info sign (red circle) with a jpg picture of mine (not me:-).Thank you in advance for any help.Nikolaos.
Is there a way in acrobat to create a button so that users may automatically add a Rich Media Button to their PDFs? I've heard of using the Action Wizard, but I can't seem to do what I want. The repetitive task that people keep doing is: 1. Adding a Rich Media Button to the bottom of a page2. Labeling it as Table of Contents and then changing other defaults for it to be black outline, clear fill, and changing the default font. 3. Having the button action be page view and then the first page. 4. Duplicating this button across every page.
Hello,If I have a document which pages are indexed and I add 2 DidSig signature on an indexed page, I get a 'Annotation Modified' on the Signature panel (left side):The signature was newly added, no other change. Is this normal, is there a way around it?Thanks~Bastian
I have a multi-page form that requires the user's name in numerous blanks. I have named all such fields the same (“Name”) so that when the user fills in the first field all the others are also filled in. However, there is one such blank down in the pack where the user might very occasionally want to leave the field blank or type in different information. I am new to this, but I have created a button the user can hit and make the one selected field go blank, allowing the user to then either leave it blank or type in new information, without effecting the other fields. To do this I have cobbled together the following code: I changed name of the field to be made changeable from “Name” to “Name1”I created a field named “Hidden” that has a display of “Hidden”I put the following JavaScript in the calculate tab of “Name1” if (this.getField("Hidden").value.length== 0)event.value = this.getField("Name").valueAsString 4. In the acti
Hi, I need help.I have document level script that populates fields depending on dropdown field items, that part is working fine.What I need is one of the fields is called "Weight" it is populated with numbers but lets say I have another dropdown that will populate same field butthis time I want value to add up to previous value. How would I do that?
Hello, I have something that may be simple to most of you but difficult for me. That being said, please forgive my ignorance and thank you in advance for your valuable help! I have a form where lets say there are 3 text fields with names. Let's call them: "name1, name2, name3" and in those 3 text fields you can add a name. Let's say: "John, Jamie, Bob" (name1 = John) (name2 = Jamie) (name3 = Bob). Now let's say I have a check box next to each text field (cb1, cb2, cb3 - checkbox1, 2, 3). So now let's say I have "textbox main" and let's say I click a value of "off and on" for each checkbox. If I default cb1 for "John" or "name1" then it will appear on "textbox main". If i click on "cb2" or in this case "Jamie" or "name2" then it will appear on "textbox main". Finally if i click on cb3 or checkbox 3 for "Bob" or "name3" then again, it will appear on "textbox main". Does that make sense? Thank you for your time and help and hopefully someone out there can help!
I have 1000's of PDF that all need to have their headers added and modified to show the following: "Filename" / "Page Number" Thus far I have managed to use the Action Wizard in Acrobat DC to get all the headers in the PDF's to show: xx (Placeholder text) / 1 (using the page number function in headers & footers) Is there a way to replace the "xx" (placeholder text) with the PDF filename (excl. the ".pdf") in the header using JavaScript? And can this be done in a way to automate it for all the PDF's selected?
I am trying to format a timesheet I have created for multiple departments in our office. I am wanting: 1. Where the dates autofill when they select the period end date in the "WeekEndingDate" box (where the week ending date is a Sunday).2. Auto calculate time to convert into quarter hours. I essentially want it to calculate like:(MONDAYOUTLUNCH - MONDAYIN) + (MONDAYOUT-MONDAYINLUNCH) + "WorkFrom Home Hours" = "MONDAYTotal Daily" The employee would separate out their own time in the boxes named "MONDAYTotal Daily GL Hours" and "MONDAYTotal Daily Job Cost Hours"I am not savvy with java scripts and the simple notations are not working.
Hello all, thanks for taking the time to read this. Not sure if this is the most appropriate forum. I use notecards to study that I type in word and save as pdfs. They are all laid out the same: the odd numbered pages are the front and the next even page is the back. Is there a way to randomize a pdf document so that I can shuffle the deck, so to speak, such that it is always odd then odd+1?If you are interested, I can send you a sample pdf of my notecards, I must have close to 10,000 of them from medical school through residency, but the lack of being able to shuffle them really does hinder studying a bit. I would definitely be willing barter for your help. Message me back and we can exchange emails. Thanks,-jason
Hi friends, Getting desperate. Little java experience here. Any help would be appreciated.Creating a form w/ Yes/No radio buttons that show/hide a group of fields (section1) based on response.I can get it to work fine using for the first set (radio1) using either of the below for YES buttons (and display.hidden for NO)this.getField("section1").display = display.visible; or, if (event.target.value != "Off") {// box is checkedthis.getField("section1").display = display.visible ;} The problem is happening when I add a second group (radio2) to display/hide the next group of fields (section2). The debugger appears with the below... The form needs to assign 'section1' field group to 'radio1' button setthen 'section2' field group to 'radio2' button setand i can't figure it out. Please help :-0
Good Day, I have the following case, I wonder if someone have an idea how to achive it .... I need certain user(s) to view a PDF file.I need to the Admin user only to open and print the file I have around 100 students, I need to have the studen name appear on the footer when priting the file is that possile ?
I select an image for a button field. I want that image to be copied to another button field automatically. Another button is read only. Any scirp for automatic copy I am using Adobe DC Prof
Hello, I would like to change x and y text position using javascript.Clicking on a button, I would like to set x/y pos of differents text elements presents on my PDF.Do you have a way to do it, I can't find any solution.Thanks!!
I am having trouble with my script. I can get it to change to white in the form field when I enter text as I wanted, but I can't get it to change back to transparent if no text is there or deleted. I think I need an if/then statement but I can't seem to get it worded correctly. Any help would be greatly appreciated.Here is what I have so far, which works if I put it in "custom", or o"n focus":// custom keystroke action;FillHighlight(event.target.name, color.white);Thank you!
I want to take the requested date of a form and auto fill boxes 6, 5, 4, 3, 2, 1 month prior to that date. Is this possible? I have tried a few other date formula's and they are not working. I want the requested date to be mm/dd/yy format and the boxes to fill in a mmm-yy format.
I need a little help here. I have a form with many fields. Client will use fractions (ex. 30 1/4) to enter dimensions in some fields (such as width).I would like to add and AppAlert when one of this field is more than 30. Since I have no specific format on these fields, they appear as text. I can't do a math validation on a text.Is there any way to create an AppAlert by converting the amount in the specific fields or simply add a particular formating on these ? I am using Acrobat DC Ppro.Thanks,
I have a date field that once filled in triggers calculations in other field (set due dates two weeks out). This field is formatted as mmmm d, yyyy but when someone types in Oct 31 it shows October 31, 2020 but the calculation in the other field does not calculate. The other field is a read only calculate.I am using Adobe Acrobat Pro DC.
Hello, it looks like this is possible, as i've found numerous examples of how to do this, but it seems like Acrobat DC makes this prohibitively difficult compared to all the tutorials I've found. So far, i've tried to open the document, open the action wizard, create a new action to execute javascript, and added a javascript file with the following code: function printOnOpen() { this.print({bUI: false, bSilent: true, bShrinkToFit: true});}printOnOpen(); But when I click "Start" acrobat fails on me. Any tips? Thanks
I created a form in Adobe Acrobat involving radio buttons and fillable fields to type in text. It appears only on Desktop, no mobile apps are displaying any of the fields. The dropdown selections appear "flattened". The radio buttons do not even appear. I have tried the Adobe Reader app, Adobe Fill & Sign, and the native iOS PDF viewer.
Hallo liebe Community ich stehe vor einem Problem welches ich zu lösen versuche und ich bis dato keine für mich relevanten Lösungen im Internet gefunden habe.In meinem Scenario besteht meine Aufgabe darin, in einer vorhandene PDF mit vorhandenen Input Felder (Eingabefelder), diese individuel anzusprechen und mit bestimmten Werten zu beschreiben. Mein Aufbau ist wie Folgt: Diese PDF liegt in einem Ordner mit einer html Datei, worin sich der Script befinden soll. Man geht auf die html, lädt in der Webseite eine bestimmte csv Datei hoch. Diese tu ich auswerten, über die Webseite noch ein paar informationen hinzufügen, um dann des in die PDF reinzuschreiben und ausgefühlt anschließend herunterzuladen. Ich kann die PDF in Textform auslesen, worin ich, wenn ich zuvor Platzhalter in die Eingabefelder platziert habe, diese ändere, dann diese veränderte Werte zwar in der PDF sehe, aber wenn ich diese versuche zu ändern, noch der alte Platzhalter drin steht.Wüsstet Ihr einen
HeyI have a document in varying sizes.I am looking for a script to change its height to a certain size(Do not reduce or increase, but only add white on both sides in height)
I am creating a pdf form which has a date field (Date1). The same date field needs to appear as "mmmm dd, yyyy", "mm/dd/yyyy" and "yyyy-mm-dd" within the form. I want to change the date one time and have it update across the form using the various formats. I found a post at https://community.adobe.com/t5/acrobat/copy-date-to-field-with-different-formatting/td-p/10648920 which addresses the issue. I don't know Javascript but tried using the second suggested code: You can also just try this line in the custom calculation script of BrthDate2 field:var s = this.getField("BirthDate").valueAsString; <<<----------------------------NOTE THE USE OF valueAsString instead of .valueif (s=="") event.value = "";else {var d = util.scand("dd-mm-yyyy", s);d.setDate(d.getDate()-0);event.value = util.printd("dd/mmm/yyyy", d);} The second instance of the date (3Date) works as expected using:var s = this.getF
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.