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

Form flow help

$
0
0

I am new to LiveCycle Designer and trying to create a flow form with an expandable text object, but when I set it up it is not working.  I have subforms set to positioned and the main set to flowed.  I've watched several videos and still stuck!  Please help.


Dynamic alter colour cell with JavaScript

$
0
0

Hello Guys,

 

I'm facing the current problem:

 

I want change a colour cell depends on the value of the cell variable. I'm using the following JavaScript code on the initialize event of this cell

 

 

data.First.MainTable.Table1.Row1.Cell6::initialize - (JavaScript, client)

 

var numrows = xfa.resolveNodes("data.First.MainTable.Table1.Row1[*]").length;

 

 

for (var i = 0; i < numrows; i++)

{

    var LV_DATA = xfa.resolveNode("data.First.MainTable.Table1.Row1[" + i + "].Cell6");

  

    switch(LV_DATA){

 

       case LV_DATA <= "2":

            this.border.fill.color.value = "0, 153, 0";

            break;

       case LV_DATA >= "3" && LV_DATA <= "6":

            this.border.fill.color.value = "255, 255, 0";

            break;

       case LV_DATA> "6":

            this.border.fill.color.value = "255, 0, 0";

            break;

       default:

            this.border.fill.color.value = "255, 255, 255";

    }

}

 

Print1.PNG

My output values is:

 

Print2.PNG

With this output on column RISK Level I should get the first two cells red and the last one yellow.

 

Can you help me?

Combine PDF Files as One PDF

$
0
0

I have created several static interactive forms using Adobe LiveCycle Designer ES4.  These forms are then combined into one PDF by using Nuance PDF Create Assistant.  My problem is the field object formats are lost when the forms are combined - field patterns are not displaying as they should, date field drop down doesn’t work, specified margins are not displaying as they should etc.  My guess is that the PDF Create Assistant does not support Adobe LiveCycle Forms.

 

Does anyone have insight on this before I look into assistance from Nuance.

 

I’ve seen old post regarding combining PDFs with LiveCycle Assembler.  Looks like you need to have LiveCycle server to use it, which I don’t think I have. Can someone provide more information on this product?

 

It is necessary to have each form available as an individual form and I don’t want to create one big form in LC Designer with all of the forms included.

The Dialog Box Conundrum

$
0
0

I am creating an application form and would like to create an info/help button. Now I know there are button objects built into Livecycle but I'd like to customize my Button to make it more visually appealing. I've tried using an image field but every time it is pressed it opens the image browser and then the dialog box. It’s probably safe to say image fields are not to be used as buttons. I'd also like my button to have a little text bubble pop up when mouseEnter, saying something along the lines of “click me for help”, and then once the button is clicked the dialog box can come up. I’ve been scouring the interwebs all morning for an answer but don’t really understand all of the information I’ve found. Any help is greatly appreciated!

create an irregular form field

$
0
0

Hi, I am using Adobe Livecyle Designer.  I am turning an existing questionnaire into a form ES4.  The question has a short line and then a full length line for the next set of lines.  I have a few questions that are like this (see example below).  I would like to keep the format intact as not to waste the space. Is it possible to create an irregular shape text field?  If not possible is there a way of filling the first line and when full it jumps to the second line automatically like an auto return?  Maybe a script?

 

Example:

This is an example of a few of the questions on the form that I need to create.  The form has a shorter line then has an additional line after that in my question.  __________________________________________________________

________________________________________________________________________________

 

Thanks.

Radio boxes don't flow to next page, get cut off

$
0
0

Hello, first-time user and have done ok until now. I have been able to make my text fields expandable, but as they expand they push a group of radio boxes off the page and they do not flow to the next page. They instead get cut off. Any assistance would be appreciated.

Calculating radio buttons

$
0
0

I have a performance appraisal form that has about 50 questions that can be rated as exceeds, meets, or improvement needed. I would like to assign a value to each radio button and have a numeric field at the end that calculates a total score. Any suggestions? I havent been able to get it to work so far.

Thank you!

automatic invoice numbering

$
0
0

Hi,

I found this script from another forum. How do I put it in my PDF file with an Invoice field (numeric field) using Livecycle Designer ES3?

 

 

