Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms

How to enable a forms made on Acrobat Pro DC generate dynamic bar-code on free acrobat reader

$
0
0

How to enable a forms made on Acrobat Pro DC, able dynamic bar-code to work on free acrobat reader.

 

I made form on Acrobat Pro DC and insert fillable fields. I also include a dynamic bar-code. Nevertheless, in the free acrobat reader, the bar-code disappear when someone start to fill the form. The bar-code remain disappear even after fill in and saving of that form.

 

How to solve this issue?

Does Pro DC require a Bar-code Reader Extensions? if yes, link that product please.

forms.jpg

Reader Extensionsforms.jpg


LiveCycle and Microsoft Access

$
0
0

Good afternoon Sirs, I'm new here ... I need some help.

Use a PDF created without ridding the mascara for data entry in Microsft Microsoft Access.

Add file/attachment button showing file name next to it (Livecycle Designer ES4)

$
0
0

Problem:

I can't seem to figure out how to add an attachment/file button that will also populate the file name of the attachment to the right of it.

 

Goal:

I'd like to place multiple "add attachment/file" buttons throughout different sections on the form for supporting documentation. Wherever those buttons are, I'd like to ensure that the file names of each attachment are visible next to the button, on the form.

 

Further Information:

Currently, I have a standard "add attachment" button on the bottom left corner of my form on the Master page so that it's showing as an option for each new page added but that only makes things a bit more complicated when trying to reference the attachments. I believeeee my form is considered a dynamic form (the content is set to flowed/western text throughout) so that the fields can expand and won't overlap. The form is going to be utilized between different area's at different times. If I can ensure the add attachment or file button can be embedded anywhere on the form containing the file name(s), that'd improve the use of this form and process tremendously!

 

If needed, I can attach the form so that you can see what it looks like. Each time I've googled this, there's not really a great reply because it looks like most are just using acrobat. I'm newer to LiveCycle and am self-taught. So any assistance would be amazing!

 

Thanks!

Christy

Reset repeating subform or table rows to initial count (more than 1)

$
0
0

Hello, all;

I have been working on a LiveCycle form that called for a repeating subform that works well (and another project that involves repeating table rows). Then I realized that if the user hit the Reset button, the subform(s) would remain at their current state/however many instances they had added or deleted up to that point.

 

