Questions
Recently active
Hi - I'm struggling a bit with a simple field validation issue. Based off of one field (called "NUMBER") I would like the following to appear (and the rest to disappear if not applicable) within the following ranges:0-499,999 would trigger "Field 1"500,000-2,499,999 would trigger "Signature Block A"2,500,000-5,000,000 would trigger "Signature Block B"5,000,001+ would trigger "Field 2"I can also post the custom Java script if that helps but I have no luck with this custom code as of yet. Any help would be greatly appreciated. Thanks!
Hello,as the titel states i want to lock being able to add or alter additional attachments after the user has added an attachment.the trigger is not that important, even manually locking it would be fine.is there some way to realize this?
I'm just starting out trying to get my head wrapped around acrobat javascript to try and automate some things, and thought I should try and so some simple tests.So, I have the following function.function Alert () { console.println(doc.getField("PC").value);}And in the Validate tab for the "PC" field, I have set"Run a custom validation script:"Alert()Yet when I look in the console, the value it prints is the value BEFORE I make a change. For example, if the value in the PC box is "Bob" and I change it "Alice", then it will print "Bob" instead of "Alice".How can I get the new value for the field in the validate script?
So i'm making a PDF for a game i'm making. I make a drop down field that decides whether a gear used is armor or shield. If it's armor, then the Defense field I added will be added to the armor spot, and if its a shield, to the shield spot. How would I do that?Basically, if something is an armor, and it gives two defense, it shows +2 in the armor section. If its a shield and gives +2 armor, it shows + 2 in the shield section. I'm new to this program, and don't know any javascript.
Hello, I have been reading few answers in this forum but none is about my case. I'm trying to add an IF / ELSE statement to a quote form in PDF but is not working and obviously I'm writing a wrong code.I have a drop list called "STATE" and another text field called "FL_CALC". Now my question is how can I get a numerical result result in "FL_CALC" field depending the selection made in "STATE" field?All that I need is: that number "145" appear in "FL_CALC" field when you choose FL state in "STATE" field... if you choose any other state, then in "FL_CALC" appear 450. Is this possible?
We have a PowerBuilder application that generates pdf files by printing to the Adobe PDF printer, named automatically by setting a registry entry, then, once created are read into a PowerBuilder blob variable and saved in an Oracle database. All works fine until we run it on Windows 10. The file is created ok to the file system, named appropriately, but then the PB FileRead fails. It is almost as if Acrobat still has a lock on the file. Any ideas would be greatly appreciated! Thanks
I need to set the page labels in a document, but I don't want the label to include the sequence number.There doesn't seem to be a 'cStyle' parameter that corresponds to the 'None' option in the interface, is there a way to do this where I can just set the page label to a prefix without the numbering?
Is there an SDK option to programmatically export PDF to HTML Web Page using Adobe 2017?Using VB.Net within VS2012 and prefer using Adobe .dll's; Has anyone had success with .ExecCommand(?) or .execMenuItem(?)?Prefer to avoid using JavaScript, if possible.
var tot1 = this.getField("60Pg1Sum").valuevar date60 = this.getfield("60DaysReady").valueif (date60 == "") event.value="666";else event.value=tot1;Altered title to make it more readable - edited by: Malcolm Thomson
I have a field that would require selection from one or another dropdown depending on scenario.What I would like to do is make one dropdown or the other visible/active depending on a selection made in a different dropdown.Ie.;If Select "NO" in dropdown 1 > Then dropdown A is visible/active.If Select "YES" in dropdown 1 > Then dropdown B is visible/active.Alternatively it could be the same dropdown but with a different list of selections based on the selection made in dropdown 1I hope this is doable
Hi everybody,Please can someone help me out.I've a number of 'mandatory' text fields on a form.I've setup a 'Document Javascript' that sets the focus to the first mandatory field upon opening the pdf.Using an onBlur action I'm testing to see if the user has entered something in the first text field.If they haven't, e.g. they've just tabbed to the next field, they get a popup asking them to fill in the field and then the focus is set back on that field.If the user only enters a space, and then tabs onto the next field, the text field value is checked to see if that's the case. If it is, the user gets a popup and then the focus is set back to the text field.If the user enters something other than just spaces they are ok.The problem I've got is that the form gets stuck in a loop between the action of tabbing to the next field and the onBlur test.Here's my code.var fld = this.getField("TextBox1");var nxtFld = this.getField("TextBox2"); if (fld.value !== "") { //if field is not
The date will be formatted as mm dd yyyy. Thanks for your help and time.
We use JDA/DLX WMS along with Metapack DM to print shipping labels using Internet explorer 11 & Reader 11, we use a JavaScript file toprint then auto close the pdf print window. This all works fine on Windows 7 but the print window wont close using windows 10.I have tried many variations of the script file without success, the original script is below.printDocument=app.trustedFunction( function(vPrinterName) {app.beginPriv();var pp = this.getPrintParams();pp.pageHandling = pp.constants.handling.none;pp.interactive = pp.constants.interactionLevel.silent;pp.printerName = vPrinterName;this.print(pp);app.endPriv();});Any help would be much appreciated
I have an application which supports acrobat 8.0. I want it to support Acrobat DC via inter application communication using OLE and C++. Is there any documentation for this? I am stuck with multiple redefinition compiler errors. Please help.I have added a new class using acrobat.tlb and surrounded with compilation errors.
Ich möchte in Adobe Acrobat DC Formular per JavaScript eine Zahl bzw. Zahlenkette in Text umwandeln. Könnte mir jemand ein Beispiel Script posten[ title changed by moderator – info: duplicate thread ] --> [ Duplicate thread ] Zahl in Text umwandeln [Moderator: Thread locked because double posting. For further discussion please see thread in German forum[ Duplicate thread ] Zahl in Text umwandeln ]
Hi team,I am trying to create a program which can add password to PDF file.Can you guide me to to add password using SDK?regards, Rajat
using .net/acrobat.dll, how can i code the 'Export To' 'Html Web Page'
Hello,I am creating a flyer with form fields on it, that will ultimately be flattened to read only by submit button and saved as a PDF. One of the form fields is for the end user to enter a URL. I named it referralLinkIs it possible to pull the data from referralLink and program it to a hyperlink so that after the form and PDF is flattened and exported, the hyperlink will navigate to said URL.
I applied the below formula to a field that will automatically generate a number when the proper credentials have been met; however, the field currently defaults to -$2.00. Please help! Thank you!var T1_NDR_3 = Number(this.getField("T1_NDR_3").valueAsString);if (T1_NDR_3<0) event.value = "0";else event.value = ((this.getField("T1_RV_3").value - this.getField("T1_Custom_3").value) * (0.2)) - (2)
Running Windows 7, Acrobat Pro DC, Excel vbaI'm finding that the following code does not find the active document if the active document is minimized.Otherwise the code works fine.Is there a better method? I would like my code to find a minimized window as an active document.I haven't found any reference to this in Adobe Acrobat SDK documentation.ThanksDim pdApp As acrobat.CAcroAppDim pdDoc As acrobat.CAcroPDDocDim pdFile As acrobat.CAcroAVDocSet pdApp = CreateObject("AcroExch.App")Set pdDoc = CreateObject("AcroExch.PDDoc")Set pdFile = pdApp.GetActiveDocIf (pdFile Is Nothing) ThenMsgBox "nothing"End If
Hi, hope I can find the help I need with a website programming project. I'm working on a new website and need to create a time table of hours worked in 24 hours format using PHP and JavaScript (Jquery). In short, the table should layout the days of the week and hours worked and be able to generate the total hours worked at the end of each day and week. EX:Hours Worked 03:20:00 09:30:00Total: 12:50:00Any and all help is appreciated.Thanks,JB
I want to write a calculation that will take the input from 1ST_FLOOR add 1ST_FLOOR_DEC / 10 to get a number with a decimal and subtract a value the user puts in CL_RD and place it in the box for ToBF.not sure what I am missing var num = this.getField ("1ST_FLOOR").value + this.getField ("1ST_FLOOR_DEC").value/10 - this.getField ("CL_RD").value;this.getField("ToBF") = aNum
Hello,I would like convert this formulas to work in Javascript.=(D6*(12/1+(E4-1)*(12/1+1)/2)*(1+(E4^(D10*1)-E4)/(E4-1))+D4*(E4^(D10*1)))*1D6 = 200000D10 =1000E4 = 1,07result in excel = 1099444,405please help
Helloi have a large multi line Text Field that contain multiple visits with a certain Date configurationssomething like this (Sunday 06/01/2019):I was able to collect them through RegEx and put them in a popUpMenu through this code:function ShowVisits() {var keyword = /[(](\w{6,9})\s(\d{1,2})[/](\d{1,2})[/](\d{4})[)][:]/gvar str = this.getField("HistoryT").value; var match = str.match(keyword);var begining = ["Visits"];var aGhazali = match.unshift(begining)var cRtn = app.popUpMenu(match)}What I would like to do now is to modify the function to search in the content of the Text Field and do something like setting focus or scroll down to where the match is. I have tried to search using the built in Find but it only finds the match if it is available in the screen, but if its need to be scrolled to find will show no matching is found thanks
I'm trying to automatically rename a file using fields from the document (date, clients name....) from an fillable pdf and then send it in an email. I have tried using Javascrpts but none of them have worked, it send the email but keeps the original file name. Is there a java script that will do both and would someone be willing to share it.Thanks in advance.Fred
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.