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

Page Flow and Dynamic Tables

$
0
0

Hello all,

 

I have a form that works great except for one issue. I have a table that can grow dynamically with a button that adds rows. This is for a permit which can have up to 30 to 40 vehicles. I need to have the table grow to the next page. It works great on page two but if the table pushes forward to page 3 the table disappears. I have tried changing the pagination options for the subform but I don't think I am choosing the right combination. I have included a link to the form, any help will be greatly appreciated.

 

Thanks in advance.https://app.box.com/s/06feoxe2h8fnjqyfgg1pqru152gpawvv


Need to count cells >0 from multiple tables and display Total Count

$
0
0

I created a performance evaluation form that has multiple tables (6) (all have two columns with the last row/column of each table a total of possible points for that section).

At the end of the form I want to be able to count all the 2nd columns (not the totals)  that are >0 and display that number.

Any help would be greatly appreciated.

"The som expression '$. for the dataRef specified on field 'field', resolved to an incompatible...

$
0
0

Node type of dataGroup, is what follows that error.

 

It's strange, every single field is mapped just fine, it only happens with a particular one.

 

Any ideas?

Different behaviour between fillable tags

$
0
0

Hello,

 

I'm wondering if someone might be able to provide some insight on this issue, as the contact support was unable to help.

 

We are using our own software to generate fillable tags on a pdf form.

 

For some reason, after filling our tags, some of the tags do not display the French special characters, while most do.

 

In the example below, we have 2 tags that are exporting the same information "Frère/Soeur". In the first tag, the special character is not displayed until I select the field on the form. In the second tag, the special character is always shown. Other than the position on the screen, and the name of the tag, there is no difference between these two tags and they are populated in the exact same way.

 

 

Does anyone have any suggestions surrounding what this might be?

 

Thank you.

Remove radio buttons from group

$
0
0

I am creating a form in Livecycle es4 that has several rows of of questions, each row requires the user to answer Yes, No or N/A. I would like to use radio buttons to avoid multiple checks on one line.

I created the first set of 3 buttons and formatted them to fit the form, then I made an individual copy of each by going to: Edit > Copy Multiple, in the Copy Multiple dialog box I selected Place Above in the Vertical Placement & No Horizontal Movement in the Horizontal Movement. A single radio box was added above, I repeated this for each of the 3 buttons, here is where the problem is, all 6 buttons are tied together instead of 2 individual rows of 3 buttons. Can the two rows be separated or is there a better way of doing what I want to do?

Any help will be appreciated.

flatten dynamic pdf so fields are not editable

$
0
0

I've used LiveCycle to create dynamic evaluation forms which are to be filled out by evaluators who only have Adobe Reader. After creating the original dynamic form in LiveCycle, they were opened and re-saved in Adobe Pro DC > Save As Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save) so the entered data can be saved in a completed form.

Is there a way to flatten the dynamic forms so data in fields is not able to be edited once the forms are completed by evaluators so the completed forms can be emailed to other people and not be changed?

dynamic superscript for values in TextField

$
0
0

Hello,

I wanted to add a superscript dynamically to the values comes in sample xml. I cannot hard code the superscript in textfield because the values populated from sample xml. is there a way to achieve this?

I have see few posts about super script but they did not really help my requirement. I am attaching the screenshot how I need the output to be.

 

All the data (product name, category, code ..) comes from sample xml. I need to add superscript to Product based on some logic.

I tried something like making the textfield as Richtext and append the superscript but no luck.

Textfield.rawvalue = xfa.resolveNode("xfa.record.main.Productname").value + <sup>1</sup>

 

Any help please?LC.png

 

Thanks

Krish

Why do some subforms flow properly and the others do not?

$
0
0

All subforms are set to flow and break at the end of the page. As you can see, not all subforms are flowing and they all have the same settings. It's also annoying that no one at Adobe can address any issue with Livecycle.

 

 

[Moved from the non-technical Lounge to Livecycle designer... Mod]

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]


Duplicate radio groups

$
0
0

I have an inspection form that has 53 questions, each has a Yes, No & N/A option. I have create a radio button group on line 1 that is working correctly. Some additional information about the form.

A 5x53 table was created, see the image below.

Table Image.png

Is there a way to create the other 52 radio groups without having to create them manually, I tried a simple Copy & Paste but it creates a radio group for each cell in the row.

Checkbox won't start as "invisible"

$
0
0

Hi Everyone,

I'm new to the forums so if I've posted this in the wrong location, I apologize.

 

I'm working on an interactive pdf and I need a bunch of check boxes to show as being "visible" or "invisible" depending on what has been typed into a text field.  I'm able to get that to work, however I can't seem to get the check boxes to start off invisible.  If I manually change the presence of the object to "invisible" my code stops working and the checkbox stays invisible all the time.  Below is my coding.

 

