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

Can't hide field in repeatable subform;only hides first instance

$
0
0

I have a repeatable subform which has 5 fields. I have simple code in the intialize event of the page that the subform is in to hide the 2nd field, but it only occurs in the first instance but code does not work for instances other then the first one. If the subform repeats 4-5 times the field is only hidden in the first instance. I have simple code and even used instancemanager.count & occur but doesnt work here is simple code below

 

Apps.Fields.DateT.presence='hidden';  //adding this in Initalize event only hides first occurance of field DateT but all other occurances field shows up

 

if (Apps.Fields.instanceManger.count>=1)  // Same result as previous, only hides field in first occurance
{
Apps.Fields.DateT.presence='hidden';

}

SimpleSubform_Repeat.jpgDataFilexml.jpg


Font Issue in Form created in LiveCycle Designer ES2

$
0
0

I have a PDF form that was created originally from Word's Acrobat conversion tool. Now I need to add functionality thru LiveCycle ES2 and have imported the form into LiveCycle.

There is a set of text running down the side which indicates it is Times New Roman (In LiveCycle). I have made the changes but have not touched this text at all.  The form is saved as a Static PDF.

 

When opened in Full Acrobat or Reader, the text running down the side is no longer in Times New Roman, but Myriad Pro.  I don't understand why LiveCycle is changing the font on text that I did

not edit at all. 

 

My Livecycle Form Properties are set to Embed Fonts.

 

Trying to understand what is going on with this font and any help would be appreciated as I've racked my brain all afternoon on this trying different things.

 

