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

How can I set up a 2 column layout in LiveCycle?

$
0
0

Hi,

 

I'm new to working with LiveCycle Designer. I'm using version 10.4, the OEM version bundled with SAP. Aside from being quite buggy, the capabilities seem pretty similar to LiveCycle Designer ES4, which I downloaded in a trial version. All of which is to say that this is a newbie question.

 

I cannot, for the life of me, figure out how to set up a 2-column layout.

 

On my master page, I have two content areas.

When I create a new page, I am able to drag fields into the first content area I created, but not into the second content area.

 

What am I doing wrong?

 

Thanks,

 

Janet


Send form data to database with scripted button

$
0
0

I know how to connect the form to an Access database. However, I do not want the form to connect to the database until the user clicks a button. When the user completes the form and clicks the button, I need the form to connect to the database and save the form data as a new record. How do I script the button to do this?

 

Any help is appreciated.

'Repeat Row for Each Data Item' Feature Guidance request

$
0
0

Hello all. I have created a form (LiveCycle ES2) that successfully connects to an ODBC connection, populated a dropdown, and once a selection is made in that dropdown, data is pulled to fill fields on the form that pertain to that record.

 

The last obstacle that I can't seem to cross is to have a table row repeat for each data item. My subforms are set to flow, and I have the 'repeat row for each data item' feature enabled. I strongly suspect that the database that I was given is not designed in a way to allow this feature to function. I am not a 'database person', and am mostly self taught in LiveCycle as well.

 

Here's basically how my data is structured (actual data is confidential financial records):

 

apples | fuji

apples | macintosh

apples | granny smith

pears | bartlett

pears | anjou

pears | bosc

 

 

My goal is to have, on a form, something like this (from the previously stated database structure):

 

apples | fuji

apples | macintosh

apples | granny smith

 

and on another form:

 

pears | bartlett

pears | anjou

pears | bosc

 

I need to somehow have the apples recognized as a single grouping, and pears as another, and then have the 'repeat row for each data item' recognize it, allowing me to have 13 Apple varieties on the one form, and the 7 pear varieties listed on another (for example).

 

I am assuming that I will first need a way for the database (query?) to count the 3 apple entries as a single record with the 3 varieties as multiple values for that record - and I don't know how this is accomplished, or even if my thinking is right on this requirement.

 

Does anyone have a suggestion as to where I can see a database that is structured in a way to facilitate the 'repeat row for each data item' in LiveCycle?

 

Any guidance would be greatly appreciated.

 

Thanks,

 

David

Is there code to hide/show multiple pages?

$
0
0

I'm very much a novice at Livecycle and coding but I have a project that is very page heavy. I'm working in LC ES2.

 

I'm up to over 50 pages now and my task is to dynamically hide/show only pages necessary to open certain account types based on user selection of a dropdown list.

 

I'm stuck on how to do so in the most efficient manner. I've been working mostly with the action builder so far and I have messed around with a very short piece of scipt to make the presence hidden for various pages on the initialize event, then an action builder to show specific pages driven by the selection of text in the dropdown.

 

My question begins with, Is there some sort of script that I can add to make every page except page 1 hidden by default, then have my action builders show  whichever pages I need?

 

Has anyone done anything similar and have any suggestions or samples of how you resolved the task?

 

Thanks!

Fragments and Data Binding

$
0
0

All

 

I have a use case where there needs to be a parent form that will contain a number of children sections.  Now I know I could just have one giant schema and have all of these child sections as subforms, etc.  However, I'm trying to make use of fragments as they seem like they might be a decent fit here.  However, I keep running into snags.  Here are the issues I'm seeing:

 

1) When I submit the form in Workspace, none of the data entered into either fragment is captured in the XML

 

2) When I attempt to drill down within formData (the process variable holding the form's data after submission) in Workbench's XPath Builder, it's not picking up any of the elements within any fragment.  I have these fragments each bound to a schema and I'm including these schemas in the parent form's schema as well.

 

Here are my questions:

 

1) I've read that fragments need to use relative binding to work properly with data capture but that's a bit ambiguous to me.  I understand what is meant by "relative" but could someone provide a specific example of what this looks like in Designer when binding a field?

 

