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

Table overlaps page break

$
0
0

I have a table which rows should expand depending on the information the user introduces in each field. All options to "Allow Page breaks within content" are selected and, in fact, when you type in data the table expands correctly and do not overlaps the page footer.

 

However, the issue here happens when you copy and paste information from other sources. In my form, users will have to introduce lists of active accounts in a network (around 150 records), so they run their scripts and the outcome is copied in the fields. That's when the table overlaps page breaks.

 

Quick summary: If you type in the lists, the table will work as expected; if you copie the same lists, it won't.

 

I'm not a newbie on LiveCycle but haven't managed to work this around. Any help?


Fragment question today

$
0
0

Good afternoon,

 

im playing around with fragments and i though i was understanding the concept just fine until i decided to build a Fiscal Year (FY) fragment.

My idea was to build a FY frag that i could attach to all my 250 forms and once a year, update the fragment file with the new year and voila, all my 250 forms now reflect that change.

 

Is this how fragments really work? im on a corporate network and when i was testing this this morning it was working, but not on my users machine. I just now see that on my machine the only reason it works is because i do a PDF preview from within Livecycle Designer and that seams to be enuff to get it to sync with my fragment.

 

When i test with my users, the only thing they have is the file with the fragment inside it and they open it using Reader X. But when they do, the changes to the FY frag dont show up, it just stay the same.

Now when i test it on my machine using Reader 10 and not Livecycle Designer, i also see that the FY doesnt get updated.

 

So my questions iare, am I using the fragment properly and what im I missing for this to work at all?

 

thank you again for the help

Resources for from design - best practices for layout?

$
0
0

Hi,

 

I have made a number of forms fo the past few years.  I feel like they look dated and are somewhat stale...   I have found a few resources out there on Javascript best practices and more mechanical focused articles, but nothing really specific design as it relates to usability and "feel".  I realized some of this is subjective and varies depending on the form's purpose, but I am just looking for some new ideas.

 

  • Does anyone have a resource or listing of froms they think are outstanidng from a design perspective?
  • Is anyone willing to share forms they think are outstanding? Just that baisics like information collection?
  • How much color and line type objects become to much?
  • What are some design elements used in "web 2.0" (whatver that really means) that we sould be using in our forms.  tempered with what can be done.

 

I am looking for this to be an open disucssion and am curious to hear what works for others.  I hope others will find this interesting and helpful.

 

Cheers,

Tom

Need help with IF Statement!!!

$
0
0

I am trying to write an IF statement using FormCalc in LiveCycle. I have cell "tpe" which captures total points. I would like to assign levels based on the number of points achieved. For example, level I = 1001-1985; level II = 851-1000; level III = 551-850; level IV = <551. I want cell "level" to show either I, II, III or IV, based on the points in cell "tpe". How can I do this? I have zero familiarity with FormCalc or scrips in general. Can someone please help me with this? Would appreciate any help!! Thanks!

In Design View horizontal pages are cut off to portrait dimensions. How to fix this?

$
0
0

I am trying to  edit a form in livecycle designers "Design View" mode. Some pages are horizontal but they are displayed all in portrait mode, cutting off the right side of these horizontal pages so i can not see or edit them. Is there some way to fix it so I can see all of the page on these hoirzontal pages?

Changing the size of a subform in ES4 11.0.0.201

$
0
0

Hi -

 

I'm just getting started with subforms and I cna seem to change the size.  I've used the edit layout height option to no avail and also selected it and tried to dragg it smaller.  Has anyone else seen this problem?

 

Thanks, Doug

Checkbox Script

Convert dynamic pdf form to static pdf form

$
0
0

Is there a way to programatically convert dynamic pdf form to static pdf form?

 

My scenarios is our forms are dynamic pdf forms which have growing fields and dynamically added subforms. Once the user filled in the forms, the pdfs need to be converted to static pdf forms to be further processed by a 3rd party.

 

Thanks!


Ghosted Gray Italic Help Text

$
0
0

I create forms with gray (ghosted) italic help text telling the user additional information. When the text field is entered, the help text disappears and the user can enter normal black text in its place. This works fine for plain text. Now I am trying to do the same thing with rich text. At times, the caption also turns to gray italic text like the value and I can't find what is causing this problem. The caption should never be gray italics but rather should always be blck normal posture text. Here's the script:

 

 

