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

If Statement On One Question Controlling Visibility of Radio Button Options on Other Pages in Form

$
0
0

Hello, I am using LiveCycle 8.0. I am hoping I could get some help on using an If Statement to control the visibility of one or two radio button options throughout the rest of the form based on the selection from question 1. Here's an example of what I'm trying to do:

 

Question 1: Are you...

[radio button1] xx

[radio button2] xx

[radio button3] xx

[radio button4] xx

 

There are 17 pages in the form. 13 of those pages has 1 question and a radio button rating scale of 1-5 (can only select 1). The other 4 pages have 1 question and a radio button rating scale of 1-9 (can only select 1).

 

If the user chooses [radio button1] or [radio button2] from Question 1: Are you...(above), then I want to disable the radio button option #3 from each question that has the 1-5 rating scale and radio button options 4 and 5 from the 1-9 rating scale. If the user chooses [radio button3] or [radio button4] from Question 1: Are you...(above), then all ratings are visible/enabled.

 

Is this possible? I have been creating forms for quite some time, but haven't really ventured into the if/then world. Any help would be greatly appreciated!


Using XML as data connection, but 2 issues: Same element name, but different namespaces and Hyphens

$
0
0

Hi, everyone:

 

I'm trying to use XML based off an XSD as a Data Connection for my form.

 

However, when I try to use Javascript, the following prevent me from continuing further:

  1. If an element has a hyphen in the name (I have removed the hyphen in the XML, but it fails to validate with the XSD)
  2. If two child elements have the same element name, but are in different namespaces

 

I was wondering if anyone knew how to troubleshoot these issues.

Repeating Subform at Top of Each Page

$
0
0

Greetings,

 

I am using LiveCycle ES3.

 

My form has six pages, with fields that can be expanded, so essentially the form will always be six pages or more based on the user's input.  I am attempting to have a subform containing a table and one row repeat at the top of each page without resorting to placing this subform in "Master Pages" section.  The reason I don't want to place this subform in "Master Pages" is because when I do I cannot make the fields in the subform required without error messages popping up as soon as the form is opened.  With the form being six pages, and the subform containing two required fields, when the form is opened, twelve error messages (six pages multiplied by two required fields on each page) pop up right off the bat, which is completely counterproductive. 

 

Any help would be appreciated.

 

Thank you.

Can we make a data connection using a WADL file?

$
0
0

Can we make a data connection using a WADL file for REST web services?

Adding days to a date

$
0
0

I can't get my code to work, I've read over most of the other posts regarding Adding days to a date, and I'm can't figure out why my code isn't working.

 

Date1 field is a Date/Time field: I want the user to select a date

Date2 field is a field that I would like a new date (Date1 + 21 days) to automatically populate.

 

Here is my code, it is set to run when the user exits Date1.

 

var Date1 = Date2Num ($, "yyyy-mm-dd")

Date2 = Num2Date (Date1 + 21, "yyyy-mm-dd")

 

The result is y-m-d in the Date2 field. I have tried making Date2 a text field, numeric field, and another Date/Time field, the result is always the same.

CSigDict - 1938 error?

$
0
0

Some of the forms are giving my end-users a strange error, saying

 

"Creation of this signature could not be completed, Unknown Error,

 

Support Information: CSigDict - 1938".

 

An HFT message then follows, saying the file is already open or in use by another application; however, I know this is not the case.  Unfortunately, once this error is shown, the file becomes permanently corrupted and I cannot remove the signature.  Sometimes the signature will show on the document just fine (even if it is corrupted, it looks fine on the screen), and sometimes not.

 

I can find no reference to this particular error on google.  Any idea what's going on?

 

Acrobat 9.3, LS 8.2, WinXP.

strange overflow issue.

$
0
0

I have a table inside a subform which also in another table's body row.All the content breaks are selected apropriateley a,d the subforms are all on flowable layout.But,as you'll see on the picture,the 4th occurence of the table row with subform does not break.Any idea why ? untitled.jpg