I followed this post (https://forums.adobe.com/message/6161273#6161273) that managed to get the subforms reset back to 1 instance, but my form's initial state includes 3 instances of the subform that the user begins with. How can I modify the instance code to reset the initial count back to 3 instead of 1?

 

I appreciate your help.

Blank Form

$
0
0

Created a form in Livecycle ES3. Saved it as static and fillable. Opened in PDF expert. Works fine. Filled in the form on the mobile device and emailed it. No issues. Open the form in Pro or DC it is blank on the desktop, nothing there. But can see the form in preview with no issues. Any suggestions.

Header Row Shading - Multiple Pages

$
0
0

I am using a drop down to allow the end user to select from a series of colors in the drop down that will change the header row color.

 

The code I have now changes the color as it should but does not change the color for the header when it appears on any pages other than the first instance.

 

Even when the header is already visible on pages 2 or 3 it still will only change the first instance.

 

The code I am using now is:

Form1.Subform42.Table6.HeadeRow

Cell1.border.fill.color.value = "204,255,204";

 

I have tried changing the cell to a text field with global bindings which returned the same results. I have also tried changing header row only and not including the cell, same results.

 

Any help is appreciated.

Issues with Page Breaks in LiveCycle

$
0
0

Hi,

 

I'm fairly new to Adobe Livecycle. I just created a form with an expanding text field.

 

I wrapped the whole form in a Flowed subform. The items that I want pushed down to the next page are Positioned child subforms.

 

When I test it out, everything works expect for the page breaks. It just flows off the page without creating a new page.

 

I know it's not an issue of the Allow Page Breaks box not being checked because it automatically checks itself when I choose the Flowed option.

 

Any help would be greatly appreciated. Thanks in advance!

Finding and unchecking all checkboxes

$
0
0

I have a form that has a radio set of options. Based on what you select, a table of different checkboxes appears. Because you're only supposed to be able to select one of the option sets, and because when you export the form to XML, it exports *all* the data, even if you checked options in multiple sets and hid them later, I want a script that goes through and unchecks *all* checkboxes. I'm struggling.

 

The hierarchy is as follows:

 

- Subform: Causes (a radio set, so you can only select one)
- Subform: Subcauses (the different option sets live here)
   - Subform: Subcause 1
       - Table of checkboxes
   - Subform: Subcause 2
   - etc.

 

So when the user clicks on one of the radio buttons in the "Causes" subform, the script needs to start at the "Subcauses" subform and traverse all containers under it looking for checkboxes. If it finds one, it should uncheck it. Here's what I have now. It's being invoked properly, but the inner loop isn't finding checkboxes. Any help greatly appreciated!!

 

function traverse(oParentNode) {
      var allChildElements;
      var intNumElements;
      var currentElement;
      var i;
      var j;
            // Get all occurances of the parent element
      intNumOccurances = oParentNode.all.length;
            for (i=0; i < intNumOccurances; i++)      {
           oCurrentParent = oParentNode.all.item(i);
                      // Get all the child nodes of the parent element
           allChildElements = oCurrentParent.nodes;
                      // Total number of elements in the object
           intNumElements = allChildElements.length;
                      // Loop through all the child elements
           for (j=0; j < intNumElements; j++)
           {
                currentElement = allChildElements.item(j);
                                //If it's a field, process
                if (currentElement.className == "field")
                {
                     if (currentElement.isPropertySpecified("ui") && currentElement.ui.nodes.item(0).className == "checkButton")
                     {
                          currentElement.rawValue = 0;
                     }
                }
                //Otherwise recurse
                else
                {
                     traverse(currentElement);
                }
           }
      }
}

How to use AssetExportService for import/export in LiveCycle

Dynamic Forms - Fill & Sign

$
0
0

My question is related to dynamic forms and the ability to utilize the fill & sign capability with a drawn/scribble signature.

 

It is required in our organization to retrieve a scribble signature on a form vs. an electronic digital signature.  I know with Dynamic forms the only way I can get this to work is by having the user Print the form using ADOBE PDF, which saves the form in a format where "fill & sign" can be used to draw a signature.  Unfortunately this causes a number of extra steps for our users.  Once the form is generated from an XML feed they have to click on File, Print, Select Adobe PDF, Save the form to their desktop and then click Fill & Sign to utilize the drawing signature.  Note: this option also requires the users have a license for Adobe Acrobat Standard Pro or DC Pro which is an added expense.  Additionally, the form is saved to extend the appropriate reader capabilities.

 

Question: is there any option to utilize scripting at the time the form is generated to allow for the user to utilize the drawing signature capability within fill & sign?

 

Any feedback would be appreciated.

 

Thanks!

Can a submitURL in a custom profile be dynamic?

$
0
0

I have a custom profile that is called and it calls a custom process which redirects data to the appropriate wsdl for database posting.  This works well. Currently the process gets updated correctly with the endpoint of the new server it is sitting on.  However, the profile retains the previous server's submitUrl.  My question is when the "profile" is moved from one environment to the next can the submitUrl be automatically set to new endpoint or does this have to be reset manually for each environment?

Form blank except for signature fields when user opens in Reader

$
0
0

I created a form in LiveCycle. A few days ago, the users could open it and fill it in. I made some minor changes. The most significant changes I made were to add a second page on a second master (instructions for completing the form oriented differently than the form), and to add a third signature field. Now, when I send it to someone to test, the page is blank except for the signature fields at the bottom. However, the signature fields aren't active. Putting the cursor over the form and clicking on it, seems to highlight the other fields. It creates ghost-like images of the objects. However, nothing is active. I have all fields set to visible. The form is set to dynamic. The form is not set to lock after any of the signatures are added.

 

I've been trying to fix this for two days. I would appreciate any help.

 

Thank you.

 

I decided to go back and delete the second master. This fixed the problem. Now I need to understand how a second master could have made all objects invisible.

http Submit Button works in LiveCycle PDF Preview but not on form

$
0
0

The http submit button I added to my dynamic form seems to work when I click on the PREVIEW PDF within LiveCycle but when I close out and open the PDF form it will not work. The two that don't seem to work are Microsoft documents, could that be the issue? The other ones in the form work fine, the ones that are PDF's.

 

Is there a way to make these work?

 

THANK YOU!

Consolidate the rows based on duplication in some of the columns at run time

$
0
0

Hi Guys,

 

We have a requirement to merge the rows based on the model numbers and club specifications of all rows of a single model in a single row as shown in the image.

 

 

In the above image in Table 1, we have two different product models with different Specifications. We want to delete/hide the rows of which model number is same and show up the "Ram Size - Qty" combination (of all the rows with same model number) in a separate line as shown in Table 2. I have tried it using JavaScript in Adobe LiveCycle designer but got stuck at the initial stage itself. Even I'm unable to hide the repeating rows(for ex: here line no:2,3 and 5). Please help us with issue.

JBoss fails to start when deployed in Cloud enviroment

$
0
0

Server specifications:

  • Windows Server 2008 R2 Standard
  • Processor: Intel (R) Xeon(R) CPU 2.6GHz 2.60 GHz
  • Installed memory (RAM): 52.0 GB (32.0 Gb usable)
  • Systems type: 64-bit OS

 

Adobe Experience Manager forms v 6.1.0

 

We have cloned our locally hosted server and deployed to a 'cloud server'. When we try to start the 'JBoss for Adobe Experience Manager forms' we get the following error:

 

ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.network.public: org.jboss.msc.service.StartException in service jboss.network.public: JBAS015810: failed to resolve interface public

    at org.jboss.as.server.services.net.NetworkInterfaceService.start(NetworkInterfaceService.ja va:97) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl. java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746 ) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]

    at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]

 

