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

Selecting additional pages

$
0
0

Is there a way to allow a user to add additional pages using something like a drop down list?  I want to create a form with a standard first page and a drop down list at the bottom that they can use to add other (pre-made) pages. 

 

For example, the first page of an inspection report is standard, but the next pages have image fields in tables that are 2x2, 2x3, 1x1, etc.  I would like to be able to allow the user to choose the right page from a list depending on their needs.

 

Is this even possible?


How Do I Create Conditionally Required Check Boxes?

$
0
0

Hi there,

 

I am working in LiveCycle Designer ES3.  How do I make child check boxes conditionally required when a parent check box is checked?  I am able to get script to work to make a text box required when its corresponding check box is checked, but I can't get the same script to make child check boxes required if a parent check box is checked. 

 

The problem I'm running into is that I can't change the Value Type of a check box to "Recommended" which is how I was able to get this conditional requirement to work for text boxes using the following script on the Change event for the text box's corresponding check box.

 

if(this.rawValue =='1')

{

EXAMPLETEXTBOXNAME.mandatory = "error";

Gender.mandatory = "error";

Gender.border.edge.color.value = "225,0,0";

}

else{

EXAMPLETEXTBOXNAME.mandatory = "disabled";

Gender.mandatory = "disabled";

Gender.border.edge.color.value = "0,0,0";

}

 

Please see the picture below.  When the top (parent) check box is checked, the user should be required to check at least one of the (child) check boxes below it.  Please let me know how to do this.

 

conditionallyrequiredcheckboxes.JPG

 

Thank you.

Drop-down list logic conditional suppression of list items

$
0
0

The Action Builder dialog box in Livecycle Designer ES2 Version 9.0 has some useful features.  Is it possible to do the following in the Action Builder dialog?

The form has three sequential Drop-down Lists.

The logic required is for the user to select a field on the first Drop-down List.  For example Size 12.

Based on option selected, (Size 12) in the first Drop-down List, the second Drop-down List must only show the colours available in Size 12.  In this case, the list items available could be Blue, Yellow and Green.

The user picks Yellow on the second Drop-down List and the only options available in the third Drop-down List would be Leather and Plastic, for example.

The list items in all the Drop-down Lists have other values beyond what is shown in the example above.  In other words, each subsequent Drop-down List need to suppress the list items based on what was selected from a Drop-down List before and so forth.

If it cannot be done easily in the Action Builder dialog box, can somebody point me in the direction where I can find an example script where that has been done before?

Hide / Show the button in masterpage

$
0
0

Hi,

 

I have a button in the master page (Click Here) when i click on it i will be hidden that works fine.

 

I have two buttons in the Design page that will show / hide the check box.

 

But the issue is when i click on any button on the design page (Show / Hide) the master page button (Click Here) is getting visible even though there is no link in between master page and design page buttons.

 

You can view the sample form in the below link.

 

https://workspaces.acrobat.com/?d=TCg5dJ3sA2gnI94I4pyg4w

 

Please help me. Thanks in advance.

 

 

Vjay

Upgrade to Adobe Acrobat XI Professional and free upgrade to Adobe LiveCycle Designer

$
0
0

Please need answers to the following questions:

 

  1. Upgrade to Adobe Acrobat XI Professional from Acrobat X Professional does qualify for a free upgrade to Adobe LiveCycle Designer ES4 or to ES3 only?
  2. Is Adobe LiveCycle Designer ES4 available in Italian language?

 

Thanks,

 

Francesco

Drop-down list expand upwards

$
0
0

Hi All,

 

I have a drop down list at the end of my page. when expanding it, the options cannot be seen in their entirety as the page ends immediately after. Users have to use the scroll bar to see all the options. Is there a way to make a drop down list expand upwards instead of downwards?

 

Thanks.

Form Automatic Numbering

$
0
0

Is it possible with a LiveCycle form that is not connected to a database, to automatically have a unique sequential form number populate a textfield when the form is opened? This would be the number that identifies that version of the form.

Data Binding

$
0
0

I use my Livecycle form to collect information from the user and then process the data into an Excel spreadsheet. There are approxiamately 200 fields on this form and only about 10 fields really need to be processed for data. If I turn off data binding for the remaining 190 fields will this cause any side effects (e.g. script not running properly)? I will leave data binding to "Global" for fields that need information from another field, but I see no reason to have Excel filled with 200 cells of data when only 10 of them are needed. Thank you.