Printing only one part of a form (text box or subform)

$
0
0

I have a form with a button to show the instructions on how to fill out the form.  I would like for them to be able to print the instructions if they want, and then close the instructions to continue filling out the form if they choose.  Is there a way to print only a text box, or even a subform?

 

Thanks, Anne


Enable/Disable button based on text field change

$
0
0

Hi,

 

I'm trying to enable/disable the "Submit PMT ACN" button based on the user input. I've put code in change event of the field to activate the button but the the downside is that when user is typing in data into field, its loosing focus.

 

I tried to put in exit event but, the event is firing only when the user clicks somewhere outside of the field.

 

Disabled Button

Capture1.JPG

Enabled Button

Capture2.JPG

 

Can someone please help with some ideas to implement this?

 

 

Many thanks,
Sandeep

Data in instances not being saved

$
0
0

I'm currently using Adobe LiveCycle Designer 8.0 to create Dynamic PDF files.  I'm saving them in "Adobe 8 Dynamic XML Form" format, I've set "Preserver scripting changes to form when saved" to "Automatic" and the binding on all of my forms/textfields is set to "Normal." 

 

When I open my PDF in Acrobat Acrobat 8 Professional, and I use my scripted buttons to add new instances of forms/tablerows/etc. I find that the status of any instantiated forms are not retained, and any fields with completed inside them are blank when I save the form and reopen it.  Textfields filled and radio buttons marked in non-instance forms retain their data, but anything that I've entered into forms created using _MyForm.addInstance(true) fail to save their data when the PDF is saved.

 

Can anyone please advise me?  Please be aware that the versions of the software I'm using are set in stone, and not something that can be upgraded as a solution to the problem.  Thank you for any help you can give!

add filename

$
0
0

Is there anyway to change the "filename" to that of a selected field that changes with every different submission?

Need Help Populating single textfield with Dynamic Table data

$
0
0

Hello

I'm trying to fill a text field with data from a dynamic table. So I know how many item are in the table with the instancemanager.count function. I need help getting the data from the dynamic table and inserting it into one text field followed by comma.

Example:

 

               Dynamic table :     row[1]: DATA_01

                                            row[2]: DATA_02

                                            row[3]: DATA_03

                                            ...

 

I would like the textbox to automatically populate with the data in this format: DATA_01, DATA_02, DATA_03... and continue if there are more data.

 

I started with the code below but it doesn't do the job.                               

 

 

var Count = form1.page2.DATA_history.instanceManager.count;

var temp;

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

{

    temp = xfa.resolveNode("form1.page2.PO_history[" + i + "]").DATA.rawValue;      // this seem to get the last row entry only.

    this.rawValue = this.rawValue + temp;                                                                  

}

 

I hope I was clear, but if anyone need clarification please ask. Thank you.

Help: select many check boxes before you get the correct answer

LiveCycle ES2 XML convert string to uppercase

$
0
0

You cannot vote on your own post
Hello,

I need some help with a form. I am trying to learn XML and at 67 yrs. old it is difficult and I have little patience for hours of research. So a simple and concise explanation is required, please. 

 

I have just started to use LiveCycle ES2 for an Adobe form in the last 2 days. This is all very new to me. I have the form completed but would like to have one text input display only uppercase, <picture>text(A9A 9A9)</picture>, for a Canadian postal code. Where would I put and what code would I use to convert the Alpha to upper in my XML sheet. I have attempted to find an answer and see a number of options that I have no idea how to use. I could most certainly could go without this but I am a fussy old man, ask my wife.

 

I can add the complete <field> syntax if need be if that would make the explanation any easier.

 

TNX,  Bob 

LifeCycle Designer ES2 - Does Not Recognize MS Word 2010 on PC

$
0
0

Help please - I am new to the product and am trying to create forms.

 

