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

Copy value from one field in subform, to another field in a different subform

$
0
0

Hi all.  I have been back and forth with enterprise support, and they are telling me what I want to do is impossible.  I find that hard to agree with, so hoping I can get some help here.  I have a document that I am creating, based off an XML.  The page consists of a header subform, a flowing table of variable name, and then a footer.  My problem comes in, that when the table flows to mutliple pages, my header subform will not repeat, even though I have it set as the overflow header.  According to Enterprise Support, this is by design.  The header will repeat on the footer page, if that is on a separate page, just not when the table flows to another page.  So, I came up with a solution to create an additional Header in my table, merge all the cells into one column, and copy my subform into that new header.  I would set that header to appear only on subsequent pages.  So, when I preview my document, it shows the static text fine, as I would expect, however the text fields are blank.  I need a way of copying the values from the original header subform, into the newly created table header subform.  The values will be different based on teh XML input, meaning that the first 3 pages will have one set of values, and the next 3 another, etc..  See sample below...

 

<NameValueList>

     <NameValue>

          <NameValueName>Name1<NameValueName>

          <NameValueDesc>Desc1<NameValueDesc>

           <TableValueList>

               <TableValue>

                    Blah

               </TableValue>

               <TableValue>

                    Blah 2

               </TableValue>

          </TableValueList>

     </NameValue>

     <NameValue>

          <NameValueName>Name2</NameValueName>

          <NameValueDesc>Desc2<NameValueDesc>

          <TableValueList>

               <TableValue>

                    Blah 5

               </TableValue>

               <TableValue>

                    Blah 6

               </TableValue>

          </TableValueList>

     </NameValue>

</NameValueList>

 

 

So, if I bind my original header to NameValueName, it will show on the first page which has my header, and the third page that has my footer.  But my 2nd page, that has the table flowed to it, has a blank value.  I tried to put code in the Initialize event of both text boxes, to copy from MainHeader.NameValueName to TableHeader.NameValueName, but that didn't work properly. 

 

Any ideas on how to do this?


Make certain fields Required in a repeating subform - checked/validated on preSubmit

$
0
0

I have a form that contains a repeating subform - meaning, there is a single subform (flowed Western) with Binding set to repeat a Min of 1, and Max of 15 (hence dynamic repeating subform).

 

Within the subform are 5 fields (example fields below):

 

First Name

Last Name

Email Address

Age

Gender (Radio button for male/female)

 

If the user enters a value for First Name, then the Last Name, Age, and the Gender radio button should all become "required". Similarly, if first First Name value is empty/null, then the Last Name, Age, and Gender radio button fields should be optional.

 

I understand this can be achieved quite easily if the subform wasn’t repeating:

 

if (!(this.isNull)) { //if First Name field isn't null

          LastName.mandatory = "error";

          Age.mandatory = "error";

          //etc

}

else { //if field is null

         LastName.mandatory = "disabled";

          Age.mandatory = "disabled";

          //etc

}

 

However, how is this achieved in a repeating subform?  If the above script is placed in the repeating subform, it affects ALL repeating rows in the subform group once rendered. Instead, I need it the conditional mandatory status to treated on a unique instance basis (row-by-row).

 

Thanks

How do I modify the Subform Instance Controls...

$
0
0

I have tried adding it to a subform that includes a table, i've tried grouping it with a table, all I get is errors.

Does a Submit Button become disabled after being clicked?

$
0
0

I have a submit button set up to generate a flattened PDF.  I need to make sure the submit button cannot be clicked multiple times.

 

Is there a default setting in Designer, that disables a submit button after it has been clicked once?    

 

Thank You

LiveCycle Designer

$
0
0

I am new to this program. I downloaded a form and want to make edits. Please Help!!

Is it possible to have flowing subform in masterpage?

$
0
0

Hello everyone,

 

I am wondering if it is possible to use subform with flowed content in masterpages. If it is possible, how do you make them to work?


Things i noticed :

- To have a flowing page, normally you have to set the page content to flowing, but in masterpage you cannot set this property.

- According to this flow document of the events, i tend to believe that masterpage layout appear after the layout process, which would maybe prevent the form from flowing?

 

 

adobe live designer event flow.png


Any input that could help me?

 

Thanks alot!

Max

Changing xml in LiveCycle to enable pdf email submit

$
0
0

