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

How to turn off the "automatic remove data function" from a dynamic form?

$
0
0

I have created a multi-page and multi stage form.  Basically it goes like this in one form.

Basic Data - Client Info.

Stage 1 - Pre install

Stage 2 - Install

Stage 3 Go Live.

 

One form is saved for each client.  The form is a living document so It has to be updated as you progress through the stages.  The problem is when you uncheck the stage you just completed the data you inputted into that stage gets removed.  THIS CANNOT HAPPEN all data inputed has to remain.  How do I disable this function?

 

Gregg


Livecycle ES2 Footer TextField not Populating.

$
0
0

I have a text field on the bottom of the master page of my form that is set to populate with the value of a text field on my actual form upon exiting from that form text field. It's just the title of the action being taken and my intent is for this title to appear on the bottom of all pages of my form. I also have on the bottom of the master page a custom "page n of m" text field.

 

The "page n of m" field populates without a problem and correctly shows the page numbers on all pages of the form.

 

The problem is, the "title" text field on the master page that is supposed to populate as described in the first sentence above only populates correctly on the first page of my form. All the other pages still have the default value on them.

 

Any ideas on why this is happening and how I might fix it?

 

Thanks.

Problem with formcalc code not properly executing in a dynamic table

$
0
0

I've got a table which has a sub total field in it with the following code:

 

if(Table2.Row1[*].level eq 1) then

Table2.FooterRow[0].Cell6 = Sum(Table2.Row1[*].shortdays)* 168.30*(Table2.Row1[*].staffrequired);

elseif (Table2.Row1[*].level eq 2)then

Table2.FooterRow[0].Cell6 = Sum(Table2.Row1[*].shortdays)* 176.33*(Table2.Row1[*].staffrequired);

elseif (Table2.Row1[*].level eq 3)then

Table2.FooterRow[0].Cell6 = Sum(Table2.Row1[*].shortdays)* 188.30*(Table2.Row1[*].staffrequired);

elseif (Table2.Row1[*].level eq 4)then

Table2.FooterRow[0].Cell6 = Sum(Table2.Row1[*].shortdays)* 269.35*(Table2.Row1[*].staffrequired);

endif

 

The problem i am having is that when i add a new line the formula above only takes the staffrequired field value from the first row not any subsequent row.  I can't work out exactly what I am doing wrong as apart from this issue it seems to be working fine.

page n of m not working

$
0
0

Hello,

 

I have a form that I hadn't worked  on in awhile and can't remember what I did! I have a subform set up that covers 3 pages. The Pagination is set to:

 

Pagination.jpg

I had a fourth blank page that I couldn't get rid of. I found an answer on the Forum that said to change the After: field to Following Previous. When I did that, then the fourth page went away, but now my Page # of # doesn't work.

 

Any ideas of what I can do?

 

Thanks,

MDawn

Clear all data from table row

$
0
0

Is there a short script to make all the fields in the same table row null (blank)? I want to clear all data when that row is deleted.

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?

Table overflows to second page but not third or more

$
0
0

I have a table wrapped in a subform set as "Flowed" that can fit about 15 rows on a page.  The table overflows to the second page correctly if there are between 16-30 rows, but anything after that, it just overflows off the second page instead of creating a third page for the overflow.  I've checked to make sure that "Allow Page Breaks within Content" is checked for the page, the subform, and the table. 

 

I have this exact same problem with a text field that will only overflow correctly to page 2, but not any further.  Can anyone help me out?  What am I doing wrong?

Security Issues in a Form I created in LiveCycle

$
0
0

The form has two master pages and a good amount of coding using both Javascript and formcalc.  I do need help at some point with some coding, but right now I have a bigger issue.  When I open the form in Acrobat and extend features in Reader, changing the document, document assembly and creation of template pages is Not Allowed.  Therefore, when I try to edit and save in reader, then reopen in pro, the textfield data is not shown.  I've been researching for 3 hours and have tried different things in both Pro and LiveCycle.  I'm running Pro 9.3.  Thanks.


xfa.event.newText is undefined in an HTML rendered form in Livecycle ES4

$
0
0

When LiveCycle ES4 renders a form in pdf, "xfa.event.newText" works fine.   It does not work for an HTML rendered form.  Is there a different javascript model/properties for a rendered HTML form ?

 

  If there a complete list somewhere of the differences in javascript for a rendered pdf form versus a rendered  HTML form?

 

This question was asked in July, 2013 but never answered. I am trying to get a character count while user is entering text in a text field. I have a FormCalc function but cannot get it to work in JavaScript.

 

Please help.

Set focus to xfa.host.response dialog box

$
0
0

Hi,

 

in my form i do have an xfa.host.response dialog password box:

 