(As part of my troubleshooting process, I reviewed the original Acrobat form and in Acrobat that same text indicates the original font used for that text was Times New Roman PSMT and if you wanted to edit it, Acrobat would substitute Times New Roman. Not sure if this helps but thought I'd mention this....)

Limit TextField to specifc number of lines

$
0
0

Hi,

First of all the limit to character number is not enough for my case. I would like to make sure that the user won't be able to enter more than 3 lines of text. In addition the field can be either filled in directly or using two other fields + button (as you can see below).

I managed to limit the amount of text that user can enter into the field by using the following two lines of codes:

 

Initialize:
this.maxH = "18mm"; //3 lines

 

Full:

xfa.event.change = "";

 

and checking those two checkboxes in the "Object/Field":

[x] Allow Multiple Lines

[x] Limit Lenght to Visible Area.

 

and in the "Layout" under height:
"9mm" / Expand to fit.

 

This works fine until I use a button that populates this field with content from another two fields:

 

Script in the Click event of a button:

var something = TextField2.rawValue + TextField3.rawValue;

TextField1.rawValue += something;

 

The above two lines "do not care" about the script of TextField1 in the Full event.

Is there a way to check if the "TextField1.rawValue += something;" will cause the TextField1 to overset the text and display an alert instead?

 

The LCD version i'm using is: 9.0.0.2.20101008.1.734229

 

Many thanks for your help

Check Section for Completeness

$
0
0

Greetings!

 

I am running LiveCycle ES3 and am trying to do the following on the click event of the "Next" button referenced below.  Basically, I just need to make sure that at least one piece of data is entered into EACH section, then the user can move on, otherwise they get an error message.  I was able to get it to work just fine if NONE of the sections has data.  However, if they have selected, say, one checkbox in section 3a, but left everything else blank, then no message pops up.  They can't continue, which is good, but the "Next" button simply does nothing at that point (I need it to pop up an error message).

 

 

WHEN

  the "Next" button is clicked

 

IF

  (section 3a: none of the five checkboxes is checked ANDthe text field is empty)

OR

  (section 3b: the text field is empty AND a value in the drop-down list has not been selected)

OR

  (section 3c: the text field is empty)

OR

  (section 3d: the text field is empty)

OR

  (section 3e: none of the six checkboxes is checked AND the text field is empty)

 

THEN

  pop up an error message

 

ELSE

  hide section 3

  display section 4

 

 

Any help would be appreciated.

 

Thanks!

The validity of the document certification is unknown

$
0
0

I have a form that is digitally certified by a signature anchored to the Adobe CA. When the form is first opened, the blue bar appears and states that the certificate is valid. However, after the form is submitted to a server and remerged, the blue bar displays "The validity of the document certification is unknown". However the signature is still valid, as it can be revalidated by going to Sign -> Work with Certificates -> Validate all signatures in Adobe Acrobat XI. How can I stop this from happening?

Data repeats in multiple instances, please help.

$
0
0

Hi,

 

I have been working for days on this form using Adobe Livecycle 9 ES2 and need some help.  I am new to LiveCycle and JavaScript, but as you'll see, I've learned a lot .

 

I have a repeatable subform (GoalSheet) that totals values based on a dropdown:

 

var len = form1.GoalSheet.Table6._Others.count;

var sum = 0.0;

this.rawValue=0;

if (form1.GoalSheet.Table6.First.Funding1.rawValue==1)

{

sum += form1.GoalSheet.Table6.First.Cost.rawValue;

}

for (var i = 0; i < len; i++){

if (form1.GoalSheet.Table6.resolveNode("Others[" + i + "]").fsource.rawValue==1) {

sum += form1.GoalSheet.Table6.resolveNode("Others[" + i + "]").Cost2.rawValue;

}

}

this.rawValue = sum;

 

This works beautifully.  However, when the user creates a second instance of GoalSheet, it doesn't work. 

 

Any suggestions?

 

A link to the form is here:  https://www.dropbox.com/s/94t48cw2ywcxpcq/4-20%20Draft_total_formcalc_ pagination_safetynet%20v126.pdf

 

Thanks for any and all help!

 

Michael

Creating multiple forms, importing Excel data, and form size?

$
0
0

Hello all,

 

I am a relatively new user to the Adobe LiveCycle Designer software.  I currently have ES2 installed on my company computer.  I've been tinkering with the program and searching the community for a few weeks.  I've now decided to actively seek out help in completing my current project.  I have a couple of ideas, but I'm unsure of the program's capability.  I also have minimal coding experience.

 

Project Background

 

I am currently trying to optimize an existing form that my department uses.  This form contains 3 image fields and a 2 row by 6 column table.  We currently use this form by manually inputting data in the open form fields, then save the form, and then print the form to a flattened PDF.  We will produce this form multiple times, where each form will have different data inputted.

 

Objectives

 

The following is a list of objectives I would like to achieve with this new form:

 

  1. The ability to import data from a .xlsx or .csv file into the table with a click of a button.  Additionally, if possible, I would like for the program to create a new form for each row of data.
  2. The ability to copy the form to create an identical form - essentially used to eliminate the redundancy of inputting certain exisitng data from the previous form.
  3. A more efficient way to compile all created forms and convert them to a flattened PDF, instead of printing to PDF for each form.
  4. An efficient way to reduce the size of a form after creating them.  When I open the form template, the file size is approximately 200 kb.  After filling in all the required fields, the form size increases to 10,000-15,000 kb.  I have turned off embedded fonts.

 

I know this might sound complicated, so I will gladly try and clarify if need be.  Attached is an image of our form with comments.

 

Example Form for Forum_print.png

Is this an old version?

$
0
0

I just bought Version 8.2.1.4029.1.523496 from Adobe 2 months ago.

 

Is this the current version (Adobe LiveCycleDesigner ES4)?  I tried to open a sample form and it says to open it, I need a newer version.

 

Nowhere do I see 'es4'


2 Different Text Fields filled based on Drop Down List Selection

$
0
0

Hello,

 

I'm trying to create a form where a phone number is filled into a text box, and an email address is filled into another text box, based on a selection made from a drop down list. I am using CS3.

 

Any help would be appreciated. 

Need help with table reference

$
0
0

I have an expandable table that uses the instance manager to permit the user to add rows to the table. The information i need in each row, however, exceeds the width of the page (contact information for a supplier).

 

I would like to add a second table that pulls in the supplier name from row 0, row 1, row 2, etc. in a field of this second table so i can add some pricing information about the individual supplier. What would be the syntax in thes table2 to add the user entered data from table 1??

How to add multiple attachments to a mail

$
0
0

Hello, 

 

I am working on the standard PDF "Root Cause investigation" (EHHSS_INC_AIF_INV_ROOTCAUSE)". There is a section to attach documents but SAP did not code anything... The user click on the 'send' button and the PDF is attached to the mail...I also need to attach to this mail all the documents that the user has selected.

 

I know how to send the PDF in Javascript but how do I attach other documents to the same mail?

 

try {

  event.target.mailDoc({

  bUI: true,

  cTo: email, //e-mail receiver

  cSubject: subject, //subject line

  cMsg: note //message of the mail

});

} catch(e) {

 

 

Thank you!

 

 

Marie-Josée

Print just what is typed in the text field without printing the text fields

$
0
0

Hello,

 

I'm trying to print a form after I filled in the text fields, but would like it to print just what I typed in the field, not the text field and the color in the text field. I use CS3.

 

Any help would be appreciated!

xml output for repeating field

$
0
0

Hi there,

 

I have a repeating subform with only one text field. It is for an account name that could be up to five lines long (36 character limit each).

 

We are now working to pull the data entered by our users via xml file using a submit button. I expected to see each instance in the xml with a name, then an instance indicator but all I see is multiple instances of the same field name.

 

There is no way to tell which is Account Long name 1, account long name 2, etc so we can map each instance to the appropriate field in another system.

 

My expectation was to see the following in the xml.

 

Account_Long_Title[0]

Account_Long_Title[1]

Account_Long_Title[2]

Account_Long_Title[3]

Account_Long_Title[4]

 

Default count is 1 instance. New instances are added by the user with a simple button. script below.

 

var oSubform = xfa.resolveNode("Long_Title");

var oNewInstance = oSubform.instanceManager.addInstance(1);

xfa.host.setFocus(oNewInstance.Account_Long_Title);

 

Can anyone help with a suggestion to help identify each instance in the xml output? The data binding is set to name. Thanks!

Need Help adding a time delay in a script

$
0
0

Good Morning,

 

I'm doing a relatively simple script that is changing what is basically a background graphic on a part form. I need the script to trigger off a click event of a button, which will change the presence of a picture to visible, wait say 3-4 seconds, then change it to hidden and make another picture visible. Think of it like an advertisement prompt.

 

I'm new to LC and honestly do not know how to do the time delay. I know how to build the object presence changes on the click event and right now I just have a button that says "Continue" that the user clicks to advance to the second part of the script. Any assistance would be greatly appreciated!

 

Thanks!

 

Dave

Adobe LiveCycle Form Not Saving Data

$
0
0

I have designed dozens of Adobe LiveCycle forms and have extended rights (enable usage rights in adobe reader).  My problem is that sometimes the form is not saving the data for end users.  One of my end users even updated Adobe Reader, but still nothing is working and he is becoming increasingly frustrated.  Any other suggestions.


Does Adobe will do re-alignment for me automatically so that space will be saved/adjusted?

$
0
0

Hello

 

I have developed My_Form (around 100 fields), its using for 20 different entities, each entity has its own specific fields greyed out / editable attribute, users are using it, well.

 

But, now, my company saying that forem's look & feel is not good bcz of grey / editable attribute determination based on entity, hence they want to have HIDE all the greyed out (non-relevant) fields instead of greying out and keeping on the form and making the form as messy look, just for example, its as below,

 

11.jpg

 

=========

 

2.jpg

 

============

 

33.jpg

 

=========

 

4.jpg

 

===========

 

5.jpg

 

My company is lookig for a

 

1) Instead of grying out we need to hide so that look & feel is good

 

Pls. let us know

 

1) is this is feasible?

 

