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

Filling in forms

$
0
0

I've created a simple form for users to fill in. Its not complex, however, when I send them the form via e-mail or they download it from my website they cannot fill in the fields.

 

Is it static instead of dynamic? I'm sure there is a simple fix.

 

Thanks?


Saving Form Data

$
0
0

Does the adobe form data have to be stored on my hard drive? I need the responses to be available on the server for others to access.

 

I have created several forms that users fill out and submit using the internal server. When the forms are submitted I have to be on the computer I used to distribute the form in order to see the responses. Is there a way that the responses can automatically be saved on the internal server. I currently have to manually save the responses in order for others to have access to them.

change field's layout by selecting DropDownBox value

$
0
0

Hi All.

 

I would like select according value in DropDownBox change layout of a field. For instance, TextField1 has layout parameter X=1in and Y=2in. When I selecte value "Move" in DropDownBox I would like dynamically change layout parameter to X=2in and Y=4in. How it to do?

 

Thanks.

Position of bottom of a table

$
0
0

Hi All,

 

Does someone know how to get the position y of the bottom of a table (the table is dynamic) with formcalc or javascript ?

Or the height of a dynamic table ?

 

Thanks for your help,

Can't save PDF as Dynamic

$
0
0

When I create a PDF I don't have the option in LiveCycle to save it as Acrobat Dynamic rather than Static PDF. I just worked on a PDF that I was able to re-save as Dynamic, but I didn't create the PDF so no idea what I'm doing wrong.

 

I know these direction have been posted before, but I can't get it to work...

 

 

In LiveCycle I open the PDF, go to File > Form Properties > Defaults and change the Target Version at the top of defaults to a later version. PDF Render format drop down menu now has Dynamic XML Form available to select. I also go to Preview Tab and change Preview from Static to Dynamic XML Form.

 

However, when I got to Save As, there is still no Dynamic PDF option, only Static. When I got back to the Defaults Tab in Form Properties, the PDF Render Format is back to Static and is grayed out.

 

Does this have something to do with how I am saving my PDFs?

Issues with grand totals on a dynamic table and other fun stuff

$
0
0

Hello!

 

I have taken old code of mine from several forms and tried to wire it into my current form with little success. I'm having several issues that I'll describe below. Also, I'm happy to share the form but didn't see a way to upload a file. How is that usually handled?

- I have simple math A+B=C in my dynamic table. The calcuate event works in FormCalc but not in JavaScript

- I need to also perform a grand total on this table but I can't get it to work. Like I said, I borrowed this code from another form so I'm guessing that's where my issue is coming from. Here's my calculate event script:

 

nodesLength = form1.itemsList.instanceManager.count; // Get the number of instances

 

this.rawValue = ""; // reset the grand total amount back to zero

 

for  (var i = 0; i < nodesLength; i++) // loop through all the instances

{

nIndex = i;

sSOM = "itemsList[" + nIndex + "]";

oSubform  = xfa.resolveNode(sSOM);

this.rawValue = this.rawValue + oSubform.totalCost.rawValue; // Sum all the "totalCost" fields in the "grandTotal" field

}

 

- I have a radio button let's call it item 22. When Yes is selected sub items A-J need ot appear. I have this working but can't figure out how to make it such that when No is selected items A-J disappear as does the white space they take up.

 

Thanks so much in advance for your help. I actually will be leaving this position on Thursday for a new job and am trying to get as much done before I leave as possible.

 

Regards,

Saskia

 

 

 

 

 

Trouble Downloading LiveCycle

$
0
0

I am trying to create forms with expandable text fields and LiveCycle seems to be the only program available that allows this.  However, every time I try to install the trial (to make sure it will do what I need it to) I get an error. 

I'm wondering... does this program work with Windows 8?  If not, is there another version of LifeCycle available?  Any help would be great!! Need to present this as a viable option to boss Wednesday morning.

Table doesn't appear

$
0
0

LiveCycle ES2 v9.0. I have put a table in my form - fixed size. Some of the cells contain plain text, some drop-down lists. The table does not appear in Preview PDF or when I Publish to Repository and view in Acrobat. The table does appear when I print the document. Why is this happening?

Graham


Script Object Function Email Verification

$
0
0

This form uses a script object to hold a function that runs the email verification code. I haven't yet figured out why the the value of EMAILADDRESS is undefined. I want the textfield1 to equal empty (not the word, but a blank space) if the email address doesn't match "@testdomain.com". Any ideas? Thanks.

 

 

https://workspaces.acrobat.com/?d=wZR1nYuqo*IRbQEypEsbow

 