var sPassword = xfa.host.response("Please enter your password:", "Password", "", true);

 

I'm wondering now if there is no possibilty to directly set the cursor focus into the pop up password box. To work with xfa.host.setFocus(somExpression) seems to be not possible because the dialog box has no somExpression, right?

 

Any suggestions?

 

Thanks!

Can you tell within the form with javascript if the file has reader rights.

$
0
0

Hi

 

I have an issue where I need to know at runtime if the current file has reader rights so that a link will directed them to one place or another.

I was hoping with javascript I could check if the form has reader rights
or
the file name will be different for the version with reader rights so the other option is with javascript can it tell me filename of itself.


Thanks

Brad

How do I calculate the average of ONLY the populated fields?

$
0
0

I'm working on an Adobe form to streamline the process of summarizing course evaluations.  To protect the anonymity of the students, instructors with 10 or fewer students are given a typed summary of the evaluation results.  On the first half of the evaluation, the students are asked to rate a series of statements from 1-5.  Three of these are highlighted on the summary form with the average response. 

 

I've already set up the form with 10 unique boxes for each question and an 11th box which calculates the average.  Each field is named according to the question number and the student's "number" (I arbitrarily gave each student a number so that each field would be unique):

 

i.e. #1. Questionquestionquestion.  Q1S1  Q1S2  Q1S3  Q1S4  Q1S5  Q1S6  Q1S7  Q1S8  Q1S9  Q1S10  1AVG

 

The problem, of course, is that no matter how many students were actually in the class, the AVG field will always be calculated based on a group of 10...which isn't accurate or fair to the instructor.  I thought about just changing the form and removing the unused fields from the equation each time I make up a new summary, but the point of creating a form was to make it as quick and easy as possible to bang these things out... Plus, some of my coworkers might be using the form from time to time and I'd have to explain what they have to do and if they don't have Adobe Acrobat then they can't actually make the changes and blah blah blah...it just gets ridiculous really quickly!

 

So anyway, I tried reading some other posts for similar questions in an attempt to figure out a custom calculation script for myself, but I just couldn't focus on it.

 

I was hoping someone could explain how to write a custom calculation script that will omit any fields which are left blank... Or, even better...is anyone willing to write it for me?  At least just an example of the first guy, cause I could probably figure out how to get all the other ones from there.

 

Thanks.

Hide all object except one based on Drop Down Menu Selection

$
0
0

Hi, I'm new with LiveCycle Designer (using ES2) and haven't got any previous experience with Javascript, hence my question may seem basic.

I've looked for the answer in this forum and elsewhere but haven't found it so far.

 

The aim is to show the contact info of a certain Project Manager based on who is selected in a drop down menu. I've created a Text-object for each person  (not Text Field since I want to to be able to use different font and size on name, phone number etc.)

 

Is there a way to say "hide all objects except one" without having to hide every single object individually? It want to avoid too much editing each time a new Project Managers is added.

 

This is my current code:

 

form1.FrontPage.Subform1.#subform[1].SELECT-PRJ-MNGR::change - (JavaScript, client)

 

if ($.boundItem(xfa.event.newText) == "ProjectManager-1") {

  this.resolveNode("ProjectManagersForm.PROMA1").presence = "visible";

  this.resolveNode("ProjectManagersForm.PROMA2").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA3").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA4").presence = "hidden";

}

if ($.boundItem(xfa.event.newText) == "ProjectManager-2") {

  this.resolveNode("ProjectManagersForm.PROMA1").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA2").presence = "visible";

  this.resolveNode("ProjectManagersForm.PROMA3").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA4").presence = "hidden";

}

if ($.boundItem(xfa.event.newText) == "ProjectManager-3") {

  this.resolveNode("ProjectManagersForm.PROMA1").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA2").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA3").presence = "visible";

  this.resolveNode("ProjectManagersForm.PROMA4").presence = "hidden";

}

if ($.boundItem(xfa.event.newText) == "ProjectManager-4") {

  this.resolveNode("ProjectManagersForm.PROMA1").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA2").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA3").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA4").presence = "visible";

}

 

 

 

I've seen somewhere that you could give the objects the same name and then hide them based one the name[*] , but I'm not sure how to use it:

 

form1.FrontPage.DropDownList1::change - (JavaScript, client)

 

if ($.boundItem(xfa.event.newText) == "ProjectManager-4") {

  this.resolveNode("ProjectManagersForm.PROMA[*]").presence = "hidden";

  this.resolveNode("ProjectManagersForm.PROMA[4]").presence = "visible";

}

 

 

Any help is welcome!

Adobe LiveCycle Designer ES2 - C++ Crash on Preview PDF attempt

$
0
0