I've read quite a a bit about my question.  Which is:  can I change the xml code in LiveCycle of an interactive pdf to make it work when displayed in a browser?  I've read

Form submit / eMail demystified, but quite honestly I cannot quite grasp it.  I did find people asking the question in another forum and someone posted the following: "

What I finaly did:

 

Found the line:

<submit format="xml" textEncoding="UTF-8" target="mailto:"/>

 

 

changed it to:

<submit format="pdf" textEncoding="UTF-8" target="mailto:"/>

 

 

resaved document, and it worked."

 

 

This post was a few years old however.  I tried it and my code looks like this:

<submit textEncoding="UTF-16" xdpContent="pdf datasets xfdf" format="pdf" target="mailto:

 

I'm assuming because it's a newer version of Acrobat.

 

Can anyone tell me what I would need to change my code to in order for the email submit button to work, or if it indeed will require me to find someone to script something for me.

 

Thanks,

Scott

Importing Word 2010 Developer Dropdown fields

$
0
0

I have been trying to import a form designed in MS Word 2010 with tabled containing Word Developer dropdown fields into LiveCycle Designer ES3. My OS is Windows 7.

 

The process always fails.

 

The importing Word Document begins with Converting Tables and within a few seconds i receive the message "Adobe LiveCycle Designer Word Import Filter has stopped working. A problem caused the program to stop working correctly. Please close the program."

 

There are several dropdown fields in the Word document a few with 30-40 options to select from. Any assistance would be greatly appreciated as the time required to recreate the fields in LiveCycle would take at least a full day.


XFA.layout.h doesn't work

$
0
0

Hi,

 

 

I’m using Adobe LiveCycle Designer ES2 (version 9.0) to create static forms. I have two subforms (Flowed, Top to bottom) inside of other (Flowed, Western Text) and the height of all of them is set to “Expand to fit”. I want the internal subforms  to have equal height in order to realize borders around the text inside. I found a solution here:

http://stackoverflow.com/questions/5108288/change-the-height-of-a-text field-that-is-set-to-expand-to-fit-dynamically-in-l

 

var heightField = xfa.layout.h(this.parent,"pt"));
this.h = heightField + "pt";

 

 

But it doesn’t work, because in my case xfa don’t have a property layout. And this.parent.h always returns 0in, although I put it in the layout:ready event.

 

I’m new in LiveCycle Designer and maybe I have to do some settings.

 

 

U1ianka

question about print button

$
0
0

Good morning everyone,

 

Quick question for you this morning, im playing around with the print button and so far i get it to do what i want. Which is basically print in "FIT" mode like this:

 

 

xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 1, 0, 0, 0);

 

now this takes care of people who press my custom print button, but i dont have control over the folks that might activate that from the print icon or from the print menu options.

 

Now for this i know that using PRE:PRINT would solve it for sure, but i dont know how to write the code in there so it works.



What i did at first is copy the print code above in that section, but if i press my Print button where the same code is, i create a endless loop.



Im just trying to cover my self and make sure that what ever one of the 3 print choices they choose, i will be able to execute the code above and without any infinite loops



Any ideas how i could set this up?



Thank you very much again!!!

 

How can I make a fillable table that allows me to select text in bulk yet retains tab over ability?

$
0
0

I'm working on a form in livecycle and am trying to make a form which is easy for my client to fill out and easy for me to extract the data from.

 

Basically I am desiging a form that my clent fills out by entering data into 4 X 3 table (four rows, three columns).  In this form they will put names in the first column,  countries in the second column, and account numbers in the third coloumn.

 

While this is not too hard to do, what I would really like to do is make it so that when I extract this data from the form I can easily select all the names in the first column at once, all the countries listed in column two at once, and then the same for column three. I'm placing this data into a word file for use in a mail merge table, so it just streamlines it all if I can highlight everything in one column at once rather than having to select every name/country/account number separately. (And before I get criticized for being lazy, haha, I will be duplicating this 4X3 table at least 7-8 times, as each table will have information specific to other criteria in the form.)

 

I've realized that Adobe doesn't seem to let me bulk select text in multiple text boxes, yet because I'm working with a table I'm wondering if there's something I'm missing that would allow me to do this, or perhaps there's even another better way to do this job.

 

Thank you for your help and I apologize if this is a bit confusing!

How do you keep pages visible when saving or submitting?