Any ideas how to solve this issue?


Restrict editing of Livecycle Designer Forms

Allow a break in a form via JavaSkript

$
0
0

Hi all,

 

I have got a problem regarding breaks in a form. I concentrate data in SAP with ABAP in a table (several pages). And some parts of the table should't be broken in the form (at the end of the page). In ABAP I build a flag to query that via JavaSkript (in the layout).

 

If flag = X --> the rows can be broken at the end of the page 

If flag = ' ' --> the rows shouldn't be broken at the end of the page --> this rows should be located on the next page

 

How can I solve it with JavaSkript?

 

Thank you for your efforts.

How do I disable/enable Document Restrictions in my form?

$
0
0

Hello,

 

I've designed a form and I am wondering where can I disable some of the restrictions that are in place when one saves the form. I see this screen of the "Restrictions Summary" in Adobe Reader I wonder where in LiveCycle can I turn those on or off.

 

 

CaptureIssue_20181127_pdfrestrictions_IssuePDF.PNG

programmatically populate a XFA PDF with fata from an xml/xdp file

$
0
0

-I have a pdf with xfa form and i want to populate it using C# or node js.

- i have tried using iText and some other libraries but i can fill some fields; i cant fill 2 dropdowns thata re dependent to each other

 

Is there an sdk or an api that can help me fill the pdf?

 

More info: the pdf has 2 buttons: import and export from XML

Forms Created in Adobe LiveCycle

$
0
0

I created plenty forms using Adobe LiveCycle and I am now no longer to edit those forms as it says I must do so using LiveCycle but that is no longer one of my programs.  I have one form in particular that needs some text edits.  This form also has an XML table embedded in it.  I know I can print the form to PDF then make the text edits but how do I get the XML table to remain functional?

Change the Fill Color Based on Expiration Date

$
0
0

I am trying to make a field change its fill color based on its expiration date. I have tried to figure out a way to do it using the action builder to no avail.

 

Example:

User enters expiration date in the date field

 

if the date is greater than 90 days out the fill color stays white

 

if the date is greater than 60 days out but less than 90 days out it turns green

 

if the date is greater than 30 days out but less than 60 days out it turns yellow

 

if the date is less than 30 days out it turns red

 

I was easily able to make this work in excel using =XX>TODAY() + 60 and a quick format change but livecycle is proving to be much more difficulty. Obviously I could stick with excel but PDF is so much cleaner IMO.

 

Any help would be greatly appreciated.

Fields value is changed when i restart document?!?!

$
0
0

So I have a timesheet document that we have been using for ages with no issues. I input the information, then save and exit. When i open it back up, the dollar amounts that had been previously entered are back to $0.00. I have never made any changes to this document whatsoever, its all just numbers that get added up and totaled at the bottom. The fields that are doing this have no custom scripting, and the scripting that totals i will post below. It just strikes me as weird that it worked with absolutely no issues until 3 weeks ago.

 

form1.#subform[0].NumericField1[34]::calculate - (FormCalc, client)

 

 