Greg

Dynamic text field

$
0
0

I am using Livecycle ES 2 & 4. Why does text field content not flow onto new page as required. Subform is set as flowable & allow page breaks within content, table is allow page breaks within content, rows are allow page breaks within content, Cell is expand to fit & allow multiple lines. If the data fills more than a page it flows over footer (which is outside of content area) & won't flow onto new page.

How to force ALLCAPS in Date/Time Field

$
0
0

I have searched in google for this and i found this

 

     // Current Date in MMM DD, YYYY style in uppercase.

     $.rawValue = Upper(num2date(date(), "DDMMMYY"))



but i don't want the current date, i want the date i select in the Date/Time Field.



i tried this but it didn't work



    $.rawValue = Upper($.rawValue)

 

can someone help me?

How can I force users to enter specifc format?

$
0
0

I'm using Livecycle Designer ES2 provided with Acrobat X Pro. 

 

I have a form where the age field is calculated from the date of birth field.  The date of birth field (DOB) is a date/time field.  The age field (Age) is a numeric field.

 

Problem is: when user enters 01/01/01 shows age as 101.  When user enters 01/01/2001 age shows 1.  All patterns are set to mm/dd/yyyy.  Is there a way to prohibit the user from continuing to the next field until the proper format is entered?  I'm open to any ideas which will acheive the desrired outcome.  I'm new to livecycle and javascript.  I suspect an easy solution but I can't seem to find it when searching the forums or LD help menu.

 

I've attached the script for the Age field in case it helps.

 

Age::calculate - (JavaScript, client)

 

var ageInYears = 0;

    var birthDate = new Date();

 

    if ( DOB.rawValue != null )

        {

        // Get current date, and convert user-entered date to a Date object.

        var curDate = new Date();

        birthDate.setTime(Date.parse(DOB.editValue));

       

        // Set initial age, current year - birth year

        ageInYears = curDate.getFullYear() - birthDate.getFullYear();

       

        // If we haven't reached the birth month yet, not yet 1 year older...

        if ( curDate.getMonth() < birthDate.getMonth() )

            ageInYears--;

        // If this month is same as birth month but we haven't reached the

        // birth date yet, not yet 1 year older...

        if ( curDate.getMonth() == birthDate.getMonth() )

            if ( curDate.getDate() < birthDate.getDate() )

                ageInYears--;

       

        // Set age in result field.

        this.rawValue = ageInYears;

            }

Repeating Subforms after applying Usage Rights

$
0
0

Hi Guys,

 

I've been going crazy trying to get this problem solved over the last couple of weeks. I unfortunately can't post the PDF due to privacy issues, but I'm hoping you might be able to point me in the right direction for what might be causing the issue.

 

The Problem

We're running into a problem once the LiveCycle PDF is opened in Acrobat Pro and has Usage Rights enabled. Once we save the PDF, then re-open it, the repeating subforms start misbehaving. For example, when we re-open that document, rather than the subform having 1 instance (as it should be default), it opens with multiple instances of 2, 3, 6 or 20).

 

This issue only occurs once Usage Rights have been enabled on the document, and it's always the same number of instances being repeated.

 

Document Details

The PDF document was created in Indesign then imported into LiveCycle to apply the interactivity. There are a total of 17 pages

There are several subforms throughout the file on various pages. Each of these subforms has a button below them which allows the user to add additional instances of the subform (using the built-in script that LiveCycle generates). Each subform has a minimum count of 1 and maximum limit set to 20. The "initial count" has been set to 1, but it appears LiveCycle removes this value if it is the same as the minimum count.

 

This document does not tie into any database. It is simply an interactive document that allows users to show/hide pages based on the checkboxes they tick on the first page (just changes page visibility). The idea being, the customer can save the form once they've completed the fields required, then email it back, so save functionality is a requirement (which is why we need Usage Rights).

 

What I've Tried So Far

I've done a lot of reading on the subject, and I've seen people mention that subforms with non-unique names or empty subforms can cause the issue. I've checked through the document and all subforms have a unique name and there are no empty sub forms.

 

As a way to trying to narrow down which elements might be causing the issue, I resorted to deleting multiple pages from the document to track down a specific element that might be causing the issue, however, i didn't have much luck with this. The removal of the majority of pages other than the single repeating subform resulted in the subform repeating itself 6-8 times (can't remember specifically, but it previously repeated itself 20 times)

 

Any Ideas?