var v = +this.getField("Invoice").valueAsString; 

this.getField("Invoice").value = util.printf("%06d", (v+1));

 

Thanks!

 


Can radio buttons hide other radio buttons?

$
0
0

Hi, I'm building an application using Adobe Livecycle and I'm a bit new to it. If you are using radio buttons for 'yes' or 'no' questions and, whichever one you select affects the next questions to be visible or hidden, but the next questions contains radio buttons. How do you get the second set of radio buttons to become hidden? Any help with this would be greatly appreciated!

"event.target.hostContainer is undefined" with signature fields

$
0
0

I got LC-Designer ES4 Vers. 11. In Acrobat XI (and possibly all other viewers) I have this problem:

 

Whenever I access a subform containing a signature field  (for example like this):

var oBlockSignatureEKB = xfa.resolveNode("Exportcontrol.blockWithSignatures.blockSignatureEKB");

console.println("setVisibilityOfSignatureEKB: [" + oBlockSignatureEKB.name + "]");

 

then I get in JavaScript-Debugger this error message

event.target.hostContainer is undefined

126:1

TypeError: event.target.hostContainer is undefined

126:1

 

Apparently the code quits working beyond this point.

Why is this?

How can I prevent it or get around this error?

 

Accessing subforms without a signature field I do not have this kind of problem at all.

 

 

Javascript in PDF form

$
0
0

Hi guys,

 

 

I really have some problems with LCD and Javascript. I need three functions which I don't know to use without JS. So I tried JS but it didn't work, too

Maybe someone can help me with these (or at least one) of the following problems:

 

 

Start paramenters: PDF file exported from InDesign (IDML -> PDF) with basic form features (buttons). Now in LCD I need to make the finish, because of missing functionality in Acrobat Pro (which works quite better together with ID). And yes, I know that this workflow isn't best to choose, but I have to follow this in order to working in a team.

 

 

1. text auto-size: I need auto text size for some text fields. The text should have e.g. size 15, but if the field is full it should make auto size (shrink). I tried font size "0" but that did not work either. So I read about JS for auto size, but it does not like to work for me. I tried a "this.xxx" and if/else but without luck.

 

 