$= NumericField1[28].rawValue + NumericField1[25].rawValue + NumericField1[24].rawValue + NumericField1[21].rawValue + NumericField1[20].rawValue + NumericField1[17].rawValue + NumericField1[16].rawValue

 

Anyone ever had this issue, and any suggestions on a fix? PM me if you would like me to e-mail you a copy of it to look at. This issue is unfortunately going to impact about 30 employees so I need to get this figured out.

 

 

Thanks!


How do I make a HTML Form? - URGENT HELP!

$
0
0

Hi, I have ES4 (I am just teaching myself all aspects at the moment so bear with me please!)

 

I finally finished a major form, and uploaded to our website to test.  As this will be viewed by many different people, I cannot decide how they will open it (e.g. which browser they will open it in etc.)  I opened it in Internet Explorer and all seems fine.  And then I attempted in Google Chrome, which resulted in the Please Wait... screen.

 

I thought maybe I could bypass this by forcing it to download by changing the HTML in the website back end using:

 

<ahref="/files/adlafjlxjewfasd89asd8f.pdf"download="expenses.pdf">Download Your Expense Report</a>

 

Great! It downloads, but still tries to open in Chrome so still doesn't work.

 

I have read many posts saying that in ES4 I can "make my form in HTML"  But I don't quite understand how to do this or even where to start.  Is it possible for someone to give me some basic instructions on how to get started?  I am a quick learner and can usually figure things out on my own, but I don't even know how/where to go to start it.  And would I need to make my form all over again?

 

Ideally would there be another way to bypass it? e.g.  Forcing the download like I had done, and then also forcing it to open in the "system viewer" instead of through the browser?  Any suggestions would be very much appreciated please!

 

https://www.ebminsurance.com.au/newsletter-ebmatwork/issue37-compliance-copy-2.php

What would be the correct object reference ?

$
0
0

Hello, I have this error in my form:

 

TypeError: form1.tabelAnexa.Row.all.item(...).prod.suprNimp is undefined

15:XFA:form1[0]:tabelAnexa[0]:Row[1]:veg2[0]:veg1[0]:prod[0]:oRegularizare[0]:click

 

This is the code that gives the error:

 

form1.tabelAnexa.Row.all.item(i).prod.suprNimp.rawValue = "";//

 

 

I think it is a reference problem...what would be the correct object path ?

 

Thanks

Number of page where placed row in dynamic table?

$
0
0

Hi.

 

Is there a possibility to identify - on which page lies some row in a table?

Table is filled dynamically - I'm using LiveCycle with SAP and fill table from source code - and there is not obvious - how much data will be placed in the table.

So table spans across several pages.

 

Also I've got the table of contents with links to some rows. Links are working well. But I need to show - on which pages lies such rows.

And don't understand how to do it.

 

p.s. Additional problem - in dynamic table standard script like this.rawValue = xfa.layout.page(this.parent); shows absolutely strange results - showing for example different page number for rows which lie on the same page. And to the end of the doc showing number significantly greater then real page qountity.

 

Any suggestions?

Thank you.

Suggestions for changing field color

$
0
0

Okay so let me describe the form and it's purpose so this all makes sense. Basically it is a monthly inventory list that personnel enter the expiration date of numerous items with the intention of making it easy for our supply person to order the stuff that is going out. Mind you that there could be 100+ items to do this for on a document. The company is 501(c)(3) and can't afford to buy some expensive inventory program to do this stuff, and we are in the medical profession so this is beyond "out of our wheelhouse" so to speak. I would appreciate any thoughts that you may have.

 

So at the top if have "Today's Date" which is "DateField1" and the personnel's name.

 

I have it structured in a table that shows the name of the item "Cell1", the amount that should be there "Cell2", the number they have on hand "Cell3", the expiration date of that item "DateField2" and the last column is a numeric field which is "NumericField2" that is calculated to show the number of days from today to the input expiration date using

 

form1.sf1.Table1[0].Row2.DateField2::exit - (FormCalc, client)

 

 

var datePattern = "MM/DD/YYYY"

var startDate = Date2Num(DateField1.formattedValue, datePattern)

var endDate = Date2Num(DateField2.formattedValue, datePattern)

var numOfDays = endDate - startDate

NumericField2 = numOfDays

 

the formula does as intended and yields the total number of days between "DateField1" and "DateField2" without issues. What i would like it to do is immediately after performing that calculation and getting the number of days it changes the fill color of that field based on the number of days as follows

 