Hi guys,

I'm desperately after some help with a small yet frustrating issue that occurs while attempting to preview pdf in LiveCycle Designer ES2 9.0.0.2.20101008.1.734229

 

The shortish story:

Adobe Reader X build 10.0.0   <--- Set as default PDF handler

Adobe Acrobat X Pro build 10.0.1

Adobe Livecycle Designer ES2 build 9.0.0.2.20101008.1.734229

 

All three programs work flawlessly individually, yet while working on any document - new or existing with LiveCycle Designer, the program receives a Microsoft Visual C++ Runtime Library Runtime Error "This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."

 

This happens as soon as you try clicking Preview PDF

 

LCError1.JPG

 

Once accepted the next error stats LiveCycle needs to close.

 

LCError2.JPG

 

Event log shows the following info:

 

Log Name:      Application
Source:        Application Error
Date:          23/02/2011 1:59:11 p.m.
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      <REMOVED>.<DOMAIN>.local
Description:
Faulting application name: FormDesigner.exe, version: 9002.2281.1.0, time stamp: 0x4caf76bb
Faulting module name: MSVCR80.dll, version: 8.0.50727.4927, time stamp: 0x4a2752ff
Exception code: 0x40000015
Fault offset: 0x000046b4
Faulting process id: 0x830
Faulting application start time: 0x01cbd2f4ca24fec8
Faulting application path: C:\Program Files\Adobe\Acrobat 10.0\Designer 9.0\FormDesigner.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442 db5b5\MSVCR80.dll
Report Id: 1fc747e3-3ee8-11e0-af85-002481f41c23
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-02-23T00:59:11.000000000Z" />
    <EventRecordID>21421</EventRecordID>
    <Channel>Application</Channel>
    <Computer><REMOVED>.<DOMAIN>.local</Computer>
    <Security />
  </System>
  <EventData>
    <Data>FormDesigner.exe</Data>
    <Data>9002.2281.1.0</Data>
    <Data>4caf76bb</Data>
    <Data>MSVCR80.dll</Data>
    <Data>8.0.50727.4927</Data>
    <Data>4a2752ff</Data>
    <Data>40000015</Data>
    <Data>000046b4</Data>
    <Data>830</Data>
    <Data>01cbd2f4ca24fec8</Data>
    <Data>C:\Program Files\Adobe\Acrobat 10.0\Designer 9.0\FormDesigner.exe</Data>
    <Data>C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442d b5b5\MSVCR80.dll</Data>
    <Data>1fc747e3-3ee8-11e0-af85-002481f41c23</Data>
  </EventData>
</Event>

 

I have ensured that Adobe Reader X is the default PDF handler.

I have repaired all adobe apps, deleted the 'c:\users\%username%\AppData\Roaming\Adobe\Designer' folder and recreated to no avail.

 

Computer details:

 

Windows 7 Enterprise - domain environment

Administrator user account - full control

 

Other installed programs of possible interest for interference to the .DLL :

Crystal Reports 2008 Runtime SP1

Crystal Reports XI Release 2 .NET 2005 Server

Microsoft SQL Server 2008 Connectivity tools

Microsoft Visual C++ 2008 Redistributable 9.0.30729.17

Microsoft Windows SDK for Windows 7

 

This problem also affects our locked down standard Windows 7 users on the domain.

Any ideas on how to fix the issue would be much appreciated.

Livecycle Designer - Javascript

$
0
0

We have a form that was created in LivecycleDesinger ES2 some time ago and we want to create a very similar form in LivecycleDesinger ES4, in particular a "submit" button that utilizes javascript.  I created a new "submit" button using LivecycleDesinger ES4.  I copied the javascript from the form created in LivecycleDesinger ES2 into LivecycleDesinger ES4.  When we open the form in Acrobat Pro XI and select the "submit" button, we get a window entitled "Check Names" that opens and reads Microsoft Outlook does not recognize "1.  Double-click the attachment."  Also get an error from the javascript debugger when previewing in PDF.  As a brand new user to Livecycle Designer, was hoping a simple copy and paste would work. 

 

Check Names.jpg

Check Names 2.jpg

 

Below is the script, how can I correct?

 

topmostSubform.Page1.Button2::click - (JavaScript, client)

//@@SUBMITURL "mailto:christopher.fagan@mascocabinetry.com?subject=Submitting Completed Form&body=Instructions to add this form to a responses file:\n1. Double-click the attachment.\n2. Acrobat will prompt you to select a responses file.&ui=false"

 

/**************************************************************

AdobePatentID="B643"

**************************************************************/

var AdobePatentID = "AdobePatentID=\"B643\"";

 

// initiate some constants

var METADATA_ANNOT_NAME     = "adhocFormState";

