Using Version ES4 Livecycle added master page and now the master page is showing on PDF view as a blank page. How to remove?
Using Version ES4 Livecycle added master page
Can Output Central, Designer, Transformation Editor generate Tiff files that can be captured for archiving? (Wrong forum, but I can't find another.)
This is likely the wrong Forum, but I couldn't find one for Output Central, Designer, Transformation Editor. Also, this question may not post. So far, every time I post I'm asked to sign in. Then I'm not recognized. I changed my password and it was verified. So, I'm trying again.
I would like to know from anyone familiar with the soon to be defunct Output Central, etc. if Tiff files can be generated directly and captured so that they may be sent to a Customer for archiving.
Any help will be appreciated.
Thanks,
cmacala
no of dropdown value and column merging from database
There is any limitation to keep value in dropdown field. Can I keep around 5,000 value in dropdown field?
Also I was trying to pulling data from database. It is working well but I see only limited column connected to pdf form. Can I connect more than 1000 column with pdf form fields?
second drop down list visible / invisible based on first drop down list choice
I am making a form using livecycle designer. I want my second drop down list (Conference Room) to either be visible or invisible base on the choice of the first drop down list (Building). I am new to Javascript and Livecycle. I found this script online and modify base on my object name, but it does not work. My script so far is
if (buildingdropdownlist.rawValue == "A") {
ConferenceRoom.presence = "visible";
} else {
ConferenceRoom.presence = "invisible";
}
I am putting this script as a "formready" in the second drop-down list. Is this where it is suppose to go? Is the script correct?
Date Field question - enter prior dates only
I would like a date field where the user must enter a date that is at least 1,095 days (3 years) prior to todays date.
Using show/hide fields with dropdowns
The code below stores and shows data that is displayed in a display field based on what the user selects, and it works great, but I'm unsure how to integrate additional content into this framework.
form1.#subform[0].indPaymentOptions::change - (JavaScript, client)
// Switch - test for 'selected' text, if so, display 'display' text
switch (this.boundItem(xfa.event.newText)) {
case "Donation/Contribution":
var display = "Restricted use, typically student fundraisers. May not be to a political entity or support a political purpose. Fundraised donations require a copy of deposit. <span style=\"color: #FF0000; font-style: italic;\">Must be charged to unrestricted funds, and Sr. Officer approval required.</span>";
XmlToShow = XmlStart+display+XmlEnd;
xfa.resolveNode("form1.#subform.Display_Field_Pay_Types").value.exData.loadXML( XmlToShow,true);
taxReportable.rawValue = "Y";
AccountCodesDynamic.rawValue = "001285";
break;
case "Membership":
var display = "University sponsored memberships must be directly related to the proposed member’s University responsibilities. Obtain institutional rather than individual memberships to allow participation by several or alternate employees. Memberships must use a UCSC address for business verification.";
XmlToShow = XmlStart+display+XmlEnd;
xfa.resolveNode("form1.#subform.Display_Field_Pay_Types").value.exData.loadXML( XmlToShow,true);
taxReportable.rawValue = "Y";
AccountCodesDynamic.rawValue = "001200,\n001210";
break;
default:
VendPaymentOptions.rawValue = "Please select an option from the 'Select type' drop-down menu above.";
taxReportable.rawValue = "";
break;
}
I'm trying to show a hidden field once one of the dropdown items is selected using an if/then statement. I've tried putting the code below in with the code above, but that doesn't work. I'm unfamiliar with the event handling scheme of livescript, so I'm also not sure where the if then statement should be input. Should it be put into the *click section? Or the initialze section? If someone could shine some light on what to do here that would be great.
if (xfa.resolveNode("form1.#subform.indPaymentOptions").rawValue == 1) {
xfa.resolveNode("form1.#subform.textfield1").presence = "visible";
}
else {
xfa.resolveNode("form1.#subform.textfield1").presence = "hidden";
}
Filter 2nd field drop-down list based on 1st field's value; JS pls.?
Hello,
I have 3 drop-down fields (3rd is a hidden field), they and their dorp-down list box entries are as follows,
1) Zone - US, EU
2) Area - New York, Houston, Missouri, Germany, France
3) Hidden_Area_Field - US$New York, US$Houston, US$Missouri, EU$Germany, EU$France
(2nd field's entries and 3rd field entries content & ORDER is same, except adding ZONE as prefix with a seperator of $)
Now, my requirement is, if user selected EU in 1st field, then the 2nd field's list box should fill with ONLY Germany, France
In the same way, if user selected the US in 1st field, then immediately the 2nd field's list box should filll with New York, Houston, Missouri
Just for example, I gave small # of entries, but actually i have big list
Pls. help me by providing the Java Script for my requirement pls.?
Thank you
Using Cripto.js inside a xfa form
Hi Guys, Do you know if cripto.js or any js encryption library can be used inside a PDF XFA in order to use SHA 1 to encrypt some data fields in the form and add the result to a PDF417 Barcode?
I know that we can implement js in LC Designer using the script object: http://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingBasics/WS92d06802c76abadb39b52 36b129f6917ab6-7fd5.2.html
but I don't know if this will work with complex JS functions...?
Thanks in advance for your help,
Table with calculations
I have come upon a dilemma on the best way to add a drop-down list to my repeatable table that will replace the amount indicated as a negative number in the Extension column.
As an example, I have created a table that has calculations and depending on the result of the calculation (Extension), if a calculations results in a negative number in the Extension column, a drop-down list of items needs to be made available to the user to select an exclusion statement and the selected item from the drop-down list needs to "replace" the negative number.
I do not know if this is possible?
Here is an example:
ITEM | QUANTITY | PERCENTAGE | EXTENSION AND/OR EXCLUSION STATEMENT |
---|---|---|---|
DROP-DOWN OBJECT - Drop down list with choices for exclusions | |||
Item A | 10 | 6% | $.60 |
Item B | -10 | 6% | $ -.60 (Wherever there is a negative number, I need the choice for the exclusion from the drop-down list above to replace the negative number shown in this column |
Also, the drop-down list text with choices for the exclusions are longer statements than the column width of the Exclusion column size and I cannot make the drop-down box "expand to fit" and don't know how to have it extend across more than one column, i.e., the Quantity, Percentage and Extension Column.
I tried to use the Action Builder to change the status of the drop-down list from invisible to visible if a number is < 0.00 in the Extension Column, but I was unsuccessful.
Any suggestions on the best way to go about doing this would be greatly appreciated.
Kristie
A repeating dynamic table with a sum total row showing or hiding fields
Having a problem with a repeating dynamic table with a sum total row showing or hiding fields.
Total row calculates individual columns and if cell X >=1 hidden fields below appear and then the required info is filled in, and if cell X > 0 then hidden fields below do not appear.
The problem I am having, to get the hidden fields below to appear I am using the validate function. This works great excepting as soon as the number is 1 or more I get a popup saying the value I have entered is invalid. Now that in itself is not too much of a problem, but when I want to distribute the form this causes a problem with it and the form can’t be sent.
Any help in trying and solve this problem would be appreciated.
LiveCycle Designer ES4
Guten Tag,
ich habe mir die Testversion von LiveCycle Designer runtergeladen, aber ich kann keine Testversion auswählen. Die Software will sofort eine Serien Nr. von mir. Weiß jemand einen Rat
instance value
I am trying to understand how to create an instance of a sub form. That I am able to do the problem is that I need to click the approved denied drop down on page 1 that takes information from Reviewer value and put it in page 2 text area that is the top right box. The first box is a date that is automatically entered when it is initiated. If the engineering approved denied is click then I want to initiate the sub form and enter another set of items. The problem I am having is figuring out how to get the instance array of data to enter each data from the list on the form. If any one can help with code snips would be great this is what I have and what I want is to assign the [*] to be the next instance value because not every approved/denied will occur.
if($.boundItem(xfa.event.newText) == "Denied") {
this.resolveNode('Page2._reviewDept').addInstance(1);
if (xfa.host.version < 8) {
xfa.form.recalculate(1);
}
this.resolveNodes("form1.Page2.reviewDept[*].dept").rawValue = "Comm. Bld/Fire/Mech/Cab Departments";
this.resolveNodes("form1.Page2.reviewDept[*].enterdDate").rawValue = month+"/"+day+"/"+year+" "+hours+":"+minutes;
this.resolveNodes("form1.Page2.reviewDept[*].planReviewer").rawValue = this.resolveNode("comBldReviewer").rawValue;
form1.Page1.Table1.Row3.comBldDateApp.rawValue=month+"/"+day+"/"+year+" "+hours+":"+minutes;
xfa.host.currentPage =1;
}
else if($.boundItem(xfa.event.newText) == "Approved"){
form1.Page1.Table1.Row3.comBldDateApp.rawValue=month+"/"+day+"/"+year+" "+hours+":"+minutes;
this.resolveNode("form1.Page2.reviewDept[*].deptComments").rawValue = "No Comments.";
Only print specific Pages in LiveCycle Designer ES3
I have created an interactive letter where the first page is a front end which is completed by the user - details of which are used to populate the letter on pages 2/3/4 etc. When pressing the print button, I don't want the front end (Page 1) to print, and I only want to print from page 2 onwards. Is this possible? Any script which can be used or any other way of making this work? Many thanks
how to compares dates in javascript
Good day everyone,
I'm trying to come up with a way to write a Fiscal Year piece of code and so far I'm just having issues finding the right functions in JavaScript to help me do this.
so far I got this:
var d1 =new Date("Dec 28, 2014");
var yr1= d1.getFullYear();
var stryr1=yr1.toString();
//var checkdateagainst="April 01, " + stryr1;
var CurDate = stryr1.substr(-2,2);
var yr2 = yr1 + 1;
var stryr2=yr2.toString();
var FutureDate = stryr2.substr(-2,2);
var fy= CurDate + "-" + FutureDate;
This works in giving me the FY format I'm looking for which is: YY-YY
So basically I need to check the current system date against the date that would be the cut off date for adding a new fiscal year.
So if current date(May 28 2014) > "April 01" (of this year) =yes, then this means that I'm in a new fiscal year and I want to add fy to my dropdown choices.
"April 1st" is static and never changes except for the year its in. I hope this makes sense if it doesn't I can try to clarify more or if you guys just know at least how to do a compare between 2 dates to see if one is bigger then the other (so-to-speak), It would be of great help to me.
Thank you very much
Button - Submit Email
I am having a very difficult time creating a Button in LiveCycle Designer that works correctly as I want. I've read at least 10 articles and everyone of them dispute one another in method.
Basically, I want a user to fill out this form and then hit the Email Submit Button and it sends that PDF to User1 and cc's User2, but I understand that the user that fills out the form must have Adobe Acrobat and not just Reader.
So that leads me back to creating a regular button. When I do this I cannot find a JavaScript code that actually works to what I would like it to. All I want is a hardcoded To and CC, hardcoded and variable Subject, and hardcoded Message Body with the PDF attached. (Variable Subject would take fields from the document to create a line.) I would also like to rename the file sent with the same fields as used in the Subject line.
Is this possible?
LiveCycle Designer ES 8.2.1
OS Win 7 64 Bit
Listbox's selected values to textfield
HI ,
The following code is populating the text field with selected item name(s) from the list box whether a single or multiple. But I want to have bound values to those item name in the text field instead. Please help. This code is working fine but only with item name returning to text field.
Thanks
TextField.rawValue = "";
//loop through items in listbox
for(i = 0; i < ListBox.length; i++)
{
//if item selected
if(ListBox.getItemState(i))
{
//check if Text field value if null
if (TextField.isNull)
{
TextField.rawValue = ListBox.getDisplayItem(i);
}
else
{
TextField.rawValue = TextField.rawValue + " " + ListBox.getDisplayItem(i);
}
}
}
Yes or No Field must be manadatory
I have a form that has a list of yes or no questions which must be completed, they are set at user required and i have a small script that has brings up a message if the user does not complete question and tabs out and no entry is entered the message appears. the user then enters yes however the error comes up again as they have come out of the next question without answering it and have to go back, it is a bit messy.
Can anyone think of a different way of doing it?
on exit
if (this.rawValue == '' || this.rawValue == null){
xfa.host.messageBox("Please enter yes or no.");
}
How to identify the last instance of a dynamic table row
Hi all,
I am trying to figure out how to create an action for my form in Livecycle Designer ES2 that will affect the most recent instance of a dynamic table row. I have a table with a repeatable row where the user will enter information about a purchased part and I have buttons that allow the user to add and remove rows. I need to create an additional add row button that will add a new instance of the repeatable table row (this is not an issue) and will disable and change the background color of the first cell in the added row. The problem I am having is how to have an action that affects the last instance of a row.
If anyone knows how to do this in Javascript I would appreciate some advice/help.
How to remove decimal and trailing zeroes for obscure currencies?
I am working on layouts for my company's quoting system. We quote products globally.
I'm doing fine with major currency formatting, but Korean currency has me stumped.
I need to remove the decimal and trailing two zeros if the currency is Korean.
I have tried the following using FormCalc:
if (subform_Hidden.Currency.rawValue == "KRW") then
Format("$zzz,zzz,zz9", sub_PriceSummary.ItemsTotal.TotalOfAll.ZZTotalValue.rawValue)
endif
and
if (subform_Hidden.Currency.rawValue == "KRW") then
sub_PriceSummary.ItemsTotal.TotalOfAll.ZZTotalValue.rawValue = Format("$zzz,zzz,zz9", sub_PriceSummary.ItemsTotal.TotalOfAll.ZZTotalValue.rawValue)
endif
Neither work.
I suspect my issue is in the way I'm trying to specify the format, but I cannot find much documentation on how the pattern specification works.
Any help much appreciated! Thanks in advance.
Janet
Calculate drop down lists so they calculate in numeric field
New to livecycle, and I am doing up a catering menu. I am using drop down lists to condense it. trying to get it where the drop down list multiplies by the quantity to get the amount.
any help would be great thanks. Heres what i got so far.
\\cdha.nshealth.ca\userhome\userhome\FINANCE\williamsdp\My Documents\Documents\Catering Form OC.pdf