Less than 30 days turns the field red

 

Greater than 30 days and less than 60 days it turns orange

 

Greater than 60 days and less than 90 days it turns yellow

 

Greater than 90 days it turns green

 

Now all of this i can complete with the action builder on NumericField2 but that requires the user to "exit" that field, and being that it is a calculated field they would have no reason to actually click on the field and leave it thus completely nullifying that. I have absolutely no clue how to force the color change to happen immediately after calculating without the need to have an exit function.

 

I even went so far as to try and implant a radio button or normal button to use at the end of the document where it would check all of the numeric fields and change the fill colors then but that has been unsuccessful thus far. I also considered rather than having the fields change colors, just have a list be generated on a seperate page that would pull the item's name from "Cell 1" and list them under "Items less than 30 days out" Items between 30 and 60 days out", "items 60 to 90 days out" but I can't even figure out how that would work.

WordNum - Formula for 2 number fields to 1 text field

$
0
0

I am trying to make the formula to show two number field boxes to give an output of 1 text field

 

For eg.

 

NumericField2 - 1,200

NumericField3 - 20

 

to give a text output of

 

One thousand two hundred and fils twenty

 

Appreciate all the help I can get.

 

Stuti

 

Message was edited by: Stuti Agarwal Also this is the second time I am using LiveCycle so Noob status here.

Livecycle form on MAC

$
0
0

Can anyone tell me what needs to be done for an Adobe Livecycle form to work in Adobe Reader on a MAC?

Lines that wont go away!

$
0
0

Hi. Relative newbie at this program. i have these faint lines that stick out from drawn lines which i have inserted and cannot find a way to get rid of them. They even show up in the "preview PDF" tab. Help!

 

PDF doc.png


Calculate DateTimeField

$
0
0

How do you add days to a date field using JavaScript in LiveCycle Designer ES2? I have a field named DTFBeg that is a user-input field. I'd like to take this value, add 7 days to it, and display the new value in the field called DTFThru. Both the fields are on the Master Page of a flowable form. I've tried so many different JavaScript options from different samples I've found online, but nothing I've tried pulls a value anywhere close to what I'm looking for.

 

Thanks in advance to anyone who can help!

 

Caroline

checkboxes in all instances treated as the same

$
0
0

I am working on a form with a subform which can have additional instances generated by means of a button. This subform contains several text fields as well as a set of checkboxes. When multiple instances are present, the text fields in each behave as separate fields -- you can fill in different text in each -- but a given checkbox in each instance behaves as all the same checkbox, i.e. if you check it in one instance, it checks in every instance. Why is it being like this and how do I make it stop?

Software Failure Error

$
0
0

Hi,

I have made some ES4 designer forms which have been working fine for years. They are being opened and filled out using Acrobat 2017.

All of a sudden one of the forms in particular has started coming up with a "Software Failure" error when being filled out.

After clicking ok, the form freezes and has to be closed down.

The error seems to be random and doesn't happen all the time, however does happen frequently enough to be a problem.

It was localised to one form, but has now started appearing here and there on other forms as well.

Does anyone know what causes this error or have any idea to find out what is causing it?

 

Much appreciated,

Doug

Form field positioning - LiveCycle Designer ES 8.2

$
0
0

How to get form fields to be side by side instead of one above the other (LiveCycle designer ES 8.2)

I'm new to LiveCycle Designer

When I created my form in LiveCycle Designer ES 8.2 (on Win7) I lined up some of my fields in the editor so that they would be side by side - horizontal. Like yes/no check boxes, one beside the other. Yet when I saved and opened the form, the check boxes were vertical one on top of the other. I don't see how I can move them so that they are side by side again.

Creating a page total and a grand total in an expanding table.

$
0
0

I am trying to place a page total of a column of dollar amounts on each page of an expanding table and have the grand total on the last page.  I can get the grand total but can't make the page total work.  I've created a second footer row in the table and that moves from page to page successfully. I'm using Livecycle ES4. Any assistance would be appreciated.

Adobe Dynamic XML Form Property Setting

$
0
0

Hi Guys, Is there anyone knows how to set the PDF security to "Document Assembly allowed" i just created Adobe Dynamic XML Form from (LC)Live cycle but there is no option on the form properties in where i can change the security setting to allow the document assembly.The only option on Adobe Dynamic XML Form that i have is "Attached Document" which i cannot use since my boss having difficulties finding the attachment on the PDF. They requested to see the whole document in one row when they open the file.I have attached the PDF and Livecycle setting screen shot for reference.CL Security setting.pngPDF Security Seting.png

 