2. text overflow: I have multiple text fields for structure which should be filled with the same block of text (e.g. we have space for around 500 words per field and the text is 750 words long - so it should jump to textfield 2 (same page) and insert the last 250 words there.

 

 

3. PDF import: I have some images fields for inserting picture into the form. But because I want to insert a changing object (calendar with different month) I need a field, where I can insert a PDF (the calendar is made by a ID plugin, my working mate uses). The input should be in Acrobat / Reader after the form is finished so my mate can to that stuff. I tried an image field with a jpg/png which worked good - but because of scaling I would prefer PDF. So I tried JS (event.target.buttonImportIcon();) which I knew from Acrobat Pro. But that did not worked in LCD.

 

 

So anyone any ideas? Would be really happy about!!

 

 

Regards,

Florian

calculation in adobe livecycle

$
0
0

i had made a form using adobe livecylce designer ES2 and i want to get the standard deviation for a multiple numeric cells values.. in adobe acrobate i was using this javascript

 

var MyValues = new Array();

var MyFields = new Array("F0VerHR", "F1VerHR", "F1secondVerHR", "F2VerHR", "F3VerHR");

var oField;

var nField;

for(var i = 0; i < MyFields.length; i++)

{

  nField = '';

  nField = GetField(this, MyFields[i]).valueAsString;

  if(nField != "") MyValues.push(Number(nField));

}

event.value = standardDeviation(MyValues);

 

 

but this code dose not work with livecycle designer.. can you help me please in the correct code

 

thanks alot

Dynamic Table Rows Not Saving

$
0
0

In my livecycle form, the dynamic table row values, except for the first row, are not being saved.  The rows themselves save, just not the values.  Have already set the "Preserve Scripting Changes to Form When Saved" to Automatic.  Not sure what is causing this one.  Any help is greatly appreciated. Thanks in advance!

 

Here it is:

Shared Files - Acrobat.com

Insert Page Issue

$
0
0

When using the insert-> new page command, adobe live cycle disrupts the order of pages in my worksheet. There is a page I would like to remain as page #1 in the file. The problem is insert new page, adds a new page in the wrong order. I never recall having this problem before using live cycle in the past. See the image below to clearly illustrate the problem.

 

livecyclepage 2.jpg

multiple page orientation for imported pdf

$
0
0

Hi,  I am using Adobe Livecycle Designer ES4.  I have imported an Adobe PDF form with several pages.  Some of the pages are landscape and others are portrait.  All the pages are being imported as portrait as I assume since the first page is portrait.  The pages that are landscaped are being clipped.  Is there a way of changing the orientation of individual pages that are imported as PDF’s?  I can’t seem to find a solution.

 

Thanks.


Check for visible AND empty field

$
0
0

I am creating an application in Livecycle that has sections conditionally switching between 'hidden' and 'visible' as well as a large number of radio buttons and textfields that need to be filled out. I am currently trying to write a script for the preSave event that will check if the fields are empty and visible when the applicant tries to save the document. If any fields are visible and empty a dialog box will list the problem and the empty fields will be highlighted in red. Can anyone please help me with this? I've looked through the forums and have found answers to similar problems but when I try them out them, they do not work. Any suggestions are 110% appreciated!

How to dynamically populate a dropdown using a dataconnection.

$
0
0

I have a dynamic form that is connected to a database.  On it is a dropdown that I can populate with all of the records within a table in that connected database.  However I want to only populate it with some of the records and not all of them.  The records I want to populate it with will depend on what the user selects in two other dropdown fields.  The database holds standards for food, pool, playground, etc.  These also are broken down into what item they correspond to on the particular form they appear on.  Here is how it works now.  If the user picks a food form a checklist appears, and then the user could select item number 7 on the form, where a corresponding item appears dynamically on a separate page.  It contains the dropdown I want to populate.  I want the dropdown to list only those standards in the database that are associated with food standards and item number 7.  I can do this using an xml file but it's hard to maintain so if I could do it using a connected database it would be easier to maintain.  Hopefully this explains the situation well enough so that someone can understand it.

How can I buy a LiveCycle Designer and where it's gone?

$
0
0

How can I buy a LiveCycle Designer and where it's gone?

Thank you!

PDF Signatures - Error Message

$
0
0
When signing a PDF signature field component, results in the following 3 error messages after each other (text correctly shown, spaces and all)

1) The FieldMDP expression for this signautre is invalid

> After clicking on OK on 1), i get the next err message

2) Creation of this signature could not be completed.
Unknown error
Support Information: CSigField-1013

> After clicking on OK on 2), i get the next err message

3)The document could not be signed.
There was an error when attempting to commit this signature. The document was not saved.
The save operation was cancelled.


Any takers?

Thanks in advance for any help

Scripting help please!

$
0
0

Hi All,

I have multiple repeatable subforms (with subforms within them, and so on), and I want to be able to set a field presence (and possibly a subform border) in the 'HazardControl' subform based on values entered being equal to values entered in the 'JobTask' subform. When filling in the form, the user can add multiple instances of 'JobTask', and multiple instances of 'Hazard' within 'JobTask', as well as multiple instances of 'HazardControl'.

 

I have pretty much no scripting experience except for what i've picked up from looking through the generated scripts in my various LiveCycle forms (ES4). I am hoping someone can write the script I need properly... Any help would be GREATLY appreciated.

 

What I want to do is basically this:

 

If

JobHazardAssessment.JHA.HazardControl.RecHazControl.Row1.Numbers.TaskNum

equals

JobHazardAssessment.JHA.JobTask.JobTaskTable.Row1.JobTaskNumber

and

 

JobHazardAssessment.JHA.HazardControl.RecHazControl.Row1.Numbers.HazNum

equals

JobHazardAssessment.JHA.JobTask.Hazard.HazDes.Row1.Number.HazNumber

and

 

JobHazardAssessment.JHA.JobTask.Hazard.RiskCalc.CritTask.presence = “visible”

then set

JobHazardAssessment.JHA.HazardControl.NewRiskCalc.CritTask

to visible

 

Screenshot for reference:

Capture.PNG

Viewing all 5571 articles
Browse latest View live


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