Questions
Recently active
I have 2 pdf form documents that I created. When these documents are opened, there is focus on the first instance of a multiline text box. You can see the text cursor blinking there. I see this behavior even though I did not setFocus via javascript and the focused multiline form field is not the first field in the document. I tried setFocus via javascript open page action on the first field. There is now focus on the first field but the multiline textbox retains the text cursor(which is now frozen- it stops blinking). Is there any way to fix this programmatically? I ultimately do not want any focus on any fields when I open the pdf document. I tried various code but it did not work. I did manage to fix this issue by reinstalling my Acrobat Reader - even though the Acrobat Reader is the same exact version. My colleague had the same issue with his Acrobat Reader so I am afraid customers will see this same issue. I was using Acrobat XI Pro for development. An
I'm trying to display a different page 2 based upon checkbox selection and I have the below function at the document level, which is called upon for each checkbox and it hides and shows the template beautifully. However, the template appears at the end of the document (page 3 of 3) and I would like for it to always display as page 2 forcing the previous page 2 to the new page 3. Can I accomplish this without spawning?function NarrativeDisplay() { var narr1 = this.getField("1E-F1_NARRATIVE").value; var narr2 = this.getField("1E-F2_NARRATIVE").value; var narr3 = this.getField("1E-F3_NARRATIVE").value; if (narr1 == "Off" && narr2 == "Off" && narr3 == "Off") { this.getTemplate("Narrative").hidden=true; } else { this.getTemplate("Narrative").hidden=false; }}
I could use a little help (or a lot...), please. I've got a calculation on a membership dues form that has totally taxed my brain. I will be adding an image, also. Hopefully, with everything I have included, someone can help me out.I'm creating a membership dues form for members of a trade association. We are small and don't really have a need or the ability to invest elaborate dues remittance systems. What we are trying to do is create a form that self calculates, so all they have to do is return the form with their check or go to PayPal to send in their dues. I've been able to calculate all the fields but one. It is a multi step one that requires us to use the same base number in more than one calculation.So, my field names are:Total UsageABCDues(I plan to hide A, B & C, so I went simple. )What I need to develop is a final number for dues when: $10 for each usage up to 50 $5 for each usage over 50 $350 minimum duesI set it up so:A would = the $10 calculationB would = the $
Bonjour à tous,Environnement: Acrobat Pro DCJe souhaiterais trouver un programme VBA qui automatise l'exportation d'un fichier réponses pdf (équivalent de la fonction "Export all..." dans le fichier pdf réponses).L'idéal serait un export au format csv et classé dans le bon ordre des Tab.Merci d'avance à tous pour votre aide précieuse !
I'm using a bit of complex code (and I'm trying to stay away from global variables) to have a checkbox within an app.alert window that upon click wound spawn a template. I have both codes (one for the app.alert with checkbox, and one for the spawn/delete) but cannot seem to link the two together well. Any help would be greatly appreciated. App.Alert Code [Based on a dropdown value] :{var oCk = {cMsg:"Yes, I want to add a form to this document", bInitialValue:true, bAfterValue:false}; app.alert({cMsg:" Do you want to add a form to this document?", nIcon:3, oCheckbox:oCk, cTitle:"TDR?"}); }Spawn/Delete Code [To be triggered upon click of app.alert check]:if (this.getField("Checkbox").value == "Off"){ oFld = this.getField("Additional NotesComments"); this.deletePages(oFld.page[1]);}else{ var a = this.getTemplate("Form"); a.spawn(1, false, false);}Let me know if you can help!
I have a mandatory date field on a form, however I also want the user to be able to custom type text as well (e.g. "Unknown"). I still want the drop-down date picker to be available and it to be formatted as mmm d, yyyy. Is there a way to remove the date validation from just this one field, or is there a script that can be added that makes adding text optional?
When create a text field using acrobat pro dc and select multi-line and Scroll Long Text as options, not all the text entered will print. It only prints what you can see on the screen. Is there a setting I am missing to make the boxes expand to full text when printing?
I have forms which have had pages rotated in Acrobat (they come from InDesgin files with vertical spreads, where half of the pages are rotated 180°)In Acrobat, I usually rotate the pages back 180° to proper reading orientation, but there is an issue if the user opens the form in Apple Preview. Apparently, Preview doesn't recognize the form field rotation; the page views in proper rotated space, but the fields do not.I'd like to be able to clear the PageRotation WITHOUT rotating the page - i.e. change the 180 to 0 for the page, while maintaining the current page orientation and field locations.Is this at all possible?
Hello,I have a calculate script for a TextField. The form runs without error, but the TextField remains blank. I'm sure you need more information from me to answer this questions, but I am not sure what information I should provide.
Hi!I really don't know if I'm in the right place but I'm wondering if it's possible to create a sort of "Document Cloud Files" on Finder like "iCloud Drive" or "Creative Cloud Files" (which appeared spontaneously on my Finder just after the installation of Adobe Acrobat DC) ?Thank you for helping me !
Is there anyway to circumvent the adobe reader print limit of 999? I've been using foxit reader, but that program moves the fields I paced on the pdf slightly.
I have a form that we enter the social security number in three different fields at the beginning of the form and then combine those into one field for auto insertion into other fields later in the form.The coding listed below works real well except when you enter something like 123 04 5678 it shows 123-4-5678. We need that missing zero to show. I have spent hours looking on the web and have tried things like "toString in the "this.getfield' line, padding the fields with blanks, and others on this website and nothing works. If anyone has any suggestions on how to get the right output it would be greatly appreciated. var three = this.getField("Social Security");//this function that checks if the destination field is blank and if so popluates it.function collatePreSetFieldsTo(populate){ //always overwrite the value in populate field //if(populate.value==''||populate.value==null){ var one = this.getField("SSF"); var two = this.getField("SSM"); var three = this.getField("SSL"); popul
So, I have a form I am editing that someone else created. Using adobe Acrobat Pro DC. In this form I've got checkboxes. The first checkbox has javascript that I want to affect multiple fields - by showing or hiding them based on if the box is checked or not. For background, the box is called "Brkfst", is the first box in the form and if checked, two other fields should appear - 1st is basically a label for the second box. The first box is set to hidden by default and marked read only. Default is set to the label title I want to show. The second box is a text box for user input and is set to hidden.The code I am trying to make work is in the actions under the Brkfst check box, and is set on the mouse up action, to run the following script:var fieldHide = event.target.isBoxChecked(0)?display.visible:display.hidden;this.getField("Expected Brkfst").display = fieldHide;this.getField("BDeliver").dispay = fieldHide;This code wasn't in the form when I got it
I need some help to see if its even possible for a message to display if I person enters a date, that is less than 2 days from today. The message would just be a read only pop up that warns the form completer that if their event is less than two days from now, they should call a specific person to arrange their reservation space. I tried some options in LiveCycle but I think LiveCycle is a little more complicated for me and the date field threw the message no matter what date was entered. So now I am using Acrobat Pro DC. And the field is currently a date field m/dd/yy format. No other validation or calculations currently set on the field.I'm not a coder, so I may just be overthinking it or the script I'm looking for isn't a scripting thing at all but some other option I'm not aware of. I don't want it to stop the user from entering the date, but prompt them to call ahead because of short notice. (our organization has approval processes in place for
Bonjour à tous !Je cherche un code personnalisé pour mettre une tranche horaire dans un formulaire Acrobat.Je veux y mettre une date : jour/moiset la tranche horaire : de 10h00 à 12h30donc logiquement cela donnerai : d/m de HH:MM à HH:MMmais cela ne donne rien, qui aurait la formule exacte, je suis novice en codage ^^Merci !!!!Moderator: Moved to JavaScript space
Hi,We have a created a form to be used internally within the business, we have noticed everytime we print the form we are then having to change the tray the form prints from via the "Page Setup" in the print screen.Is there a way to have the properties of the form changed so that the form automatically selects the same tray each time?
How can I generate a unique sequential number on a PDF form field? I want the sequence to be locked once form is saved (Save as) and generate a new sequence when a new form is opened. I also have a reset form button to clear all fields on the form and wouldnt want to affect the sequence field unless it is saved.
Hello,I'm trying to use AcroPDF interface to show a PDF form, get it filled by the user, and get back the filled-up form, to save it into my database.How can I do this (the interface doesn't allow me to save it into a temporary file or to get back the pdf or an image of it) ?Thanks for your help
HiI have a button on my test document that makes all fields read only when the salesrep has finished editing.for (var i = 0; i < this.numFields; i++) { var fname = this.getNthFieldName(i); this.getField(fname).readonly = true; // makes all fields readonly}It works perfectly, but I've realised that when I add the rest of the pages back into the document, there are fillable fields on pages 2 and 3 that a customer might need to complete once they've received the document.So, is it possible to make only page 1 read only and leave pages 2 and 3 editable?Thank you
I receive a no. of pdf files daily which need to be send for Reviewing. We are trying to develop a workflow through which I can enable Commenting and Analysis on received pdf and start the process of Reviewing by sending an email. Do we have any option in Javascript SDK for this ? I see a old post of 2010 that says it is not possible , Is that true now also. Please help.
Hi there,I'm having a dropdown (CN) where client chose one of the options from A to G. Depending on this choice, some of my fields are brought from readonly true, to readonly false (this is done by doc level function EnableFrom... and DisableForm...) .So for example when B, C and G are chosen in dropdown, radio button ( field P6RB01) can be filled.Now I want to set a default value of this radio button to "No", when "G" is selected. Here comes the script placed on a hidden field in "Calculate" tab that triggers radio button:// target amount status togglevar CN = getField("CN1")if ((CN.value == "B") ||(CN.value == "C") ||(CN.value == "G")) {EnableFormFieldFromGray("P6RB01")}else{DisableFormFieldToGray("P6RB01")this.getField("P6RB01").value = "Off";}//set value of RB to "no" if G chosenif(CN.value == "G") { this.getField("P6RB01").value = "No"; }Value is set to "No", but the idea is that the user can change this default value afterwards. Now this script is st
Need to get page dimensions like it shows here Quick way of showing the trim size in Acrobat Reader and Pro Have looked everywhere cannot find a link anywhere
I have created a button to run the following actions:Mouse Down > Execute a menu item > File>Print...Mouse Down > Run a JavaScript as follows function copyToAnother() { &nbs
how do you make app.openDoc() a trusted function in Reader DC. My function works if i have Preferences - >Security ->"Enabled protected view" unchecked.I would rather keep this checked and and just make openDoc trusted function.function OpenToPrint(filePath, numCopies) { var doc = app.openDoc(filePath); if (doc!=null) { var pp = doc.getPrintParams(); pp.NumCopies = numCopies; pp.interactive = pp.constants.interactionLevel.automatic; doc.print(pp); doc.closeDoc(true); }} function printSets(filePath, numCopies){var cResponse = app.response({cQuestion: "Enter the Number of Documents",cTitle: "Enter the Number of Documents",});var
app.execMenuItem("SaveAs");var Dropdown;var Radio;if (Radio == 1) { Dropdown = this.getField("Dropdown1");} else if (Radio == 2) { Dropdown = this.getField("Dropdown2");} else if (Radio == 3) { Dropdown = this.getField("Dropdown3");} else if (Radio == 4) { Dropdown = this.getField("Dropdown4");}var theSubject = "TII | " + Dropdown;this.mailDoc({ bUI: false, cTo: this.getField("Text Field 4").value, cCc: "george.fray@optimasystems.com", cSubject: theSubject, cMsg: "Hi, can you please review the attached Engineering Change Request? If you feel that this Engineering Change Request Form can be improved, please contact George Fray"});Apologies to say I am back.. my variable code isnt working. I get a result and it is only undefined.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.