새로운 Adobe 커뮤니티에 오신 것을 환영합니다.
Questions
최근 활동
II a person enters a date, that is less than 3 years from today. The message would open and when they close the message the form would also. The field is currently a date field m/dd/yy format. No other validation or calculations currently set on the field. The field they would be entering the date in is called APPOINTMENTDATE. Any help would be greatly appreciated. Thank you in advance.
So, I've found a few suggestions in the forum on how to do this, but I can't make it work, and my situation is much simpler than all the other conversations that I can find.I have a Drop Down menu ("Banked Weeks") that contains two options: "No" and "Yes".No is the default selection and remains there at all times, but the user can switch it to Yes.I then have a text box ("How Many") that I want to autofill with "None" when "No" is selected and be fillable - and become required - when "Yes" is selected.Any help would be appreciated.
I have a form with 3 drop-down columns. If have a value assigned to each option on each drop-down. I want to compile the sum of all the drop-down columns in another column. However, right now, I can't get my JavaScript to even work on the first column. I've got the script below entered into the Custom calculation box and its not working at all. Can anyone tell me what I've done wrong?Also, assuming I a formula to work for the first column can I then just add a "+" to the end of the formula and then repeat the process for my next two columns. Everything I know about JavaScript, I read on-line this morning so I'm worse than a novice. Appreciate anyone's help.var a=this.getField("Dropdowna").value;if(a=="High Impact/ High Probability"){event.value=5;}else if(a=="High impact/ Low probability"){event.value=4;}else if(a=="Low impact/ High probability"){event.value=3;}else if(a=="Low impact/ Low probability"){event.value=2;}else if(a=="Conflict of Int
Hello everybodyI have 2 check boxes and a text box. The first checkbox is "ohne MwSt." and the second checkbox is "mit MwSt."In the text field is the value of the VAT (3.7%) calculated from the field "Mietzins".If the checkbox "ohne MwSt." is activated, then the other checkboxes must be hidden. This works, with the following code:if (this.getField("ohne_mwst").value == "ohne") {this.getField("summe_mwst").display = display.hidden;this.getField("mit_mwst").display = display.hidden;} else {this.getField("summe_mwst").display = display.visible;this.getField("mit_mwst").display = display.visible;}the second part is:If you activate the checkbox "mit MwSt. 3.7%" then the amount in the field "Mietzins" has to be added.In the field "Total Miete pro Monat" the total amount has to be calculated.Here is an example with "mit MwSt. 3.7%: Here is an example with "ohne MwSt.:Can someone help me?
HelloHopefully I can explain this issue well enough I have a multi layered form that feeds data to various sections depending on the kind of trading error someone had made. One of the layers is a "notification" layer to alert the order execution desk to correct an erroneous market trade. I have an "error" table and a "correction" table so it is clear what the operators have to execute and what they need to fix. When completing the "error" table, the user will BUY or SELL from a dropdown. I have the export values in this dropdown set as the opposing action, so the "correction" table will automatically show (for example) a SELL if a BUY is selected from the dropdown. This is all fine, but I now need to show the raw values in the body of an email (upon submit via javascript) for the order execution team so they do not need to waste time opening this massive PDF for a small part of a process - and also a time sensitive one. Everything is coming across fine, as
I have a form with two fields and based on the answer in those fields will determine what shows up in the 3rd fields. That is why I'm wanting to use an "IF" statement. If field1 is "shirt" and field2 is "dress" then field3 is "$200.00".
Hello experienced JSers.I'm starting to get to grips with a bit of Javascript knowledge, from being a total fresher a couple of weeks ago. Now that my eyes have been opened to to what is possible, I want to be able to utilise what I've learnt as much as I can.I have a fillable form, created with Acrobat Pro DC and it contains a lot of fields for customer info (first name, last name, three address fields, telephone number, and email address, etc). One of them is simply called "Company", and is for the company name that the customer works for.I have set up a dropdown list/combo box for Company, and I've got it linked to a tab delimited .txt file, using a folder-level script as follows:var Trusted_importAddress = app.trustedFunction(importAddress);function importAddress(){ app.beginPriv(); var cCoNoforImport = this.getField("Company").value; this.importTextData("/**FULLFILEPATH**/**FILENAME**.txt", cCoNoforImport); app.endPriv();}The s
Hi there,Having read Thom Parker's nice article on formatting text fields Im using the code below to check for user input.If the input is not a number then reject it.if(!event.willCommit) event.rc = !isNaN(event.change);What I've been trying to do is take this one step further. If a number has been set on a particular field then set the focus to the next field in the sequence.I've been using the code below to set the focus:getField("theNextField").setFocus(); What I haven't been able to do yet is combine the 2. So, check if the user input is a number. If it is, move to the next field.Please can someone point me in the right direction.Thank you in advance.
How do I Automatically Send a PDF for Shared Review?In PDF, there is an option called "Send for Shared Review" .Can we have "Send for Shared Review" functionality inside the asp.net web page.I have uploaded a pdf file to server using asp.net web, in Addition to that, i need to share that pdf file to multi user for commenting.Is there any sdk available to add these functionality in asp.net ?
Hi,I'm new to Javascript and am trying to learn as I go but I was hoping someone could help me out with some script and implementation tips for the following scenario:As part of a form, I have four text boxes and a check box. If the user enters anything into any one of the text boxes I want the check box to automatically be ticked. If the user unticks the check box, I want the four textboxes to be cleared.So far I have got the checkbox ticking automatically by adding the below custom calculation script to the text boxes (name altered for simplicity sake).if (event.value==""){this.getField("textbox1").value="Off"}else{this.getField(textbox1").value="Yes"}This code causes an issue though, in that because there is text in the textbox, I cannot untick the checkbox.Can anyone offer any help please? Thanks in advance.G.
¿Cómo puedo coger (seleccionar) los campos de un formulario PDF y copiarlos luego en otro PDF distinto ?muchas gracias
Using the Object Inspector on the object of interest to me, it is reported as "Stroked Path: Constant"Object Inspector:The object is a simple red line (indicated by orange arrow above) which overlays several images on each page of the PDF document. It can be selected using Edit Object tool and moved around the page.Is it possible to reference these graphic objects of type "path" via Javascript. I would like to delete them on all pages.The "graphic objects" of which I am referring do not seem to be those created by the Comment annotations as no annotations are listed for the document.
Hello,I have a simple form with several text boxes. on of the textboxes has the name "IndFullName"this.getfield("IndFullName").valueundefinedTypeError: this.getfield is not a function1:Console:ExecundefinedMy result is first of all "undefined". When watching a little video that introduced javascript, the person got the value of the textbox object. Second, I get the error "this.getfield is not a function. I am confused.What am I doing wrong? Your help is appreciated.Thanks, Steve
Could someone help with converting the below hard coded servlet for dynamic drop down. I want to remove the hard coding in thisimport java.io.IOException;import java.util.ArrayList;import java.util.Enumeration;import java.util.HashMap;import java.util.List;import java.util.Map;import javax.jcr.NoSuchWorkspaceException;import javax.jcr.Node;import javax.jcr.NodeIterator;import javax.jcr.RepositoryException;import javax.jcr.Session;import javax.servlet.Servlet;import javax.servlet.ServletException;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ResourceMetadata;import org.apache.sling.api.resource.ResourceResolver;import org.apache.sling.api.resource.ResourceResolverFactory;import org.apache.sling.api.resource.ValueMap;import org.apache.sling.api.servlets.HttpConstants;import org.apache.sling.api.servlets.SlingAllMethodsServlet;import org.osgi.framew
Quick syntax question: If I have a radio button group called "Answer" with the options "Yes", "No", and "Maybe", how can I use Javascript to select one of those options?
I have a dropdown box that contains 12 options. When it is in its open state on the form, it on;y displays the first nine lines, and the last three are in an "overflow:scroll" kind of state, and unfortunately—and I don't know if this is platform- or system-specific—the only way to scroll them is to physically click on the scroll bars at the side of the dropdown box, and drag them downwards. It's not possible to use a two-finger scroll gesture as I usually can.It's a first-world problem, I realise, but it does interrupt the user interface flow, and I wonder if there is a javascript way of specifying more lines of text should be displayed before it needs to add scroll bars.(I've checked the preferences and drawn a blank, but if there is one that I've missed, that would be a perfectly acceptable answer too!)Many thanks for your time,NathanG
Hi,I'm trying to build my app and want to generate apk file for android.But It's showing rendering from last 6 hours. Neither showing error nor generating file.I'm able to generate 'appx' file within 2 minutes.Thanks!
Hallo,schwierig zu beschreiben aber vielleicht kennt jemand die Problematik zu nachstehenden vermeintlichen Rechenfehler in javascript das in einem PDF Formular eingesetzt wird.Hier eine beispielhafte Rechnung:1,15 - (1,15 * 0,05)ergibt per Hand gerechnet eigentlich1,0925gebe ich diese Formel jedoch wie folgt als Berechnung in Acrobat einevent.value = 1.15-(1.15*0.05)ergibt diese Rechnung1.0924999999999998Frage: Wieso werden hier Nachkommastellen eingefügt? Wo ist hier mein Denkfehler?Mein Problem ist, das sich dadurch Rundungsfehler im weiteren Verlauf der Berechnungen ergeben.
I have a rather intense PDF form we are creating as a Purchase Request. I need an if then statement for the Line Item Adjustments total. I need it to NOT calculate anything unless there has been an actual change.Columns are as follows:QTY OrderedUnit CostTotal CostQTY ChangeActual Unit CostLine Item AdjustmentI have a calculation for the of the Total costs of the initial order. What I need now is to calculate the adjusted costs.If QTY Change is blank, then return no resultIf QTY Change has a number in it, then return total of the Line Adjustments minus the Original Amount
I have a document that allows for someone to add a headshot next to a description using the built-in "add image button" but in some cases, they may not have a headshot to add. We have added a save button that flattens the PDF and removes said button but would also like it to remove the add image icon if there is no image. This is not an issue in Acrobat Pro as I guess it understands what that icon is and removes it if no image has been added but in Reader where this is meant to be used the icon stays on the page once flattened.My "Save Document" button is set up as such.on Mouse Down:- Hide Save Document Button- Run Flatten Javascript (see below)- Execute Menu item... File>Save asThe Javascript:flattenFields()function flattenFields(){ if (app.viewerType=="Reader"){ for (var i=0 ; i<this.numFields ; i++) { var f = this.getField(this.getNthFieldName(i)) ; &nb
I have a simple ratio calculation to perform as seen below:if (this.getField("HiBrach").value==""){event.value="";}else{event.value=this.getField("HiAnk").value / this.getField("HiBrach").value;}"HiBrach" is derived from multiple (3) fields with a maximum value calculation performed before the ratio operation.This works no problem.However, how does the script change if "HiAnk" is also made up multiple fields with a Maximum value calculation.I haven't been able to solve this!?
Hi guys,Do you know how long does it take to receive access to PDF SDK library? I filled out a form at http://wwwimages.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/adobepdflform.pdf more than 2 weeks ago and have not yet received a free trial.Any help would be much appreciated,Sofiia
I want to add $3.00 to a field if a checkbox is checked.If the box is not checked than the original amount entered is not changed.EFS_FEE is the checkbox nameLUMPER_FEE is the textbox with a value - which could potentially be "0" or any number.I've tried this and with no luck:var Lumper = this.getField("LUMPER_FEE")var Fee = this.getField("EFS_FEE");if fee.value!="Off"var Fee = 3elsevar Fee = 0event.value = Lumper + Fee
I want to implement a plug-in for Acrobat DC that will call a CSC (cloud consortium signature) web service in order to sign the pdf-s. The web service uses OAuth 2.0 for authentication. I don't know where to start from, any suggestions? Thanks!
First of all, I'm pretty new with scripting in PDF Forms.my case:I'm trying to create a form with mutliple textfields. The last textfields should multiplicat all other fields togeather so I get a sum in the end.Thats really easy to do. Every field gets the format of a number with "1.234,56" because the German culture is uses "." as a group separator and "," as the decimal separator.The script to get the sum in textfield3 is as easy as it can get:var v1 = this.getField("Text1").value;var v2 = this.getField("Text2").value;event.value = v1 + v2;In Adobe DC pro and Adobe DC reader everything works fine but when I open the form in google chrome directly I get the issue that the calculation goes wrong.Google Chrome is using the format "1,234.56" instead of "1.234,56". That causes the value to change from, for excample 12,12 to 12012.Is there any methode to force the PDF in google chrome to use the German culture instead of the English culture?I can't change any settings in Google Chrome, so
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
이미 계정이 있으신가요? 로그인
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
죄송합니다, 다운로드하려는 파일의 안전성을 확인하고 있습니다. 몇 분 뒤에 다시 시도해 주세요.
죄송합니다, 바이러스 스캐너가 이 파일이 안전하지 않다고 감지했습니다.