Your Suggestion will be highly appreciated

 

V/R

Duplicate Dynamic Table

$
0
0

Hello,

 

Has anyone had success in copying or duplicating one of the dynamic tables on any of the forms in Adobe LiveCycle?  We are trying to create a duplicate table on our invoice.  Currently we are rebuilding it from scratch, which is a lot of work.

 

We would like two tables that function exactly the same way.  Pulling in the exact same data separately and distinctly from each other.  The end goal is to separate our company services from products into two their own separate tables.  We plan on hiding the service type line item in one table, and hiding the product type in the other.  So our first goal is to create to mirrored tables.

 

Any help or thoughts on how to do this would be greatly appreciated.


Copying Dynamic Tables in Adobe LiveCycle

$
0
0

Hello,

 

Has anyone had success in copying or duplicating one of the dynamic tables on any of the forms in Adobe LiveCycle?  We are trying to create a duplicate table on our invoice.  Currently we are rebuilding it from scratch, which is a lot of work.

 

We would like two tables that function exactly the same way.  Pulling in the exact same data separately and distinctly from each other.  The end goal is to separate our company services from products into two their own separate tables.  We plan on hiding the service type line item in one table, and hiding the product type in the other.  So our first goal is to create to mirrored tables.

 

Any help or thoughts on how to do this would be greatly appreciated.

Limiting the value of numeric fields for insurance claims

$
0
0

Hi folks. I'm new to FormCalc, so I apologize if this is super simple or it's already been answered. My question is a basic insurance claim-type question, but I cannot figure out how to make this work. Thank you in advance to anyone who can help.

 

I have three user-input numeric fields titled "Coverage Amount", "Deductible" and "Amount Claimed". Hypothetically, let's say the Coverage Amount = $100,000 and the Deductible = $2,000. When a user inputs an amount for Amount Claimed, there are a three possible scenarios for a Claim Payout:

 