I know it's a bit difficult without being able to see the document directly, however I'm hoping someone might have a suggestion for anything I may have overlooked. Is it simply Usage Rights screwing things up, or is there potentially something in my code that conflicts with the usage rights. The thing I find most confusing about this scenario is the apparently randomness for how many instances show up. The first subform pre-loads with the maximum limit available, but the rest of the forms most load with only 2 instances (when they also have a max limit of 20 items).

 

I've read a few forums where people suggested Reader Extensions, however according to Adobe's system requirements it doesn't seem to match what we're trying to achieve. There is not database interaction at all - we only require the ability of users to save the PDF locally.

 

If anyone can offer suggestions for where I might need to look to sort the issue out, I'd be most appreciative. Thanks!

Auto expanding

$
0
0

Hi all,

 

I have a flowable form with multiple subforms. Within some of the subforms, I have dropdowns that have some selections that are longer than the field will display. I have found how I can gain some space by making the text field which "describes" the dropdown invisible once a selection is made.

 

I have not found how I can make that dropdown field also expand to fit the selection. Is this possible? I'm using ES2 and am very new to this stuff. Any tip will be appreciated!

 

Thanks!

Form of order of business cards

$
0
0

I created many textfields as name, function, tel, and so on. I set the form object's default Binding property to Global. So far, everything is OK, but I would like create some subforms but, of course, the textfields keep the same data. How can increment the textfields on the new subform (name1, function1, tel1,...). Many thanks.

subform.jpg


How to make required radio button not required if particular checkbox is checked ?

$
0
0

I am only very new to using LiveCycle Designer 9.0 & need help (maybe writing a script?) to make a required radio button not required if a particular checkbox is checked.

For some info on what I am doing ...... I have created a 'Client Contact Form' which I plan to send to all contacts within our database to check their contact details & to confirm if they would like to remain on our mailing list.

Within this form I have a required radio button that clients must check to state that they have read our privacy statement & agree to our us retaining their personal details.  If this radio button is not checked then they can not email the form back as it is a required field.  This I have working OK.

But....  there is also a checkbox on the form that asks the client if they would like to be removed from our mailing list.  If this checkbox is ticked then they do not have to agree to the privacy statement but currently the form will not allow that client to email it as the privacy statement is set as a required field.

Is there any way I can ask it to recognise if the please remove checkbox has been checked & if so make the privacy statment a non required field for this only ?

I have no knowledge of writing scripts at all but am able to view the XML source in Designer.

Any help anyone is able to provide would be wonderfully appreciated.  Cheers

Table row number increase after applying usage rights

$
0
0

I have a table with a bodyrow containing a subform.The initial count is 1. But whenever I publish the form and apply usage rights, I get 6 additional rows of the same table instead of one. I have the repeat option on but the initial count is 1 and not 6.

Has anybody come accross this ?

I am trying to masked an SSN field depending on if yes is choosen or not

$
0
0

Hi All, Good morning. I am working on a form that should display a masked SSN field in the format of XXX-X9-9999. I did come across the following script on the Adobe Designer forum, and apply it to my form creating two fields, and put the code on the exit event, but it is not working. Please what is wrong with the code, and is there any other way it could be done?

 

 

 

 


if(form1.page1.subform1.Maskedfld1.rawValue != null) {   
 var ssn = form1.page1.subform1.Maskedfld1.rawValue;   
 var regExp = /^(\d{9}|\d{3}-\d{2}-\d{4})$/;   
 if (regExp.test(ssn)) {     
 regExp = /^\d{9}/;      if (regExp.test(ssn)) {      this.rawValue = "***-**-" + ssn.substring(5,9);      form1.page1.subform1.Maskedfld2.rawValue = ssn;     }      else {          this.rawValue = "***-**-" + ssn.substring(7,11);          ssn = ssn.substring(0,3) + ssn.substring(4,6) + ssn.substring(7,11);          form1.page1.subform1.Maskedfld1.rawValue = ssn;      } 
 } else {    xfa.host.messageBox("SSN must be in the form 123-45-6789 or 123456789.","SSN Error",0,0);    xfa.host.setFocus("form1.page1.subform1.Maskedfld1");   } 
}

Thanks

 

v/r

 

Tammy

Repeating Table Rows with Check Boxes

$
0
0

I have a table that has a button that the user can add new rows.  I need to know if you can put multiple check boxes in a table cell.  I have to keep the check boxes in the same row.  thanking in advance for any help, cheers

Drag guides from rulers...

$
0
0

Is this possible in LiveCycle ES2 or do I have to input them into the "Guideline Definitions"?

Viewing all 5571 articles
Browse latest View live


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