1) I recently upgraded to office 2010. When I launch Designer and tell it to start from a Word doc, it tell me: "Word (version XP or onwards) could not be found on the machine"

 

Any suggestions?

 

2) How to do I check for updates? I do not see anywhere on the menues and when I check from within Acrobat X, it says no updates.

 

Thanks all.


Names of Attachments within a PDF

$
0
0

Hi All,

 

I have a button which attaches a file

 

In the click event of the button:

app.execMenuItem("AddFileAttachment");

 

Which is working fine.

Now, I want to access the absolute file name of the attachment and display it in the text area in the PDF.

Can i access it in LiveCyle Designer through javascript coding?

 

Thanks

Abhiram

Loading mouse cursor on MouseEnter/Exit events

$
0
0

Hi all,

 

 

I have an interactive PDF document developed in LCD ES4 that is +- 8Mb (it contains a number of images). The PDF is then saved as Reader Extended in Acrobat X to permit user saving.

 

If the PDF document is opened in Acrobat Reader (XI) on a medium-spec PC (Windows 7 and 8) - when the user moves the mouse over any interactive controls (combobox, field etc) - Windows briefly changes the mouse cursor to the loading icon (green round circle) before flicking back to the arrow cursor. I'm guessing that the system processing which causes the cursor to change to the loading icon is caused by the MouseEnter / MouseExit events firing... but neither of the events have any code in them (i.e. they are both blank).

 

The mouse cursor change is quick when the user hovers over a single control, but if they move the mouse across a region of adjacent controls (e.g. repeating rows) the flicking of the mouse cursor between the arrow and the loading icon is very annoying.

 

Has anyone else seen this before - I'm guessing there is no way to stop certain events (e.g. MouseEnter / MouseExit) from firing? Any other suggestions appreciated.

 

Cheers,

ODBC Connection populate/filter dropdown lists

$
0
0

Hi =)

 

I'm working on a form in Designer ES4 with an ODBC connection and I'm trying to populate/filter dropdown lists.

The idea is this:

     User chooses from dropdown list 1* an option.

     After making that choice, the user can select an option from dropdown list 2**.

 

(* here, there should only appear distinct elements of the column 1 of the table)

(** here, there should only appear elements of the column 2 which column 1 element match the previous choice)

 

Ok, so I've created a database and a simple table in SQL Server Express with just 2 columns (and 6 lines) and I'm able to set up the connection in Livecycle.

 

The problem I'm having is when I try to populate dropdown list 1. I've followed this tutorial:

 

     http://www.youtube.com/watch?v=wPcXdE6xR5g

 

With no luck what so ever. I cannot even open the first dropdown list. I've made those changes in the initialize event on the javaScript console:

 

     var sDataConnectionName = "DataConnection";

     var sColHiddenValue = "ID";

     var sColDisplayText = "typeObject";

 

And the dropdown list just shows the first item. I cannot open it.

 

Can I just access data from the Database without making any binding, using just queries and adding items to the dropdown lists?

 

Thanks =)

LifeCycle Designer ES4 - Does Not Recognize MS Word 2013 on PC | Win 7 64 Bit

$
0
0

Help please - I am new to the product and am trying to create forms.

 

1) I recently upgraded to office 2013. When I launch Designer and tell it to start from a Word doc, it tell me: "Word (version XP or onwards) could not be found on the machine"

 

Any suggestions?

 

2) How to do I check for updates? I do not see anywhere on the menues and when I check from within Acrobat XI Pro, it says no updates.

 

My System are Windows 7 at 64Bit and Office 2013 both Programms are actuall patches and Acrobat too.

 

Thanks all.

 

Brgds

Martin

Stopping attachment action

$
0
0

Hi

 

Is the a way i can stop a user from attaching a document if the file name already exist within the files that are already attached.Thanks

Viewing all 5571 articles
Browse latest View live


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