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

How to allow a user to resize an image field

$
0
0

Hello all,

 

I was wondering if it is possible to resize an image field based on user input. I am currently using a work-around by creating a set of radio buttons that each have an action attached to them that will define the width and size of the image field. However, that option is limited and not as effective as I would like. Is there a way to create some sort of variable so that the hieght and width of an image field is defined by the values a user enters into numeric fields? That way users could define the width and height of their image fields.

 

For information, I am working in Livecycle Designer ES2


Keeps stalling, blue circle.

$
0
0

My adobe livecycle designer (version 8.2) keeps stalling. Every time I make a change, it gives me this weird blue circle as if it's thinking or can't handle the change. After a few seconds, it incorporates the change I made, and then lets me make a new change. But the blue circle awaits me at every turn!!! Help!  (my file is on the shared drive, so not so sure if it's a network related problem or not, but I doubt it. My shared network connectivity is very very fast).

Creating a table with a variable number of columns

$
0
0

Hi,

 

I am working on a form and I want to allow the user to add tables to the form. If I give them a base table (for instance, a table with two rows and columns) is there any way to allow the user to add columns to the table. I can add new instances of rows, but I need the number of columns to be variable as well.

 

I am working in Livecycle Designer ES2

Flowed Subform Page Border Not Displaying Properly

$
0
0

I am using LiveCycle ES3.

 

I have all my content within a flowed subform set to western text.  I have a border around the entire content area (X: 1in, Y: 1in, Width: 6.5in, Height: 9in), so I don't have to worry about applying borders to individual objects.

 

pagebordersetup.JPG

 

 

However, in certain areas, the page border disappears.  See below.  Any idea why?  I don't want to randomly assign "patch" borders to objects.  That looks extremely strange, not to mention it is cumbersome to manage.  Is this a glitch or did I perform a setting incorrectly?

 

pagebordererror.JPG

Array in FormCalc

$
0
0

Hi,

 

Could someone please let me know how to use array in FormCalc? Any example or reference notes will be of great help.

 

Thanks,

VJ

Auto-resizing a dynamic table

$
0
0

Hello,

 

I have been working on a form in Licecycle Designer ES2 that requires the user to be able to insert a table. I have managed to work out a code that will do that by having a button with the following script in the click  event where I have a single-cell table and "Cell1" is a repeatable subform that acts as a cloumn:

 

// default rows and columns

var nRowCount = 3;

var nColCount = 4;

 

// ask user for row and column count

var sNumRows = xfa.host.response("How many rows?       (max 15)", "New Table", nRowCount.toString());

var sNumCols = xfa.host.response("How many columns?       (max X)", "New Table", nColCount.toString());

 

// get the user's response handling any invalid input

if (sNumRows != null && sNumRows.length > 0 && !isNaN(sNumRows))

    nRowCount = Number(sNumRows);

 

if (sNumCols != null && sNumCols.length > 0 && !isNaN(sNumCols))

    nColCount = Number(sNumCols);

   

   

xfa.resolveNode("Table2.Row1").instanceManager.count = sNumRows;

xfa.resolveNode("Table2.Row1.Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[1].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[2].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[3].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[4].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[5].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[6].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[7].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[8].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[9].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[10].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[11].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[12].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[13].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[14].Cell1").instanceManager.count = sNumCols;

xfa.resolveNode("Table2.Row1[15].Cell1").instanceManager.count = sNumCols;

 

My question is a two parter. First, is there a better way to specify the duplication of columns in all rows? If I don't anticipate the rows as "Table2.Row1[x].Cell1" then only the first row will gain columns. Second, is there a way to automatically resize the width of the columns when the button is clicked? For instance, if the user chooses to have two rows, then I would like to have each column be about 3" wide. But if the user wants 3 columns, then they should each be about 2", and 4 columns would be about 1.5" each.

 

I have tried adding the following code (and as many variations as I can think of affecting the text field, the cell subform, the table, etc.) to the button's click action but it doesn't work:

 

if (sNumCols = "2") {

  this.resolveNode("Table2.Row1.Cell1").w = "3in";

  this.resolveNode("Table2.Row1.Cell1[1]").w = "3in";

}

Can I make a Text Box in LiveCycle be flowable in a PDF

$
0
0

Can I make a Text Box in LiveCycle be flowable in a PDF

How do i replace the red x in the standard messagebox with a check mark?

$
0
0

What would be the script to substitute the red x for a check mark?  If this isn't possible, is it possible to get red of the graphic all together? 

 

The messagebox that is popping up is to alert the user that hte form is complete.  It doesn't need the scary red box!

 

THANKS!


livecycle action builder certain condition results in check a check box in another field

$
0
0

I'm trying to use the Action Builder to set it up that depending on what the value total is in one field, the system will check the appropriate check box.

 

form.JPG

 

 

This is what I have built (one for each value range) but it's not working.  Nothing happens.

 

checked.JPG

 

unchecked.JPG

 

 

Please help.  Thank you!

Display pattern not working - add $ for a numeric/decimal field

$
0
0

I've designed a form which has fields where I need to display currency(US) values.

 

I've made the fields as numeric type. I've added the display pattern as num.currency{} and also tried with num{($z,zzz,zzz9.99)}. But nothing seems to be working.

 

The amount value passed in the xml input is 7,002.978.

The result that I'm getting now is $0.00

 

When I changed the field to decimal type and added the same display pattern as above, the result that I get is BLANK:  $

 

I need to format it such a way that it displays $7,002.99 in the form. There's no limit for the leading digits and the digits after decimal point should be 2. Is there a way to get this by changing the "PATTERNS" properties?

 

Please let me know how I can get the pattern right.

 

I'm using LC Designer ES2.

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

How to insert a page dynamically into a form

$
0
0

Good Morning,

 

We've used LiveCycle to create a very intricate work order for our service company. Although most work orders we create don't need additional documents (aside from the form itself), some do. For example, we may want to add a PDF coversheet to work orders for certain commercial accounts that have special billing instructions. At this time we will add pages to an existing work order through the following process:

  1. Enter all data into the LiveCycle form
  2. Print the form to PDF and save
  3. Use the "Insert Page" feature to add the necessary page (these pages are templated for continuous use)
  4. Resave the document

 

My goal is to find a solution that would allow the user to dynamically select/add the necessary pages to the work order during step one (entering data into the form). Then, when we print the work order to PDF the printed copy would include both the work order and whatever page was added. I hope my explanation makes sense. Is this possible in LiveCycle?

Livecycle Form - Table within a table

$
0
0

I am trying to build a table (B) within a table (A). Table B can have from 1 to 4 records (rows).  I want the record in table A to stretch (in height) to accomodate up to 4 records in table B.  Currently, when there are more than one record in table B, additional rows are generated in table A. All the columns are blank, except the column that contains table A.  Anyone have any idea what I've got set up wrong?

Thanks, lclambe

Error: Unable to locate an image file browser...

$
0
0

I get the error below when I insert an image element and try to associate a picture to it by either double clicking it or using the browse button in the Draw palette.

 

error.png

 

I have looked in my install directory and the "FileSystemBrowser.dll" file is present as well as the "ImageFileBrowserIDL.dll" file, so what gives?

Running LiveCycle ES2 9.0.0.2.20120627.2.874785

Number Repeating Table Sections

$
0
0

I am trying to number repeating table sections. I want to number the "Topic" sections 1, 2, 3, etc... and have that working fine. The "Action Item" sections need to be numbered 1.1, 1.2, 1.3, 1.4, etc. and if I delete one of the Item sections, it will renumber automatically. Can't figure out how to do this? Need to add .1 to the Topic section number and continue on this series.

 

Can someone help?

Capture1.PNG


How to change the values of dropdown with two columns - offline form?

$
0
0

I am creating a offline Adobe interactive form.

 

I have two fields in a table :-:       Course Number and Course Name. 

 

I have a dropdown on Course Name (since users mostly know Course name)

This dropdown gets filled via a webservice (WS1) call to SAP in the form ready event

The webservice returns a table with two fields - CTEXT and CID.

I bound this Web service data connection to the Dynamic properties of Course name dropdown with CTEXT bound to "Item Text" and CID bound to "item Value" fields.

 

So when I choose the Course Name from dropdown , I can see the name in the CTEXT field (available against xfa.event.newtext propety).

 

In the exit event of the CTEXT field, I am able to pass the value to the CID as

 

this.parent.CID.rawValue = this.rawValue.          <------------ @1

 

So far so good.

 

I had to improve upon this a bit - like - when I input the CID, I have to get the Course Name.

 

So I called another web service (WS2) in the "exit" event of the CID field and it is fetching the Course name properly (WSTEXT) - I am able to store this in a text field.

 

and tried to pass the value to CTEXT as

 

this parent.CTEXT.rawValue = WSTEXT.rawValue

 

But this is overwriting the CID value because of the code @1

 

 

Can you please provide me code / syntax

 

1. To update the value of the CTEXT field based on the CID value (webservice WS2 call returns the CTEXT value)

2. Add the CID and CTEXT values to the CTEXT dropdown

3. while doing so, delete duplicates from CTEXT dropdown

 

Thanks,

GVR

How to set a conditional date field value

$
0
0

Hello,

 

I've been trying to figure out how to set a date field to a specific value based on a conditional field.

 

I have a radio button with two options (yes & no). So, I want the date field to take on the value of "Aug 19, 2014" if the option "yes" is selected. Otherwise just allow the user to pick the date....

 

 

Thank you!!!

change check mark color in checkbox

$
0
0

Hi All.

 

Is it possible to change check mark color in a checkbox to green and keep font of caption like black? If yes. How it to do?

 

Thanks.

Automatic Serial Number for Dynamic SubForm

$
0
0

HI,

 

what is the javascript code for repeating the Serial Number in a dynamic subform from 1 to Number ,which is given in text field which creates that many rows  automatically  ?

Repeating instances of a subform

$
0
0

Hi,

 

I have a subform(aka page 2) which is nearly 1.5 pages long(it can be repeated on the Number given in some textfield) ,i made that as a flow and used more subforms inside it to make it work, now according to the requirement i do not want inside subforms and for that i need to change thepage2 as position content,but then the problem is page2 is coming in 1 page only and other fields are overlapping, when I am taking that overlapping field to downside it is going in next page(aka page 3 ) and becoming  part of this. but i still want it in page 2 because i want to repeat it on the basis of Number entered, Is there any way all this can be done ?

Summary of what is needed : -

1.page2 to span more than 1 page and is repetitive(max = 7 times).

2. Inside Page2 , I do not want subforms.

3.Page 3 to Follow Page 2 ,if possible.

Viewing all 5571 articles
Browse latest View live


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