Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all 5571 articles
Browse latest View live

Nested Repeating Subforms problem (additional instances being added upon reopening of file)

$
0
0

I am having an issue with nested repeating subforms in LiveCycle Designer.

 

I have created a simple form with one repeating subform nested inside another repeating subform.

 

In Acrobat, I go ahead and enable one instance of the outer repeating subform, then instances of the inner repeating subform (the number doesn't matter), enable Reader Rights; then save the file and reopen it again in Acrobat.

 

Acrobat, for some reason, adds more instances of the subforms than were saved originally with the file. It has also cleared some of the values I entered. Can anyone help me figure out why it is doing this?

 

Appreciate the help. Thanks,

 

--Bruce079

 

P.S. I can send the file to you if you like. I cannot seem to attach it here.


List Box Display as Dropdown possible?

$
0
0

I have very limited space on my form and I am confronted with the following problem:

- I have a very long list of items of which the user should select one, none or multiple. This eliminates the usage of a dropdown field.

- List Boxes would be better for this task, but they should display only the standard value "none" and expand like a dropdown list and then accept multiple values.

 

Is this possible, and if so: how? I spend the last 90 minutes googling and am still clueless, any help is appreciated.

Duplicating a static version of a dynamic table in same form

$
0
0

Hi,

 

I'm creating a contracting template form where I a cover page that holds all the user entered fields. Names, dates, amounts, applicable contract terms etc. Once completed it a click event makes the contract visible with all the data populated from the cover page.

 

The issue is I have a dynamically expanding table for the payment schedule (see below).

Row 1 is fixed as they'd always have 1 payment that is due when the contract is signed, but row 2 lets them schedule installment payments. The footer totals the Amounts in column 3 and validates that it equals the total amount of the agreement. Everything works like a charm.

 

What I need is for this table to be then copied to a later part of the form as a static table based on the completed dynamic table on the cover page. I'm attempting to have the cover page be the only place where users are entering information. I can always put the dynamic form into the payment portion of the contract but want to avoid it if I can.

 

Is this even possible?  I feel like I'm missing something simple. I've searched for previous questions on the topic and had little luck or the links to examples are no longer active. I'm only self taught and most of what I've found has not been explicitly detailed for someone who just follows tutorials.

 

Any help is greatly appreciated!

 

-Megan

using the button to add a row above instead of below

$
0
0

I am trying to create a table that will allow a user to hit a "button" and instead of the row being added to the bottom, I want it to be added to the top.

 

to this

I can get it to work only if the new row is added to the bottom. But this table sits at the bottom of the page, so I want it to build up.  I would appreciate any help at all.

Thank you!

Kitty

JavaScript with OR statement syntax

$
0
0

I am trying to setup some code that will look at a value in one field, and based on the result it finds determine what translated. I can get this to work when I have a single entry (for example "AB"), but when I try to expand this with an OR statement I no longer can get it work. It seems to just take the first entry, and stop there. I have tried different variations, and I have not been able to get it to go. I also tried to options with Formcalc. Does anyone happen to know what is incorrect in the syntax. If you have another suggestion with Formcalc I am OK with that as well.

 

 

 

 

 

 

if ( $record.PAGE.FIELD.value == "AB" || "CD" || "EF" || "GH" || "IJ")

        {

        this.rawValue = (data.PRINTLANG.rawValue == "EN") ? "Product" : "Produkt";              

        }else{

        this.rawValue = (data.PRINTLANG.rawValue == "EN") ? "Service" : "Dienstleistung";

        }

 

Thanks,

Andrew

Why can't I import a Word 2016 document in LiveCycle Designer ES4?

$
0
0

I have just purchased LiveCycle Designer ES4 and I would like to import a Word Document (Word 2016) but I keep getting this error message?  Can you please advise how to get around this? I have attempted to troubleshoot this with the assistance of our IT technician and it still will not allow import - keep getting this message.

Please can you assist.

LiveCycle ES4 Error Message.JPG

Lost the borders around all of my mandatory fields.

$
0
0

I've created a form with a variety of mandatory fields.  I've now lost the borders around the fields when I preview the form in PDF.  Any help would be appreciated.

Form cannot be opened in Adobe Reader

$
0
0

I created a fillable form using Adobe Livecycle, and save it with Adobe Reader extension.

 

 

I tested it in my computer, and Adobe Reader can open and fill the form without issues. Another colleague does not find any issues either. But when I send the form many people, already a few of them responded that they were not able to open the form in Adobe Reader. Please find the screenshot below.

 

Screenshot_20170929-183611.png

 

Why does this happen, and how to resolve it?


Select and save records from Oracle database

$
0
0

Hi,

I'm trying to use Javascript code to retrieve some specific records from Oracle database.

This is simple LiveCycle pdf form with 2 fields and a Button with attached click event and below code:

 

var inName = TextField1.rawValue
var nIndex = 0;
while(xfa.sourceSet.nodes.item(nIndex).name != "DataConnection")
{
nIndex++;
}

var oDB = xfa.sourceSet.nodes.item(nIndex).clone(1); // the node pertaining to the data connection specified
//app.alert(oDB.saveXML("pretty"));

//set up sql call to DB to get specifics about employee

oDB.nodes.item(1).query.setAttribute("text", "commandType");
oDB.nodes.item(1).query.select.nodes.item(0).value = "Select * from COUNTRIES where COUNTRY_ID = '" + inName + "'";
//app.alert(oDB.nodes.item(1).saveXML("pretty"));

//now connect to DB and get a record
oDB.open()
oDB.close();

 

So after insert country code in TextField1 and a Button click I obtain corresponding Country_Name in database binded field.

Everything works fine until I try to save the form, after reopen the Country_Name field restores it's default first database record.

I tried to assign the selected record to variable and than use it do write it's value to new static text field, which could be saved, but without success.

The final idea is to open clear or filled previously form insert/reinsert some index and after click find necessary data and save it all, so that when reopened the form is unchanged until next button click.

 

Any help would be appreciated!

Regards,

Michał

Help removing current instance of Row1 from a Table.

$
0
0

I have a table in which I have a Header Row, Row1, and Footer Row.  I have a button in the header that adds new instances of Row1.  There's a button in Row1 that is supposed to remove the current instance.  However, when I click the button to remove an instance, it always removes the first instance of Row1.  I used the Action Wizard to get the code for the button:

 

this.resolveNode('Table9._Row1').removeInstance(this.parent.index);

if(xfa.host.version<8) {

xfa.form.recalculate(1);

}

 

Any help would be greatly appreciated.

 

Thanks,

J

 

 

 

 

 

 

Converting form properties from Dynamic to Static.

$
0
0

I am using LiveCycle Designer ES4 and am trying to convert the "Form Properties - Preview - Preview Adobe XML Form As:" från Dynamic XML Form to Static PDF Form. But even if I change it in the droplist and click Ok it's not saved but the next time I open Form Properties it's back to Dynamic. I have deleted all <event> and <script> from the XML-page, what else am I missing?

Allowing field entry for either numbers only or a specific phrase

$
0
0

I have a field on a form that needs to only accept numbers (with no dashes, spaces, commas, etc.) OR accept a specific phrase. In this case "Not Available".

 

In most cases the user with enter a number. But there are instances where the number is not known, so we want to allow the phrase Not Available to be entered into that field.

 

Right now, I have this code in the change event

 

if (xfa.event.newText.match(/[^0-9]/ || /\sNot Available\s/))    

{

xfa.event.change = "";

}

 

It works for only allowing numbers to be typed, but doesn't work for allowing the Not Available to be typed or selected from a drop-down.

 

I'm not very familiar with these types of expressions, so help is appreciated.

 

Thanks,

 

Dave

Script to capture who digitally signed the form

$
0
0

Is it possible to access the name of the person who digitally signed a LiveCycle form so I can also save that information to the database?

How to select full value in numeric field

$
0
0

When you tab through fields in a form the value in the field is automatically highlighted. I would like the same functionality when the field is clicked. I know how to clear the field. Now I would like to highlight the full existing value and when user types the value is cleared.

Building a Scope of Work with Layers in a flowable PDF

$
0
0

I have a scope of work. I want to create layers of certain portions of scope/text pending the client type. Goal: When I receive a request, I simply click the layers for certain scope items and the document builds in one fluid text document. Is this possible?


LiveCycle 11 - Distribute Form button greyed out?

$
0
0

So, I have been using an old version of Acrobat 8 Pro with Livecycle to edit PDF forms at work. That was on the old PC. Finally that will be dumped, and they've installed Livecycle 11 standalone on my new PC.

 

Problem is, in the old system I simply saved a PDF form in Livecycle, then loaded it up in Acrobat to 'Enable usage rights in Acrobat Reader' before saving again. Now that Livecycle is standalone the little 'how to' box tells me I must use this 'Distribute' feature to enable usage rights in Reader as I did before. Fine, so it tells me to:

 

1. Save form as a PDF file

 

Can do. No probs. Then...

 

2. In the toolbar, click the distribute button [button with envelope and arrow symbol, by default to the right of the print button]. The form closes in Designer, and the Acrobat Distribute Form assistant opens and guides you through the distribution process.

 

Sounds great. But unfortunately a step has been missed out of these instructions, because whether editing an old file, or making a new one from scratch, even a blank form or a form with a single text field on a single page to test, nothing I do will make that 'Distribute Form' button ungrey. It just stays greyed out constantly. No hint in the 'How to' box on why it may be greyed out, no mention that it can even grey out at all, and certainly no mention of how to ungrey it.

 

So, can someone please let me in to the trick of this? It was so simple before, this new and freshly infuriating method is certainly no improvement. If some kindly guru on here can let me know how to ungrey that one button I can actually get on with my work.

 

Any takers?

Date Calculation in LiveCycle Designer ES4

$
0
0

Hi,

 

I have created a form comprising of two Date fields, date_required and date_implemented. Now, there is a validation check on date_implemented field. It is that the date_implemented field can accept dates that are 10 days after the date_required field. Else error will be displayed and focus should be on date_implemented field. Also, the form cannot be saved till all validations in the form are successfully passed. Further, there is a Days field that displays number of days elapsed between date_required and date_implemented. Please provide with requisite code both in JavaSript and FormCalc.

 

Rgds,

S Banerjee

Reinstall Livecycle

$
0
0

   My workstation crashed and I now have to reinstall Livecycle.  I have my serial number, but can't find a link to re-install without purchasing?

Why does this XFA form created in LiveCycle Designer ES3 display properly as thumbnail in email opened in Chrome one time instead of "please wait?"

$
0
0

I'm familiar with the issue with Chrome/Adobe compatibility. We've been telling users to download our new XFA form because it won't display properly in Chrome. We're used to seeing "please wait" on the attachment thumbnail.

 

Today I received an email from a user with the XFA form attached ... but the thumbnail displays properly! When I download the form and open it, it's still dynamic and everything looks like every other version anyone has saved.

 

I changed some fields on the version that displayed properly as the thumbnail and saved it with a new name. Attached it to an email back to myself. THAT form does NOT display properly -- we're back to "please wait."

 

I've never seen an XFA form display properly in Chrome -- any ideas why this one did (and how I can make it happen again so we can eliminate this issue for users?)?

 

test 1.jpgtest 2.jpg

How do I auto-refresh a calculated drop-down field when it is based on another calculated field?

$
0
0

Hello,

 

I have an expanding table with a calculated total. Based on that total, I am running an action that populates a drop-down menu with the correct information. However, the drop-down does not populate when the total changes but rather when the total value is selected and then exited. I cannot find anywhere that I can indicate that I would like the drop-down to update when the total changes, rather than when the field is exited. The total field cannot be overwritten, so there is no reason for anyone filling in the form to exit the field.

 

The fields:

Form fields visual.PNG

 

Sample Action:

action.PNG

Viewing all 5571 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>