1) If the Amount Claimed (let's say $750.00) is less than the Deductible ($2,000), then the Claim Payout should calculate to be $0.00 since a claim cannot pay anything if it is less than the amount of the Deductible. ($750.00 - $2,000.00 = $0.00)

Coverage AmountDeductibleAmount ClaimedClaim Payout
$100,000.00$2,000.00$750.00$0.00

 

2) If the Amount Claimed (let's say $150,000.00) is greater than the sum of the Coverage Amount ($100,000) + the Deductible ($2,000) = $102,000, then the Claim Payout should calculate to be the limit of the maximum Coverage Amount = $100,000.00 since a claim can pay no more than the limit of the Coverage Amount. ($150,000.00 - $2,000.00 = $148,000.00 --> $100,000.00)

Coverage AmountDeductibleAmount ClaimedClaim Payout
$100,000.00$2,000.00$150,000.00$100,000.00

 

3) If the Amount Claimed (let's say $101,500.00) is greater than the Coverage Amount ($100,000) but less than the sum of the Coverage Amount ($100,000) + the Deductible ($2,000) = $102,000, then the Claim Payout should calculate to be the difference of the Amount Claimed ($101,500.00) - the Deductible ($2,000.00) = $99,500.00. ($101,500.00 - $2,000.00 = $99,500.00)

Coverage AmountDeductibleAmount ClaimedClaim Payout
$100,000.00$2,000.00$101,500.00$99,500.00

Multilingual forms | JS with SO and function()

$
0
0

Hi

I'm new to the forum and quite new in creating LiveCycle forms using ES3. Now I'm stuck and very greatful if somebody could assist me to get my form running.

I tried to adapt the following instructions LiveCycle Blog: Mehrsprachige Formulare //Multilingual forms to my form, however, nothing happens. What I'm trying to achieve is actually pretty simple, i.e. a form which language can be changed by choosing the language from a Dropdown.

 

My hierarchy:

--> Script Object (SO): from1.variables[0].Sprachen

--> Dropdown: form1.InputOfferterstellung.Dropdown

--> Textboxes: form1.InputOfferterstellung.Subform_GenerelleInfo. [...], etc.

--> Dropdown List Items: Deutsch, English, Italiano (no specified item values)

 

My JavaScript for SO:

function Sprache_ändern(L01, L02, L03)

{

  xfa.form.form1.InputOffertenerstellung.Subform_GenerelleInfo.OffertID.caption.value.text. value = L01;

  xfa.form.form1.InputOffertenerstellung.Subform_GenerelleInfo.ProjektNr.caption.value.text .value = L02;

  xfa.form.form1.InputOffertenerstellung.Subform_GenerelleInfo.ArtderOfferte.caption.value. text.value = L03;

}

 

function DeutschCaption()

{

  Sprachen.Sprache_ändern("Offerten-ID", "Projekt-Nr.", "Art der Offerte");

}

 

function EnglishCaption()

{

  Sprachen.Sprache_ändern("Quotation ID no.", "Project no.", "Bid type"); 

}

 

function ItalianoCaption()

{

  Sprachen.Sprache_ändern("Offerta ID no.", "Progetti no.", "Tipo di offerta");

}

 

My JavaScript in the exit event of the Dropdown:

if(xfa.event.newText == "Deutsch")

{

  xfa.form.form1.Sprachen.DeutschCaption();

}

 

if(xfa.event.newText == "English")

{

  xfa.form.form1.Sprachen.EnglishCaption();

}

 

if(xfa.event.newText == "Italiano")

{

  xfa.form.form1.Sprachen.ItalianoCaption();

}

 

Thank you vermy much for your help!

Regards

Adding many selections using "+" sign feature

$
0
0

maxresdefault.jpg

I just got this photo off of google but is it possible to add a feature of choosing many selections from a list using this "+" sign on a form? I need users to be able to choose as many options as they'd like on the form and then I would add logic to each possible selection.

Drop-Down List Auto Populate Text Field

$
0
0

Good Morning,

 

I am trying to auto populate a text field depending on what option you choose from the drop down menu.

 

Can any assist me in this?

 

For Example:

 

Drop Down Menu

  • Government
  • Private

 

Text Field

  • You are in the Government (You get this in the text field if you chose Government)
  • You are in the Private (You get this in the text field if you chose Private)

 

If anyone can provide a PDF example, that would be great!

 

Thanks!

Auto Gen QR code

$
0
0

Hi everyone

last update for adobe dc

version 2019-012.20036

after I update this version

my livecycle not automatic gen QR CODE

how I fix this problem

thank you.

James

If image is larger the the image field, it will stretch beyond the border when the PDF is flattened.

$
0
0

We have developed logic to check if the XFA JavaScript is running on the server, it will load the original image with high-quality in order to flatten the PDF with the original image. We noticed that, on the flattened PDF, the image will stretch beyond the image field borders if the size is bigger than the dimensions set in Designer.

 

The logic will execute a webservice on one of the document events such as Doc Ready, Form Ready, Layout Ready, server side only. We tried all such events. This web service will load the original image into the field. If the image size is within the border, everything looks fine. But if it is bigger, it will cross the field borders only if the image proportion is set to "height". See sample below.

 

Scr2.JPG.

 

The snapshot above is taken from the flattened PDF. The PDF is generated, by invoking the LiveCycle ES4 API to flatten the PDF, from Java Program.

 

Any idea if this is expected behaviour? Is there any special parameter in the Flattening API to respect image proportion setting (fit to width, fit to size...etc)?

 

Please help.

 

Tarek

 

Message was edited by: Tarek Faham To clarify the scenario where the problem happens.


How to make form fields to clear after user submits data

$
0
0

How to make form fields to clear after user submits data?

 

Any help I will appreciate!

 

Thank you

LiveCycle, javascript problem in new page.

$
0
0

immagine.jpg

 

Hello guys,

 

 

I'm need to add a side label in the page like in picture PAG.01, it seems work on the first page, but when the form goes in the other page, javascript seems not working.

I've spent a lot of time on it in order to figure it out, but nothing change.

I would like to know if there is some trick to extend the label in the next page.

 

 

I've used a small  javascript formula , here is the code:

 

 

JAVASCRIPT

 

var altezza = xfa.layout.h(subForm2,"cm");

this.label.w = altezza + 'cm';  (Weight bacause i've rotate the label)

 

 

In Designer View I have this tree:

__________________________________________________________________________________________ _

 

 

PAGE 1

|_____subForm1 ( Content: Flowed / Western Text; Allow Page breaks within content )

                |

                 |____labelTxt

                 |

                 |____subForm2 (Content Flowed / Western Text; Repeat subform for Each data Item)

                                |

                                |______Table1 ( Allow Page breaks within Content)

 

 

__________________________________________________________________________________________ __

 

 

The javascript code is in -> subForm1 .

 

 

Could you explain me how to achieve the result?

 

 

Thank's

Domenico.

Collapsible fields and email submit button

$
0
0

Hello,

 

i have a form with a checkbox that make subforms appear and disapear in a collapsible way but when i submit by email, that collapsible fields dont apear in the pdf.

Can anyone help me?

 

Thanks

How to create custom Acrobat DC submit form

$
0
0

Hello Everyone,

 

Created a form in Acrobat Standard DC.

 

I have four issues to resolve:

 

1)  List Field to List all items entered in the form when submitted

2) Drop Down Menu to convert to static text of selection on submitted form