Change style dynamically with javascript and usehref

$
0
0

Hello guys,

 

I'm using Livecycle designer and I'm trying to dynamically change the style of a TextField with javascript.

In the xml windows i've noticed the assigned style is stored in the usehref tag.

However if I try somthing like that in the "click" event of a button :

 

TextField.usehref = ".#som($template.#subform.designer__stylesheet.TextFieldStyle)";

 

This makes the TextField disappear.

 

Perhaps i'm doing something wrong, or maybe I have to somehow reload the layout ?

 

Thanks !

Get nodes count

$
0
0

Hi All.

 

I have the folowing data definition

 

<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">

   <xfa:data xfa:dataNode="dataGroup"/>

   <dd:dataDescription xmlns:dd="http://ns.adobe.com/data-description/" dd:name="data">

      <data>

         <S_DOCUMENT>

            <T_COMPETENCY dd:minOccur="0">

               <DATA dd:maxOccur="-1">

                  <NUM/>

                  <NAME/>

                  <NOTE_DESCR/>

                  <NOTE_KEYB/>

                  <RATING/>

                  <NOTE_RECFCD/>

                  <PRATING/>

                  <NOTE_MNG/>

                  <NOTE_EMPL/>

               </DATA>

            </T_COMPETENCY>

         </S_DOCUMENT>

      </data>

   </dd:dataDescription>

</xfa:datasets>

 

I'm trying to get nodes count for T_COMPETENCY node at the runtime via JavaScript.

 

I've used various constructions but all of them return 0 or nothing, please help me to solve this issue.

 

xfa.resolveNodes("xfa.datasets.data.S_DOCUMENT.T_COMPETENCY").length

xfa.resolveNodes("xfa.datasets.data.S_DOCUMENT.T_COMPETENCY[*]").lengt h

xfa.resolveNodes("xfa.datasets.data.S_DOCUMENT.T_COMPETENCY.DATA").len gth

xfa.resolveNodes("xfa.datasets.data.S_DOCUMENT.T_COMPETENCY.DATA[*]"). length

xfa.resolveNodes("xfa.datasets.data.S_DOCUMENT.T_COMPETENCY.DATA.NUM") .length

xfa.resolveNodes("xfa.datasets.data.S_DOCUMENT.T_COMPETENCY.DATA.NUM[* ]").length

Tray Controll in LCD

$
0
0

Hello together,

 

We want to control the several printer trays of our Canon printer in Adobe Interactive Forms but it doesn't work.

 

What we have done:

- The Canon Printer LBP6650DN has 3 Trays (Tray, Cassette1, Cassete2 (is an additional tray))

- I've defined the printer in SPAD

- I've defined in xdc file with the report RSPO0022

- I've Restart the Java-Stack-Server

- I've Restart the ADS

- I've customized my schedule in the LCD (Masterpage 1 = a4Special and Materpage 2 = a4)

 

My tray-Definition in my XDC FIle:

<inputTrays>

<inputTrayDefinitionmedium="a4Special"name="Schacht2"trayNumber="1"/> 

<inputTrayDefinitionmedium="a4"name="Schacht2"trayNumber="2"/> 

</inputTrays> 

 

For tray number i tried 0 to 5 but nothing worked fine.

Can anyone say me if the tray definition is correct?

Are canonen printers supporrted by Adobe Inter.... - I couldn't find a link on the adobe page.

Does any one have an idea what could be the error?

Red border for required fields?

$
0
0

Is there any way to turn off or change the color of the red border for required fields?  We still want to show the fields that have not been filled in, but the red box that highlights all required fields (filled in or not) can be very distracting on large forms with many required fields.

 

red_required.JPG

 

I haven't found a way to disable the red border or change it to a different color.

 

Is there a way to do this using the built-in check for required fields?

 

Thanks.

Jeff

No Data Exporting from "Use Global Data" Fields

$
0
0

I am exporting my form data to a spreadsheet. I have a couple fields that have binding set to "Use Global Data" but these fields do not export to the spreadsheet. Why not? Is it possible to export that data?

Hide / Show subform based on Drop-down List rawValue?

$
0
0

I have a Drop-down List which has two List Items; List Item 1 | List Item 2