$
0
0

My flowed interactive form works like a charm until the user saves or submits the form.

 

When the form is saved or submitted using a button the pages that became "visible" via script based on the users selections become "hidden" when the saved form is reopenned or the submitted form is openned.

 

I'm stummped. I'm a novice at scripting and LC and have tried everything I can think of....

An Invalid Argument was Encountered - Program wont Open

$
0
0

I have been using Livecycle for a few days now with no problems, but now when I try to open the program I am getting the following error messages that will not allow for me to open the software anymore.

 

"An Invalid Argument was Encountered"

 

There is also an error message in all Chinese.             

 

How do I fix this problem?

 

Thanks

Adobe LiveCycle Designer ES has stopped workin

$
0
0

After many projects with LiveCycle Designer, I get the following error message when trying to open any file that was created with the program: "Adobe LiveCycle Designer ES has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." Operating system: Windows 7. I removed and reinstalled CS4 Master adding back Acrobat 9. I also downloaded and installed 32-bit version of the executable file vcredist_x86.exe. Please help!

How can I select from drop-down list and jumping to selected subform?

$
0
0

I using LC Designer ES2 vers 9. Developing XDP. How can I Select from a drop-down list the appropriate selected subform (jumping to the selected subform on the page)?

 

drop-down list...A (jump to subform1)

                         B (jump to subform2)

                         C (jump to subform3)

 

 

subform1

     .

     .

     .

subform2

     .

     .    

     .

subform3

     .

     .

     .

....end of form


Adobe form saved from email has no data

$
0
0

Hi.

 

We generate Adobe Interactive Forms (developed in Adobe LiveCycle 8.0) from our SAP Netweaver environment.  A form is sent to the vendor as an email attachmet and they launch Adobe Reader (or another pdf reader) to acknowledge the form and submit it to our back-end system to save the changes.  One vendor saves the form directly from the email for later printing.  This process has worked for some time but we recently upgraded our SAP system and made some corresponding changes to the form in LiveCycle Designer.  We now see the following issue:

 

Before the changes, the email attachment pdf could be saved directly from the email without opening Adobe Reader.  After saving, the pdf could be seen in Windows Explorer in preview mode and all fields would be populated. 

 

Since the changes, if the pdf is saved directly from the email without opening Adobe Reader then after saving, if the pdf is viewed in Windows Explorer in preview mode, all fields (from the XML) are not populated but the form template is visible (boxes, buttons, etc.)  Also, if the vendor attempts to print the form using third-party software, the form is printed with no data but the form template is visible.  If the same pdf is opened in Adobe Reader, all data is visible.

 

Also, since the changes, if an old (created before the changes) pdf is saved directly from the email, the output is visible in Windows Explorer preview as well as print output and Adobe Reader.

 

Are there any suggestions on what has caused this change in the output from the form?

 

Thanks for your help.

 

.. Craig

Expandable Field that Expands as it is Typed

$
0
0

I have an existing form that has expanding text fields in sub-forms that is working, except for one thing.

 

The field does not expand until you exit the text field.

 

My question: can you force the expanding text field to expand while you are typing, thus showing you all of your content without exiting the field?

 

Thank you for any and all help. I am using Adobe LiveCycle Designer ES2 on a Windows 8 platform.

close flashfield-window with javascript

$
0
0

is it possible to close a not fixed flashfield-window with the javaScript.

Open Dropdown Menus When Tabbing

$
0
0

Is there a way to cause a dropdown menu created in Adobe LiveCycle designer ES2 to "open" (show the contents) when tabbing into the form field? Currently, when I tab into a field that contains a dropdown menu I have to use the mouse to show the options in the dropdown.

Row1 is null when adding new row

$
0
0

Here I have a little problem with my table...

 

When I'm trying to add a new row using this.resolveNode("Table.Row1").instanceManager.addInstance(1);

 

It pops me an error such as:

TypeError: this.resolveNode("Table.Row1") is null...

 

This error pops up once I have 2 rows... it can't add a third row....

If I write :

 

this.resolveNode("Table.Row1[0]").instanceManager.addInstance(1);

 

It will add a row no problem. BUT the problem is when I save the form and reopen the form... there's only the first row (Row1[0]) and it's data that is showing up on the form...

 

Anyone knows how can I fix this?

Viewing all 5571 articles
Browse latest View live


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