This is coded in the "click" function of a button.  I've tried it on my main page under the "calculation" event.  The coding works the same but makes no difference to the starting presence of the check box.

 

if (adminpass == "") then

occ1.presence = "invisible"

elseif (adminpass == "123") then

occ1.presence = "visible"

elseif (adminpass == "off") then

occ1.presence = "invisible"

elseif (adminpass == "0") then

occ1.presence = "invisible"

endif

 

What each thing is.

adminpass:  This is a text field for the user to input a password (password is 123 for the time being)

occ1:  This is a check box that interacts with other aspects of the pdf.  There will eventually be a total of 60 checkboxes.

 

I've imported artwork and have created forms and things over top of this artwork.  As I understand it, there are limitations when you import artwork.  If there is any other info required of me, please let me know.  Any assistance would be greatly appreciated.  Thanks in advance!

 

Jared

Adobe liveCycle Designer - Sort Table Content Using Javascript

$
0
0

Hello Gurus,

 

I need an urgent help here.

 

I am doing form development on SAP business By design and I dont have the access to backend data. So, I have to do everything in javascript.

 

The requirement is to sort the content of the table to be printed and then we need to add sub-total row after a set of items end.

 

So something like this.

 

  

Document #Item #Amount
10011100
10012200
10013300
Subtotal600
10021100
10022100
10023300
Subtotal500

 

Now, in the 1st script I have written a logic to loop on the table

- Compare current and next entry. Swap if 1st>2nd. (I am just replacing the content of rows at index 1 and 2)

- Now I get a sorted table.

- On the sorted table I have written script to add amount field but I found that in the second loop (it is iterating on unsorted data)

which means that content was not bounded to node, it just changed at runtime. Although getting printed in the sorted manner.

 

 

Please help on this issue.

Browse button in Adobe Livecycle designer ES 8.2

$
0
0

Hi All,

LiveCycle Designer

I'm trying  to add attachment in PDF from using Adobe Livecycle ES 8.2 designer tool.Used the custom script in button click, but it's not working. Please someone quickly advise me and share the custom script to add attachment in button click event.

 

Script is

  var annot = this.addAnnot({

        page: 0,

        type: "FileAttachment",

        point: [500, 500],

        noView: true,

      author: "Attachment"

    });

    annot.cAttachmentPath;

 

 

    var attachmentObj = annot.attachment;

    if (attachmentObj !== null) {

        app.alert("Add this file: " + attachmentObj.name);

        var l = this.getField("lst1");

        l.insertItemAt(attachmentObj.name, 0);

    }

 

 

Script enable Attachment in PDF using liveCycle and users can enjoy the function with Adobe Reader?

$
0
0

Hello Everyone

 

I have a question on attachment please.

 

I am current working on a PDF that requires users to attach multiple files (e.g. Invoices). After reading so many posts, I still confuse about is that even possible.

 

This PDF form is created from LiveCycle but all other users are using adobe reader. Examples I found online seems only works with Acrobat and the function can't even fire up in adobe reader. If I would like to use the comment attachment function in adobe reader, the form must be flatten first and that will defeat the purpose of using PDF Form.

 

Ideally, it would be great if I can combine the pdf form and the other pdf files instead of attaching it, but i don't think it will work for users when they are using adobe reader.

 

Does anyone have an idea on how can I program the attachment function using LiveCycle designer, that allow users to attach and retrieve in their adobe reader please?

 

Many Thanks.

 

----- Codes I found that is close to what I wanted to do, but does not work on adobe reader-----

 

//==Attach==

var myDoc = event.target;

var sFile = "myFile" + NumericField1.rawValue;

myDoc.importDataObject({cName: sFile});

var myDataObject = myDoc.getDataObject(sFile);

 

var sFileName = myDataObject.path;

 

ListBox1.addItem(sFileName,sFile);

 

NumericField1.rawValue = NumericField1.rawValue + 1;

 

 

//==Retrieve==

try{

var myDoc = event.target;

var sFile = ListBox1.rawValue;

 

myDoc.exportDataObject({ cName: sFile, nLaunch: 2 });

}

catch(e)

{

app.alert("There are no files to open");

}

 

 

//==Remove==

Untitled.#subform[0].Button3::click - (JavaScript, client)

try{

 

var myDoc = event.target;

var sFile = ListBox1.rawValue;

 

app.alert(sFile);

myDoc.removeDataObject(sFile);

 

ListBox1.deleteItem(ListBox1.selectedIndex);

 

NumericField1.rawValue = NumericField1.rawValue - 1;

}