I have a subform beneath it which I want to only be visible when List Item 1 is chosen.

The script I'm using to accomplish this is pasted below which is located in the validate event of the subform:

 

if (this.DropDownList.rawValue == "List Item 1"){    this.presence = "visible";}else{    this.presence = "hidden";}

 

The problem is that putting this in the validate event in the script editor causes validation error popups. If I put the javascript code into the layout:ready event, then the hidden subform will not be flowable (it will behave as if positioned), if I put it in the calculate event then my subform becomes read-only and so on and so forth.

.

How can I make it so that every time the Drop-down List rawValue is changed, the subform will be updated during run time? There must be some javascript that forces all subforms throughout the pdf to run any javascript that is in them for a certain event type (such as layout:ready), or all event types (I dont care). If that is true, then what event should I be using as a best practice? (I have no clue here, total novice).

How to stop seeing "XML schema" message

$
0
0

When I open my xdp form in Adobe LiveCycle Desinger, I see the following message:

 

The XML schema used to create data connection 'x' has changed.


Do you want Designer to update the connection using the modified XML Schema?

 

 

I actually tried clicking yes and it had the effect (in my case) of ruining my work; fortunately I saved a backup and reverted to it.

 

How do I get this message to stop appearing?


Problem when using pattern ''num{ZZZ,ZZ9.99 S}"

$
0
0

Hi all,

I have a problem with the following pattern:

num{ZZZ,ZZ9.99 S}

 

When I'm using this pattern there should be a blank at the end of the number if it's

positive. But after the PDF generation there is no blank.

 

I have positive and negative numbers below each other. If there is

a negative after a positive the numbers are no longer in flush. => See attached Screenshot.

Unbenannt.PNG

Does anybody know how to fix that problem?

 

 

P.S.:

I use a decimal field => right-justified and the Live Cycle Designer 8.01

Form not saving data in listbox multiple selection on Reader 9

$
0
0

Hello all,

 

I've noticed a very strange behavior in my form.

 

I have a list box multiple selection, bound to a Schema. After I apply the usage rights using Reader Extensions, open using Reader 9, save it and open again, the form doesn't keep the previous selection and the field stays empty.

 

Any ideas why is that?

 

The strange point is, when opening the form, selecting multiple options in this field and then click CLOSE, the Reader doesn't ask to save the form before closing, as is hasn't happened any changes on it.

 

I appreciate any help.

 

Please find below the Form and Schema.

https://sendnow.acrobat.com/?i=Qk9H7iQzcGriM-*3uxpylw

 

Thanks!

My livecycle designer es4 form needs password protection for parts of the form

$
0
0

I  have a form created in livecycle designer es4 that will be used by Adobe Reader users in three stages. The first stage is setting up choices on the form, saving them and passwordprotecting this Save. The form will be used three more times, each time saved as a new file.

How do I password protect each saved version from a command button?

Get rawvalue(index) from Listbox using FormattedValue

$
0
0

I have two dropdowns with two different sets of data. one with country and another with profession.

 

I have a listbox with the all the possible country/profession combined as a formattedvalue. how can I get the rawvalue/index using the formattedvalue from the two fields above.

 

I will pick a specific country and profession and then I need to get the index of that combo in the listbox.

 

Any help would be appreciated.

Extending Reader Rights causing Initialize event to fire twice?

$
0
0

I have a few drop-down boxes populated by scripts on their respective Initialization events. Everything worked great through development--except, when I demonstrated the form for a group, I noticed the drop-down boxes were populating twice. I wasn't using a clearItems()--shouldn't have needed it, right?

 

So, this was something I couldn't reproduce in Desiger. Once the the Extended Rights had been removed, the form performed as expected in Acrobat, and Reader, too. Put the Extended Rights back on, and the drop-down boxes are double populating again. Take the Extended Rights off, no misbehaving, everythings fine. Extended Rights on, bad doggie, no biscuit!!

 

Now, obviously I can get past this by using clearItems(), or moving the scripts to preOpen. However, I'd like to know what the heck is causing this? Is this a bug? a known issue? or is it something caused by something somewhere else in the form? I have always assumed forms would behave the same with or without Extended Rights. But it looks very much like the Initialize event is firing twice upon opening with Extended Rights.

 

Any insights out there?

 

Thanks,

 

Stephen

Viewing all 5571 articles
Browse latest View live


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