LPA.Q1.AuditIssueInfo.HowEscaped::initialize - (JavaScript, client)//When wanting the field to use Rich Text: disappearing help text:
this.execEvent("exit");
this.format.picture.value = "null{'" + this.assist.toolTip.value + "'}"; 
 LPA.Q1.AuditIssueInfo.HowEscaped::enter - (JavaScript, client)
this.fontColor = "0,0,0";
this.font.posture = "normal";if (this.rawValue === this.assist.toolTip.value) {          this.rawValue = "";} 
 LPA.Q1.AuditIssueInfo.HowEscaped::exit - (JavaScript, client)if (this.isNull){
this.fontColor = "153,153,153";
this.font.posture = "italic";
this.caption.font.fill.color.value = "0,0,0";
this.caption.font.posture = "normal";}if (this.rawValue === null) {          this.rawValue = this.assist.toolTip.value; }
 LPA.Q1.AuditIssueInfo.HowEscaped::prePrint - (JavaScript, client)
this.format.picture.value = "";
 LPA.Q1.AuditIssueInfo.HowEscaped::postPrint - (JavaScript, client)
this.format.picture.value = "null{'" + this.assist.toolTip.value + "'}"

Can anyone see what is causing the caption to change too?

Thank you

Week End Date calculates dates in table

$
0
0

Greetings All,

 

I'm working on a LiveCycle Designer ES4 document that has a Week Ending Date MM-DD-YYYY (which need to always be a Saturday) selected in a subform.

 

I need this Week End Date to then calculate and display the selected Saturday and the previous days in a seperate subform with a table. The days need to display in seperate columns below the header.

 

sample.png

 

Can someone direct me to a sample of scripting or a sample PDF that applies to this? I've tried a few things and have had no luck.

The few things I found here didn't work, and I'm not savvy enough to re-write scripting, so I could really use some help.

 

Thanks in advance, your help is appreciated!

-Michelle

Columns hide, but their header reappear on subsequent pages

$
0
0

I am developing a form to present product quotes to my company's customers.

 

In some cases, we show the list price and discount.

In other cases, we don't show the list price and discount.

 

I've been able to null out the table column headers and hide the data by resizing column widths.

However, the column headers come back on the subsequent pages and overlap each other. The image below shows what happens on subsequent pages.

 

badColumnHeads.png

Here's my script:

 

 

//Hide Discount = X; hide listprice and discount

if (data.EnglishPage1.subform_Hidden.ZZHIDE_DISCOUNT == "X") then

          HeaderRow1.h_listprice.caption.value.#text = " "

          HeaderRow1.h_listprice.presence = "invisible"

          HeaderRow1.h_discount.caption.value.#text = " "

          HeaderRow1.h_discount.presence = "invisible"

          data.EnglishPage1.sub_Product.ProductTable.columnWidths = "0.3642in 0.6263in 3.758in 0.6045in 0.001in 0.001in 0.9375in 0.9375in"

endif

 

Things I've tried:

  • Counting instances of the header row and setting the caption to nothing for each instance
  • Wrapping the header column and data cell in subforms and hiding their instances using the instanceManager

 

Nothing has worked.

I'm usinge LiveCycle 10.4 inside the SAP environment.

 

Does anyone understand why this is happening on the downstream pages? I'm almost at the point of simply not repeating the column heads on subsequent pages.

pdf fillable form

$
0
0

Can you make a text field expand on a pdf fillable form to accomodate more text using live cycle to create the form?

Printing hidden / visible fields

$
0
0

Morning

 

I have an interactive form that hides and shows particular subforms when printing.  It's currently set so the subform on page 1 will hide when printing.  The content on page 2 is separated by a page break as it must always sit a page away from the content on page 1.  The problem I'm having is when the content on page 1 hides the content on page 2 won't shift to the first so I'm left with a blank page.  Is there a command so I can set the content on page 2 to move to the top of the document wheN printing?

 

Hope this makes sense

 

Advice would be appreciated

 

Many thanks

 

Ben

Data binding with subforms and repeat subform for each data item

$
0
0

Hi -

 

I've searched the list and the web looking for an answer and can't find one.  I'm trying to get a repeated item set to work with LiveCycle designer 11.0.0.2 evaluation license.  I can create repeating elements when they are not nested but when I have a nested set of forms the "Repeat Subform for each Data Item" is greyed out.  Is there any way to have nested repeated data and have it work?  I'm using an XSD and XML data binding.  Any ideas would be most helpful.

 