catch(e)

{

app.alert("Error in removing document");

}

xfa.layout.relayout();

importDataObject

$
0
0

Hi all,

 

I have a form, that uses a button to add attachment to form with specific index. Now with reader 9 the functionality seems to be awkward.

Correct me if I am wrong, but If I use this code:

 

var myDoc = event.target;

myDoc.importDataObject("test");

 

a file should be added to the PDF form with index test. Now if I call the code one more time, I would expect the attachment to be replaced (worked with reader 8), however with reader 9, two attachments are present and only one has the "test" index.

 

Any ideas what to do with this? I want to avoid indexing based on number sequence.


Thanks

 

Jan

Livecycle Designer Button

$
0
0

I have a button that launches a dynamic url (text field comprised of text and form field values).  When the URL becomes too large it becomes cropped and the site doesn't load.  I'm thinking the button is launching the URL before pulling in the entire rawValue of the field.  Is there any way to have it pause to fill the "buffer" before it attempts to call the URL?


How do I restrict a numeric field to an exact amount of digits, using Script Editor?

$
0
0

I am creating a form where I have a couple of fields that require an exact number of digits, no more and no less, for accurate reporting purposes. We have to report certain data to the government and this data is audited by the government on a regular basis--if the reported data does not match documentation on file, we have a "hit." In an effort to reduce "hits" caused by improper completion of the form, I'm looking to set these two fields so that an exact amount of digits must be input.

 

The two fields fields I'm concerned about are the County Code and the Tract Code. These codes are generated when we input an address into a government website, and what we report has to exactly match what the website generated. The County and Tract Codes will now have 5 and 11 digits, respectively--however, this is a drastic change from the 3 and 5 digits that these codes have been for years and years. I would like to eliminate the possibility of staff inputting the "old" code formats.

 

I have been able to use the Display, Edit, and Validation patterns in order to set a "maximum" amount of digits, i.e. for the County Code, no more than 5 digits can be entered: num{zzzz9}. This eliminates half my problem. But the other half of my problem is that it allows for less than 5 digits to be input.

 

I've been able to figure out that my solution lies in the Script Editor feature. However, I'm not computer savvy enough to figure out the scripting, in order to accomplish setting a "minimum" number of digits. What Event should have the script (Enter, Exit, Validate are my best guesses)? Should the language be FormCalc or JavaScript? And most importantly, how exactly should the script read?

 

I've been Googling for hours trying to figure this out, but have had zero luck--HELP!!

Auto populate field from field in sub form

$
0
0

Hello all,

 

I was able to get great help from a previous question I uploaded. I have a new question regarding auto populating a field from the value of another field that is on a different subform. I need to get the value of the CompanyName field plus some additional plain text into the subject line of the email submit. There is a field on the subform EmailOptions called fldSubject that controls the subject line text. So that when the receiver of the form gets the email with the attached PDF, the subject line will be the company name and the title of the form. The email submit button and options I was able to find within the Adobe forums as well.

 

Link to Form

https://southamptontownny.box.com/s/szkxzrkwbast8cgdquv59qr7w82fdftl

 

Thanks in advance.

2017-12-04_AutoPopulateFieldAcrossSubForms.jpg

Protect PDF against editing (Password Encrypt PDF Service)

$
0
0

I've done some research and found out that I can protect flattened PDF against editing (by Acrobat for example). The encryption will be implemented using Adobe LiveCycle Workbench Service Password Encrypt PDF.

 

I'd like to know if there is better or another way to lock PDF Editing for example using Rights Management, and what is the difference.

 

Also, if you could point me to sample code/process where I can perform such process using Workbench Service Password Encrypt PDF or Rights Management.

 

Current Situation: The current process will convert the filled XDP Form to a flattened PDF, and after that, we want to ensure that the user cannot use Acrobat to modify the PDF.

 

Appreciate your help.

 

Tarek.

Browse button using java script

$
0
0

Hi,

 

I trying to create Browse button in PDF form using adobe livecycle designer ES 8.2. Used the below script. With help of this, got the filename only.

 

var myDoc = event.target;

var sFile = "myFile";

Var a=myDoc.importDataObject({cName: sFile});

var myDataObject = myDoc.getDataObject(a);

var sFileName = myDoc.path;

 

I want to get the file data which present in attachment and convert that to XML format.

 

Please help me.

Physically sign a form

$
0
0

I created an inspection form using ES4 that I would like to have the end user sign with a written signature, using their finger or a stylist, can this be done? I have found the digital signature field but I would prefer a written signature, then I can email the form.

Any help would be appreciated.

Thanks

John

Viewing all 5571 articles
Browse latest View live