2) How can I get the data elements backing a fragment to show up in the XPath Builder in Workbench?  It doesn't seem that Workbench is picking up the inclusion of another schema and allowing me to traverse that tree.  This may be due to a lack of understanding on my part about exactly what including another schema is doing.

 

3) Should I scrap the entire fragment approach here and just wrap these child forms in subform instead and simply have one, massive form with a single schema?

 

Thanks!

HELP! Saving form information/making it fillable AND expanding text boxes

$
0
0

I keep reading the forum on how to do it, and I have been working on it for 2 weeks.  I CANNOT figure out what I am doing wrong!  I keep thinking i did what i was supposed to.  I am trying to create a form for online documentation for a medical record.  Is there somewhere I can call to help me through this?  I am using livecycle designer es4. Thanks in advance!

I have set form fields as User required and yet the form still prints/save when empty.

$
0
0

I have set form fields as User required and yet the form still prints/save when empty. I also have an email button on the form but that works correctly by not allowing the user to email the form with the required fields empty.

 

What script do I need to additionally restrict both printing and saving if the required fields are empty?

 

You would think that just setting that option would restrict those functions the same as it does for the email button.

 

Please be specific with your response if you are gracious enough to offer one. I have been searching the forum all morning for the answer to this and I really didn't understand any of the solutions offered to others enough to use those in my own form.

 

The required fields are:

 

Social (social security number)

Name

Headquarters

Residence

 

 

The next question I have is if there is a way to make individual signature fields mandatory if they are digital signatures?

 

In other words, I don't want the individual to be able to email the form to the next person if he/she hasn't applied their digital signature.

dropdown selects which XML data file to display

$
0
0

Tell me if this is possible:

 

We need to create 50 engineering test forms. Each form uses the same layout but has different text data and different number of table rows to accomdate that text data.

 

Can we create each form and save them as XML data files. Then somehow import those files into the form. The end user will click on a dropdown object, select a part number from the list of 50 and the corresponding XML data will display in the form.

 

Please help me with this. I have tested creating the files and used Acrobat to import them and it works great. However, I want to incorporate this directly into the form.


include jar File(applet) into a PDF

$
0
0

Hi,

 

is it possible to include and to open a java-file(applet / application) in an interaktive Form (PDF,  not HTML)?

Dynamic footer row prints outside the content area

$
0
0

Hi,

I'm using LiveCycle Designer ES 8.2.1. I also have a web application injecting data into the report I created with LiveCycle. The basic structure is the following:

 

1 Master page with 1 page and a content area containing a table filled with a list of object. My table has 1 header row, 2 body rows and a footer row that is added dynamically with page break condition.

 

The logic behind that is written in FormCalc. Our objects are sent as a list which fills either one or the other body row based on a type. Each object has an "authority" property with a certain value that are used to mark the pages. The list of object is sorted by authority. So, when the current iterating object has a different authority than the previous one, we insert a page brake and the footer row. Everything is wraped in a subform that is "In Content Area" (Object/Pagination/Place).

 

The problem is that the footer row is not considered as part of the content area. If the last line of a section fits tight in the content area, the footer row overflows outside the content area and even the whole page in some cases.

 

Here are more details:

  1. We tried any combination of subform wraping and ticking of the "Allow page break with content" check box.
  2. We tried changing the type of the footer row for a body row in case footers were different than body rows.
  3. We tried every combination of "Keep with" and "place".
  4. We tried to change the footer row to a body row and have it displayed on every page and that work, but our client refused the solution...
  5. Starting with the above (pt 4) template and changing back the body to footer row brought us to the begining
  6. To the best of our knowledge, we tried everyting possible...

 

What I'm looking for is either a confirmed bug for version 8.2.1 about this or a solution other than redesigning the whole report.

 

Best regards,

Sylvain Cloutier

LiveCycle Error on Data Connection

$
0
0

Here is my error:

.

GeneralError: Operation failed.

XFAObject.update:1:XFA:form1[0]:#subform[0]:Button2[0]:click

