Is there a way to hide the dropdown object's button (only) when there is not focus on that dropdown field? So the button would not be visable until the user clicks into that dropdown and is not visible when the user exits that dropdown field. Like the way the date object works.
Hide dropdown object's button except when there is focus on field?
Automatic font size reduction in a PDF form
Hello everybody!
I'm working with SAP.
On my current project I would like to implement a customer form via Adobe Lifecycle Designer.
I'm going to ask a developer to implement the following logic:
There is a fixed rectangular area in the form. This area should represent a text.
In case of long text I would like to reduce the font size to fit the text into the area. It should look like that
Text alignment within the area is Horizontal Centered, Vertical Centered
Text wrap is on
Font is Arial, initial size is 10
Is it possible to implement?
IF statement with two outcomes
I have an issue with an IF statement not producing the desired results; hoping that some of the experts here can readily solve the problem.
I have a series of textboxes (named PreBid1, PreBid2, etc.) that need to be populated with "Yes" and "No" answers AND make visible/invisible a button object. The answers are generated based on the selection of a radio button group.
if(form1.page1.subform1.status.rawValue == "Routine Oversight" || form1.page1.subform1.status.rawValue == "Enhanced Oversight" || form1.page1.subform1.status.rawValue == "Escalated Oversight"){
PreBid1.rawValue = "Yes";
Button1.presence = "visible";
}
else {
Button1.presence = "hidden";
PreBid1.rawValue = "";
}
The button's presence is working, but the PreBid1 text field is not populated with "Yes.". If I remove the Button1 statements, the Yes value populates.
I am sure this is simple, but I cannot figure it out.
Adding Field Text Into Subject Line - Something Went Horribly Wrong....
Hello,
I have created a form using Acrobat 9 Pro (LiveCycle Designer) and everything worked as it was supposed to using a submit button I created so the client can send the form as an attachment versus just the data. However I would like to change the behavior of the email to include wording plus data from 3 text fields in the subject line as well as a default message within the body of the email.
As an example, I would like to have the subject line read {customer field = SWA; effectivity field = YT111; line # field = 5888}:
Ordering Panels for - SWA YT111 L/N 5888
And the message within the body of the email to read:
Form Returned: 737NG Rudder Rework - Ordering Panels.pdf
The attached file is the filled-out form. Please open it to review the data.
I am new to using JavaScript so have been searching the forums and thought I had found my answer however I am doing something wrong as nothing happens when I click the submit button. Will someone please take a look at my code and tell me what I need to do to fix it?
I created a button with the control set to Regular. The Language set to JavaScript and the Run At set to Client. The script editor opened with the first line of text already there: form1.#subform[0]…. and I added the rest starting with var mailto –
NOTE: The email address is for testing purposes only. I will be adding the actual Distribution List when I can get this to work correctly.
form1.#subform[0].Button1::click - (JavaScript, client)
var mailto = "soccerchick1369@gmail.com";
var subject = "Ordering Panels for -" + Customer.raw.Value, Effectivity.raw.Value, "L/N" + Line#.raw.Value;
var body = "Form Returned: 737NG Rudder Rework - Ordering Panels.pdf",
"The attached file is the filled-out form. Please open it to review the data.";
var mail="mailto:"+mailto+"?subject="+subject+"&body="+body;
event.target.submitForm({
cURL:mail,
bEmpty:true,
cSubmitAs:"PDF"
});
Thank you.
Livecycle Preview PDF and Adobe Reader DC
I just downloaded Adobe Reader DC because i had a user having issues opening one of my livecycle forms using DC. (weird I had to resave the form as reader extended and then it worked, anyway). Now I can no longer use Preview PDF in Livecycle?
Anyone else have that issue or heard of it?
Thanks!
Jodi
Event on buttons of messagebox alert in designer
Hi All,
How to write an event on the buttons of message box alert in designer?
xfa.host.messageBox("Enter Number","Validation",1,2);
This will prompt an alert.
"Enter Number" will be the comment.
"Validation" will be the title bar.
"1" means we are using warning as an alert
"2" means we are going to have 2 (Yes/No) buttons in alert box.
Please someone help me out to write an event on the (Yes/No) buttons.
If someone click on the yes then it should have done some actiity and No then other set of activity.
Regards
Abhishek
Data bindings are lost when adding multiple fragments to a form
Hello,
I have a document that I made up out of separate fragments. Now, the first two fragments that I add work as they are supposed to, but the third one I add loses it's databindings.
It only loses the databindings that are made using the ALD interface, the bindings that have been added with conditions (through Javascript) remain. They are added like these:
vPlanTypeIndicator = $data.resolveNode("publishingBatch.publishingSubRequest.functionalData.contract.publishin gData.planTypeIndicator").value;
vNumberOfStages = $data.resolveNode("publishingBatch.publishingSubRequest.functionalData.contract.numberOfS tages").value;
These work all the time, so I guess this has something to do with relative/absolute bindings?
PS: the bindings of the first two fragments work, even though there isn't data connection added. Only a xml file is added (file --> form properties --> preview --> xml file added).
Kind regards,
Jens
Saving .PDF with Repeatable Subforms Adds a New Instance.
Hey everyone,
I've been working with LiveCycle Desinger dynamic forms for a few years now, and this is the first time that i'm seeing this sort of behaviour.
I have a very large form open in LiveCycle Designer. It has or 50 different repeatable subform sections. I save it from Designer, then open it in Adobe Acrobat X Pro. From Acrobat Pro, each time I resave it then reopen it, a new instance is added to each repeatable subform.
If I fill it in, save it, then reopen it, it has all of my info, plus an additional blank subfrom below each section.
I have no formcalc in the presave, nor do I have any global fields in my form... Also, each repeatable subform is uniquely named. I'm at a loss.
I have a sample of this pdf here. If you have another file hosting site that you would prefer, just let me know.
I would really appreciate any help that anyone could offer. I have no idea what's causing this.
- Scott
When Saving reader extended pdf, instances are added.
I have a form that looks and works as expected in Adobe until I save it as a Reader Extended PDF. Once I do that the form adds instances to the subform above and beyond the defaults I have set.
The form has a repeating subform with repeating rows. The default amount of subforms is 9 and default rows is 2 for each subform. However once I save it as a Reader Extended PDF the first subform defaults to 18 rows. The subsequent 8 subforms are correctly displaying 2 rows.
Any ideas.
I can send the form if possible...
Does download version of LiveCycle Designer ES4 include SP1?
I've just purchased Adobe LiveCycle Designer ES4. I see that there is at least one service pack for ES4. Is that service pack (SP1) included in the version of ES4 which I downloaded, or do I need to install SP1 separately? I'm asking because SP1 was apparently released some time ago, so perhaps it's now included in the download version of ES4? I assume however that the answer to my question is "No, you must download & install SP1 separately" because the About... details for my copy of Adobe LiveCycle Designer ES4 show that I've got version 11.0.0.[etc.] whereas SP1 would apparently bring me up to version 11.0.1 Also, are there any service packs besides SP1?
How can I check for attachments?
I have check boxes adding attachments to a form. On clicking a Submit button, I need a script to check for an attachment if the corresponding check box is selected. Any suggestions?
Thanks!
Limit Table height or allow page break(with javascript) only when reached max height.
Hi there,
I have a hard time with a form to limit its height say 9inches. I have Table1 in flowed subform with 8 rows and Table1 is set to repeat. Allow page break within contents is not selected for Table1. Table rows contain fields that are set to expand so when the table grows more than page height it get cropped because page break is not allowed. I mainly want to set allow page break within content when Table1 height increase more than 9.35inches. Please note as Table1 is repeatable so it may have many instance and I want only that instance to allow page break which one has more height and remaning instance should not allow page break they all should occur on single page and should not break.
please help me out in this case.
Regards
Arvind
How to Add a Space Between Text Fields in Subject Line
I have created a form where the subject line in the email is taken from 3 different form text fields however they string together without any spaces between them. I am new to JS and don't know the correct code for creating a space between the fields.
Count particular subforms
I wrote a script to count the total number of subforms the user dynamically creates. I used the following script (works correctly):
var count = _Subform2.count;
Now I need to count only the subforms that do not have "N/A' selected in the dropdown I named Score. The dropdown has the following list 0, 1, 2, 3, 4, and N/A.
How do I count only the dynamically created subforms that do not have "N/A" selected in the Score dropdown object?
I tried this script but no success:
for (var a=0;a<Form1._Subform2.count;a++){
if(Form1.Subform2.all.item(a).Table1.Row2.Score.rawValue == "N/A"){
Subform2.all.item(a).count;
}
}
Is it because I need to determine the bound value of the dropdown object?
Attached file indicator checkbox
Hello,
I have been trying to script a checkbox to get checked whenever a file is attached to the PDF, whether by using buttons that perform the function, or if the user uses the paper clip icon in the left-side toolbar. This is my checkbox:
The script in my checkbox is in the layout:ready event:
if (event.target.dataObjects) { this.rawValue = "1"; } else { this.rawValue = "0"; }
The problem is, the script doesn't fire until I make a selection on a drop-down somewhere else in the form. What am I missing?
I have scripts in the Attach Files and Remove Files buttons that check/uncheck the box, but that doesn't help any if the user uses the toolbar.
Any help would be greatly appreciated.
Subforms - adding instances
Hello,
On my form I have a "Claimant" section. When you click a button, you can add a new claimant.
On different button, various subforms are repeated as well as a subform in the "Claimant" section.
What I need this button to do is also have the subform that is repeated in the "Claimant" section also to repeat for the new claimant.
The script to add a new claimant is simply:
form1.Container.Claimant.instanceManager.addInstance(1);
The script on the other button is this:
addRemSub.instanceManager.insertInstance(0,1);
Container.ClaimSummary.instanceManager.insertInstance(0,1);
----Container.Claimant.InjuryStatus2.InjDiff.instanceManager.insertInstance(0,1)
Container.MCTable.instanceManager.insertInstance(0,1);
Container.FMRPTable.instanceManager.insertInstance(0,1);
Container.addRemSub.CommitteeDetails.instanceManager.insertInstance(0,1);
The line where I have inserted the ---- is the part that I also need when a new claimant is added.
Can anyone help?
Thanks in advance.
Emailed PDF is Blank
I was wondering if someone could help me with a really weird problem.
I have a form I created that hides and shows a lot of different fields it also has some add and remove buttons. This all works great until the user hits the send email.
When the email is sent the PDF file that has been sent is comming in blank as if the user has done nothing? The Print button works fine. The on screen display works fine.
I am using the send as PDF and a mailto:email@address.com
Any Suggestions?
Thanks, Leo
Initial View is disabled on a Form created in LiveCycle ES2
Hi,
I am trying to change the preferences using the Initial View tool in Acrobat. I want to set it to open with bookmarks visible. However, the entire initial view page is disabled for me. The PDF is one that I created myself using LiveCycle Designer ES2. I am using Acrobat Pro X. Why would this functionality be disabled?
Thanks,
Nicole
Looping through cell in table
Hi all!
I have been digging but can't find my answer. I have a table that you can add rows to. In the same cell in each row I have to validate if the number in the field starts with a 4 or 5 ( the number is a total of 6 digits long). I have java script that validates the 4 or 5. but I need to loop through all the rows for that cell. Right now just validates on the first row.
Help!
Thank you!
Jodi
var Grant = Main.PreApproved.Table1.Row1.Fund.rawValue
var GrantFund = Grant.charAt(0)
if (GrantFund == 4 || GrantFund == 5).......
How can I install LiveCycle?
Hi,
We got the creative cloud on the company. And recently I updated to Acrobat DC, but I can not find how to install/activate Adobe Livecycle?
When I try to edit a PDF, a message appears that I must have "Adobe Livecycle Designer" to be able to edit the PDF. But I can´t find it anywhere?