var PROP_RESPONDENT_NAME    = "respondentName";

var PROP_RESPONDENT_EMAIL   = "respondentEmail";

 

var currentDoc;

if (typeof(xfa) == "object")

    currentDoc = event.target;

else

    currentDoc = this;

 

// Only on Viewer/Reader older than 9.0, we'll do the following tasks.

var bAnonymous = false;

var bContinue = true;

if (app.viewerVersion < 9.0) {

 

    // show the email/name dialog if not anonymous

    if (!bAnonymous && !currentDoc.dynamicXFAForm) {

        var result = currentDoc.askUserIdentity(currentDoc);

        if (result == null)

            bContinue = false;

        else {   

            var annot = currentDoc.getAnnot(0, METADATA_ANNOT_NAME);

            if (annot != null) {

                var arrProps = new Array();

                arrProps = annot.contents.split(";");

                currentDoc.setProperty(arrProps, PROP_RESPONDENT_NAME, result.name);

                currentDoc.setProperty(arrProps, PROP_RESPONDENT_EMAIL, result.email);

                annot.contents = arrProps.join(";");

            }

        }

    }

   

    // show the select client dialog

    if (bContinue) {

        var result = currentDoc.askEmailClient(currentDoc);

        if (result == null)

            bContinue = false;

        else if (!result.send)  {

            app.execMenuItem("SaveAs");

            bContinue = false;

        }

    }

}

 

// submit the form

if (bContinue) {

    var rawURL = "christopher.fagan@mascocabinetry.com?subject=Submitting Completed Form&body=Instructions to add this form to a responses file:\n1. Double-click the attachment.\n2. Acrobat will prompt you to select a responses file.&ui=false";

    var submitURL;

    if (app.viewerVersion < 9.0)

        submitURL = "mailto:" + rawURL;

    else

        submitURL = "mailto:" + escape(rawURL);

    currentDoc.submitForm({

        cURL: submitURL,

        cSubmitAs: "PDF"

    });

}

 


Action Builder on a Check Box

$
0
0

Why cann't I do an Action Builder on a Check Box?  The "ok" button never is clickable

 

 

How can I show or hide a subform if one of multiple checkboxes is checked?

$
0
0

Hi,

 

I have 8 check boxes and would like to show a subform if any one of the check boxes is checked and hide this subform when the check box is unchecked. How can I do that?

 

The action builder didn't work very well.

 

Thanks

Sou

Calculating total in checkboxes

$
0
0

I am trying to create a pdf form which can calculate the checked boxes predefined values in to a TOTAL field. I tryed to upload the pdf file sample but forum not allowing it. Please refer the screenshot.

Kind regards

 

schoolvenue_booking.jpg

adding dropdown categories to script

$
0
0

Hi ,

Cant seem to find the easy answer.

I have a drop down that when one of the categories (Limbo) is selected it clears out other data in the form.  What I would like to do now is add Limbo 1, Limbo 2, Limbo3..etc to the drop down and have those categories do the same thing as Limbo.

Here is a partial of the script with the Limbo category.

I just don't know had to add in the Limbo 1, Limbo2... to the script

 

Any help would be great!!

 

In the INITIALIZE:

 

if(this.rawValue =="Limbo")

{

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

    {

        if(i == 3 || i == 7 || i == 13)

        {

            xfa.resolveNode(someArray[i]+".NAR").rawValue = 0;

            for(var j=1;j<8;j++)

            {

                xfa.resolveNode(someArray[i]+".rating"+j).rawValue = 0;

                xfa.resolveNode(someArray[i]+".rating"+j).access = "protected";

            }

        }else{

            for(var j=1;j<9;j++)

            {  

                if(j<8)

                {

                    xfa.resolveNode(someArray[i]+".rating"+j).rawValue = 0;

                    xfa.resolveNode(someArray[i]+".rating"+j).access = "protected";

                }else{

                    xfa.resolveNode(someArray[i]+".ratingNO").rawValue = 0;

                    xfa.resolveNode(someArray[i]+".ratingNO").access = "protected";

                }  

            }

        }

       

    }

}

Percentage field format

$
0
0

Hi,

I'm new to livecycle designer and I need your valuable help!

I'm making a form and I need to have some percentage fields, with data entered by filling the form.

These percentage fields should have format 000%. Ex. 005%, 035%, 100%

There should be an error message when the user tries to input a num greater than 100,

Also, I don't know if it could be done, to have a calculator script that summarizes all the input data and verify that the summary is aways 100. Ex. if field1 input=50, field2 input=30, field3 input=20, field4 input=0, field5 input=0, then it's ok!

Viewing all 5571 articles
Browse latest View live


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