2) If so, I guess, I need to go with a new form with FLOW patttern, right?

 

3) Does FLOW patttern meets our requirement, I mean, if I hide a object (input field, Drop down, subform) via JS code does Adobe automatically adjust / shrinks space and realign the fields in a good patttern (which is our goal)?

 

4) Does adobe has this feature that is we programitically via JS if we hide any object does it automatically REALIGNs the objects in a readable pattern so that look & feel will be good?

 

5) Any suggestions pls.?

 

Thank you

 

1)

Can I create subforms dynamically?

$
0
0

Hello,

 

I need to develop a interactive form, wherein user enters the data, its as below,

 

Insiance of AIF.jpg

 

As we saw the requirement is as below,

 

1) Place a push button on the form, here its just simple a + symbol

 

2) When user clicks it as a 1st time, a new subform / set of fields need to be added / visible to the form so that user will enter his/her 1st kid details

 

3) If user clicks 2nd time, then, a new 2nd subform / set of fields need to be added / visible to the user under the 1st kid details section

 

like that same, user can add upto 20 instances / kids details / subforms, I mean, its dynamic, user may enter zero / nothing or 3 or 5 or 10 or 20, not sure, max. limit is 20

 

Pls. let us know

 

1) is it possible?

 

2) If so, by chance do you know any white paper, demo, tutorial, article, sample in this perspective so atht I wil go thru it and develop?

 

3) Any suggestions pls.?

 

Thank yyou

Help learning LiveCycle.

$
0
0

Where can I get a manuel and some sample forms so I can learn LiveCycle. I have programed in the past but I need help with this system.

Mortlightman@comcast.net

Adobe form connecting to Outlook address book.

$
0
0

Hi there,

 

I would like to create an adobe form and have users be able to send it to anyone they like within the organization. Is it possible to have a submit button that when clicked on opens up the Outlook address book so they can choose the person they wish?

 

Thank you.

Companies or Individuals who will create html5 forms with ES4 ?

$
0
0

I work for a business who has many forms that we would like changed from PDF or word document to a dynamic Fillable PDF form with Livecycle ES4 - expandable rows, basic calculations, that sort of thing.   Nothing too advanced I don't think but still beyond me.   Livecycle is not my area of expertise and i thought instead of spending hours upon hours trying to learn the software perhaps there are people out there for a good price who would do it for us.  We need these forms to be compatible with computers as well as mobile devices.  

 

Do any of you happen to know of any companies or people who would be capable, trustworthy and reliable for this?  I am located in Canada (Hamilton,ON) so would prefer companies in our country but not a dealbreaker.

 

Thanks,

Dave

Viewing all 5571 articles
Browse latest View live


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