updateRecord operation failed.  Non-nullable column cannot be updated to Null

 

 

It is saying that i have non-nullable fields, it is a check box that is just unchecked.

Change font colour in Text Field

$
0
0

If I have typed 'The Cat Sat On The Mat' into a text field yet I want 'The Cat' to appear in bold  and the rest as normal, how can I do this or even in a different colour?

 

Any help would be appreciated

Looking for link to form examples

$
0
0

I had a link once to many different examples of forms that show a variety of funtional examples....is that still out there somewhere?

 

Thanks

Patrick

Resetting Radio Buttons

$
0
0

Hi all,

I've been reasearching a way to do this and have found some scripts that aren't working.

 

Ive got 6 radio buttons, one labeled as Reset.  I've tried several different scripts but each one clears the entire form, even if I am adding the script just to the Reset button of the group. 

 

I am self taught and have never worked with scripts before but I feel like I am close and doing something very basic wrong. 

 

Please help!

 

Thank you!

Adobe LiveCycle ES4 add new and update Access Database, Non-Null failure

$
0
0

I am using adobe livecycle es4 and I am trying to add a new record and then update it to an Access database. However, when i press update the error tells me that i cannot have Null values and it displays a check box field name. How can i allow a null value for a check box? Because when my form is used, not all of the check boxes will be checked


Achieving Sum with Variable Rows

$
0
0

Greetings!

 

Here is a description of my situation:

  • In Field 1, the user enters an amount. Let's say $10.
  • In Field 2, the user enters a piece of metadata.  The user may then click a button to enter another piece of metadata (another Field 2 displays).  There is only one piece of metadata allowed per line, however there is no limit to how many pieces of metadata may be entered.  Basically, Field 2 is just a repeating subform with a text field in it.
  • Field 3 is a calculated field.  This is where I need to place some JavaScript or FormCalc.  What I need is the amount in Field 1 (in this example, $10) to be multiplied by the number of instances of Field 2, however many that may be. 

 

Any help would be appreciated.

 

Thank you.

Format Table Row Auto Numbering

$
0
0

I am using the following code to autonumber dynamic table rows:

this.rawValue = this.parent.parent.index +1;

but I would like the numbers to appear with a period - like this 1. or 2.

How do I add this?

 

this.rawValue = this.parent.parent.index +1 + ".";

does not work

 

 

 

Autonumber for several fixed rows

$
0
0

I have often used the autonumber for dynamic row instances with no problem, but now have a problem where my table starts with 3 rows with different content, and the user needs to be able to add and delete rows, at the same time maintaining the autonumbering.

 

I created the table with three rows, and each row has the same name (Table1.Row) - I set the Binding to Repeat row with Initial Count set to 1 - no Minimum count

On a text field in that row, I use the Calculate event with

 

var vIndex = ["(a)", "(b)", "(c)"];
var i = this.parent.index;

this.rawValue = vIndex[i];

 

This produces rows with (a), (b) and (c)

 

I have a delete button for each row - Click event 

 

Table1.Row.instanceManager.setInstances(0)

 

- this deletes the row I click on

 

All good so far, but the autonumbering does not recalculate the remaining rows when I delete one.

 

 

Does anyone have an idea of how I can get the remaining rows to recalculate? I tried putting

 

xfa.form.recalculate();

 

in various events, but no joy

Connection for Source ... is not trusted error

$
0
0

I keep getting the error "Connection for Source... failed because the environment is not trusted".  I have tried just about everything that I am capable of and still cannot display the data on my form

 

I am using an access database with a system DSN and when in lifecycle the connection test is successful and I am able to see the table but the error comes when I try to display the form

Hide Repeating Subform

$
0
0

I have a nested subform inside a repeating subform (Q1). I would like to be able to click a button and hide all instances of the nested subforms. It is named Subform3.Capture.PNG

 

I tried this script:

LPA.FormButtons.HideButtons::click - (JavaScript, client)

this.resolveNode("Q1[*].Subform3[*]").presence = "hidden";

Viewing all 5571 articles
Browse latest View live


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