3) All buttons removed from submitted form after form is submitted

4) Form resets to original state after submitted

 

How can I resolve the above items please?

Should this be created in another product? if so which?

 

Thanks in advance for any help!

 

James

Checkbox mutually exclusive within separate subforms

$
0
0

Hello All

 

I have an unusual question and have been working on this for a week.

 

I am creating a form in Adobe Livecycle E2 with the following hierarchy.

 

MainSubform

     Subform - Question1

                        Subform - YES

                                   Subform - YesImplemented - checkbox

                                               Subform with textfields that appear when selected and collapses when not selected

                          Subform - NO

                                  NoImplemented - checkbox

                                               Subform with additional checkboxes that appear when selected and collapses when not selected

                          Subform - DNK (Do Not Know)

                                  DNKImplemented - checkbox

                                               Subform with additional checkboxes that appear when selected and collapses when not selected

 

What I am trying to do is to only allow one of the bolded forms to be selected at a time. Any help would be greatly appreciated!

 

Here is the code I have working so far.

 

form1.Main1.DocTitle::initialize - (JavaScript, client)

 

 

this.rawValue=event.target.documentFileName.split(".") [0];

 

 

form1.Main1.Q1.DNK.DNKImplemented::change - (JavaScript, client)

 

if (this.rawValue == "1") {

  this.resolveNode("YES.YesImplemented").rawValue = "0";

  this.resolveNode("NO.NoImplemented").rawValue = "0";

}

//-

if (this.rawValue == "1") {

  this.resolveNode("DNKOptions").presence = "visible";

} else {

this.resolveNode ("DNKOptions").presence = "hidden";

}

 

 

form1.Main1.Q1.NO.NoImplemented::change - (JavaScript, client)

 

if (this.rawValue == "1") {

  this.resolveNode("YES.YesImplemented").rawValue = "0";

  this.resolveNode("DNK.DNKImplemented").rawValue = "0";

}

//-

if (this.rawValue == "1") {

  this.resolveNode("NoOptions").presence = "visible";

} else {

this.resolveNode ("NoOptions").presence = "hidden";

}

 

 

form1.Main1.Q1.YES.YesImplemented::change - (JavaScript, client)

 

if (this.rawValue == "1") {

  this.resolveNode("NO.NoImplemented").rawValue = "0";

  this.resolveNode("DNK.DNKImplemented").rawValue = "0";

}

//-

if (this.rawValue == "1") {

  this.resolveNode("YesOptions").presence = "visible";

} else {

this.resolveNode ("YesOptions").presence = "hidden";

}

calculating times in a form

$
0
0

I have a Form i cant figure out how to calculate times i have 6 boxes i need to put times into and the 7th box would be the total time.

this form is used at our fire dept to show the trucks en-route -to- on scene time- to- scene secure -to- left scene -to- in service time.. and then the total time in the final box i believe you just subtract the enroute time from the total time. but i have no idea i tried everything and cant figure it out.  i can upload the form if you need.

 

 

THANKS

SAP Adobe PDF generated with Huge size

$
0
0

Hello Everyone,

 

We have a Adobe PDF form, which is designed in SAP LiveCycle Designer and when PDF is generated then the SIze of file is in MB's.

 

But if I set the Control Parameter NOPRINT = 'x' in SAP for particular form. Then the size comes out in KB.

 

I analysed the BIG Size PDF using Audit Space Usage option, and 99 percent of size is acquired by Structure Info.

 

All other forms are not having this issue. Only one particular form is having this issue.

 

Any hint to proceed will be very helpfull.

 

Kind Regards,

Monis




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