thanks, Doug

Shrinking Text Field

$
0
0

Hi all,

 

I have a problem with my textfields in Livecycle. My goal is to have a text field of a certain size that can grow to accommodate more text or shrink to fit text that does not take up the full space that the text field offers. I set my text field height to Expand to Fit and wrote a javascript statement to minimize the size of the text field to fit any text entered. The code is as follows and is in the exit event event of the field:

 

 

if ((this.resolveNode("$").rawValue != null && this.resolveNode("$").rawValue != "") && this.resolveNode("$").rawValue != "Enter text here.") {

  this.resolveNode("$").border.presence = "hidden";

  this.resolveNode("$").h = "";

}

 

What it is supposed to do is minimize the hieght of the text field when the user exits the field so that the field fits the amount of text entered (there is a default value on the field that is "Enter text here."). Everything works perfectly and the field will grow and shrink to fit the text, however when the form is saved and then re-opened, the text field is minimized to an incredibly small size so that only the first line of text is visible and it is cut in half.

 

I suspect that the problem stems from the fact that the script I wrote sets the hieght to an empty value, but it is only in the exit event so the size of the field shouldn't change from when the form is saved to when it is opened. Does anyone have any ideas for how to fix this?


Unnamed fields in a form: how to reference them in a dataset

$
0
0

Hi all,

 

I am trying to programmatically fill out an XFA form. The form contains a table in which rows can be added dynamically. This is what the relevant template segment (in a simplified form) looks like:

 

...

               <subform name="page6">

                     <subform name="headerSF">

                          <field name="TextField13">

                          <field name="TextField15">

                          <field name="TextField14">

                     <subform name="Table1">

                          <subform name="HeaderRow">

                               <field>

                          <subform name="Row1">

                               <subform name="buttons">

                                    <field name="addRow">

                                    <field name="DeleteRow">

                                    <field name="moveUp">

                                    <field name="moveDown">

                               <field>

                               <field name="quantity">

                               <field name="unitPrice">

                               <field>

                               <field>

                               <field>

                               <field>

                               <field>

                               <field>

                               <field>

                               <field>

                               <field>

 

As you can see, quantity and unitPrice are named, but the other fields in the table row are not.

 

So, I can easily specify the quantity and unitPrice via the following dataset XML:

 

<page6>

          <headerSF>

                    <TextField13/>

                    <TextField15/>

                    <TextField14/>

          </headerSF>

          <Table1>

                    <HeaderRow xfa:dataNode="dataGroup"/>

                    <Row1>

                              <buttons xfa:dataNode="dataGroup"/>

                              <quantity>12</quantity>

                              <unitPrice>3242.11</unitPrice>

                    </Row1>

 

but how do I specify the other, unnamed, fields for the table row?

 

Thanks a lot in advance.

 

-- DC Dweller


Can I have one check box that checks a suite of other check boxes?

$
0
0

I have a check box that is positioned above many other boxes on a sheet. I want that check box to serve as a "check all" by checking all the boxes beneath it when it is selected. I am sure there is a script for this but I am not familiar.

 

Thanks!

"Total" numeric field that sums multiple numeric fields from multiple pages

$
0
0

I have a number of numeric fields that I would like to total up. I have created a numeric field that will serve as the total and need a script that will add them up. All the fields that need to be added have the binding name INTVL_n (INTVL_1, INTVL_2, etc.). The fields also reside on multiple pages.

 

Thanks!

Automatic Calculations

$
0
0

I am having an issue with calculated values not showing up in the field until the field has been clicked on or until the cell has been tabbed over. I would like the numeric calculated field to show the value as soon as the values are entered into fields that are being used to calculate it. I have a simple subtraction script running and the value tab has type set to "calculated - Read Only"

 

Any Ideas?

 

Thanks!

Can I send 2 separate emails from one Submit Button?

$
0
0

Have a referral form that an employee completes referring a candidate for a specific position. 

Fields are:  EmployeeName, EmployeeEmail, Candidate, Position, ReqNo.

 

I created a submit button (used regular button and changed it to a submit and entered an email address). The form is sent to this email address in a PDF format.  This works great.

 

Now at the same time I would like send a message to the employee acknowledging that we have received their referral -utilizing their email address from the form. 

 

Is there anyway that I can combine both of these actions on the Submit button I already have created?

Viewing all 5571 articles
Browse latest View live


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