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

Script Error: Invalid property set operation

$
0
0

(in FormCalc)

 

I have a form with multiple pages.  The first two are a chart and the other 8 are diagrams.  The diagrams have number fields to input measurements taken from an inspection process.  On the chart form I have a button to populate the chart with the information from the diagrams. 

 

The click event of the button first retrieves the information from the diagrams and transfers them to the chart.  It then is supposed to change the font color based on whether the readings are within allowable limits (Black for good, Red for bad). 

 

However, when I go into the Preview PDF tab, enter test data into the diagrams, and click the populate button I get an Error to which I do not know how to correct.  I have not been able to find anything on the Internet about it. 

 

Any help would be greatly appreciated.  Here is what is on the error screen:

 

Script failed (language is formcalc; context is

xfa[0].form[0].topmostSubform[0].LHChart[0].Button1[0])

script=...

Error: Invalid property set operation; font doesn't have a default property


Hide corresponding rows in 2 tables.

$
0
0

I have 2 tables. Table1 and Table2. Table1 has Button "Add line". This button adds a line in both tables. The tables have the same number of rows. Each row in the first table has a button that deletes the current line. It is necessary that this button deletes the corresponding row in the second table as well. I was able to do this with the following code:

 

form1.Page.Table1.Data_row_table1.Delete::click - (FormCalc, client)

var row_index = $.parent.index

Table2._Data_row_table2.removeInstance(row_index)

Table1._Data_row_table1.removeInstance(row_index)

 

This works perfectly, however, it has now become necessary for me to hide the rows instead of deleting them, but I have not been able to do this, can anybody help please.

 

Thanks in advance for any help!

My browser crashes when I do a search using Web Service

$
0
0

Hi,

 

I am new to livecycle and I need help. I have a form that invokes a livecycle WebService to perform a search. This form it´s within Workspace and is working perfectly. When I'm in the WorkSpace and clicking the Search button (the button that invokes the web service) more than once my browser crashes and I have to restart it. Anyone know what might be happening?

 

I'm using Adobe Reader XI, Livecycle Workspace ES2, Adobe Livecycle and the browse is Internet Explorer 9.

 

See ya.

Add Instance

$
0
0

In the first image below the user can click on "AC" to add additional lines for comments. When they have completed that they will click on "Add Line" to add a new instance of that line. In the 2nd image the 2nd line is overwritting the additional comments add to the 1st line. How do I position line two and additional lines to occur at the bottom of the additional comments (1 comment or 5+)

 

Also I need two more buttons

 

     1. Will add line and copy the contents of the line above

`    2. Move line - Up and Down button that will allow the user to reorder the entries.

 

Thanks in advance for your help!

 

image1.jpgimage2.jpg

Not all form's fields not saving

$
0
0

I have created a form from a blank PDF sheet.

 

I have saved the form and enabled usage rights for Adobe reader.

 

When I open the form in reader, it indicates I can save the form. If I fill in the form, and save it, it seems to work as intended. When I re-open the file, only 20% of the fields appear. I cannot see the previous data, even if I select the field.

 

If I save the form in as a text file all of the entered data is saved properly.

 

Basically the form is not saving ALL of the entered data.

 

 

What might be the problem?

 

Below is a link to the pdf I created:

https://www.dropbox.com/s/49rrmtvl1ltv5lg/License%20Information%20test .pdf

xfa.host.importData() does not work on certified document

$
0
0

Hello experts

 

I have been fiddling around with Adobe forms trying to achieve following:

 

1) Submitting data to some server script (for validation and storing XML inside DB)

2) Retrieving form (merging template with corresponding XML data)

 

First part is rather straight forward.

Second part ... well, I spent few hours on that w/o any luck.

 

I am trying to load existing XML data inside PDF using xfa.host.importData() command (I tried both scenarios, with and w/o file path) but although I have certified (dummy certificate) my template using Acrobat Pro I am still not able to load the data inside the form.

 

Please note that Adobe template has been created in LiveCycle Designer ES3 and later Reader Extended (and certified) in Acrobat Pro X.

 

Can anyone share some ideas what I might be doing wrong?

 

Regards

Michael

Capturing data from a dynamic table that span multiple pages

$
0
0

I created a PDF form that contained a dynamic table that can span across multiple pages. Additional rows in the table can be created by the person filling the form as and when needed.

 

The PDF form is distributed to the receipient using Adobe LiveCycle Designer.

 

However, when the form is "Submitted" back to the originator of the form, only data in the first row of the table is captured in the Response file. All the other rows are left out.

 

I would be grateful if anyone can advise me as to how do I or what shall I do to get all the data in all the rows in the table into the Response File?

 

Thank you.

How to get multiple rows from database table?

$
0
0

hello !

 

I need to get multiple rows from a OLEDB database table and display them on a table object.

I did "Wrap in subfrom" on the table,  set  subform of the table to "flowed", and checked "Repeat row for each data item" of Row1 of the table.

But I can get only one row on the table object.

 

I need your help.

Thanks


decode function

$
0
0

Good afternoon. I want to ask you for advice. In Adob live Cycle Designer created a template . By cell type text , written by a condition by which cell is initially hidden. Then he checked the occupancy rate of the cell. If it is filled , the cell is displayed in print. Here is how it is implemented :

/ / (formula 1)

$. presence = "hidden" if ($> " 0 ") then $. presence = "visible" endif

The cell is in a Subform. This is done so that the cells folded if they are not filled , and in their place was tightened text following on from a template . Subform to the following condition :

/ / (formula 2)

if (ZZ_ISPOLZ2.presence == "hidden") then sf2.presence == "hidden" endif

Empirically , it was found that if the text field begins with the brackets " ( " , the text is not displayed. Was used function decode ("(", "html"). With the aid of its bracket " ( " decoded in a different format. Field becomes visible. But now, is incorrect: " formula 2 " and the empty cells are not collapsed and filled with text following the empty cells .

I would like to know whether it is implemented . Exploring Adob live Cycle Designer only advanced method. I'm from Russia , and literature in Russian with no detailed explanation . Thank you.

My address : e-mail: efremova_o@ec-group.ru

Removing and adding back last row in table

$
0
0

I have a form with a table and dropdown list.  The number of rows in the table is set to whatever the number value is in the dropdown list.  It works fine but when the user selects zero the last row is removed and it is not added back when a non-zero number is selected.  I want the user to be able to select zero as an option to show no rows.  How do I make it so the rows reappear when a non-zero number is selected.  

 

Here is the code I have in the change event of the dropdown:

var iRows = xfa.event.newText;

TravelPlans.TravelTable.TravelRow1.instanceManager.setInstances(iRows) ;

how do i add a button that when clicked adds an image field or text field to a document

$
0
0

I'm trying to create a template for pastors to use.  They usually have several points and usually use pictures in their sermon notes.  I was wanting to create a form that they could use to put their notes in.  I was thinking of using buttons that when clicked, added the appropriate field, whether it be a scripture, point, or picture. 

Getting numbers to round up using FormCalc

$
0
0
I'm trying to do a mileage form in LiveCycle. The mileage rate is .505 and the math rounds up fine when an odd number of miles is used (13, 15, 17 etc) ..so, miles x .505 = xx.xx until the user adds a bridge toll then the sum rounds down.

Check out my form and tell me what the heck I'm doing wrong please..
thanks!

http://www.kidango.org/kidango.pdf

How can I set a text field to convert all text entered to upper case when populated?

$
0
0

I want to have all entered text populated into specific text fields to automatically convert to upper case. I am working in LiveCycle Designer ES2.

How to deselecting radio buttons?

$
0
0

Here's my dilemma.I have a form with a radio button list. The list is located in one section of the form. There are two options available. It is currently set so the user has to select one or the other button. I need to add the ability for the user to deselect a radio button in this section if he/she didn't intend to complete this section. How do I do that? I'm not real familiar with adding JavaScript codes to forms so step-by-step instructions would be really helpful.

 

Thanks!

Connecting to a Database from a LiveCycle form

$
0
0

Good morning everyone,

 

I've been working at understanding how to connect to a database via my livecycle form and up to here, i can easilly enough connect to an ACCESS DB.

 

I created an ODBC,

a simple 1 table MS Access DB

and a simple form that connects to that DB via the ODBC.

 

My question is, how do i set this up if i want my clients to use this form? i cant really have that ODBC installed on all their machines, so how can i have this setup instead?

 

I do have access to a LiveCycle server, but i only have the Extended reader module installed, nothing else. Can it be done and if so, how would i go about setting this up?

 

If i can get that to work, this would open up a lot of possibilities where i work at.

 

So what i need is a way to mimic that ODBC setup, but without having to create 5000 ODBC connections on my clients machines

 

If you need clarifications on anything, please don't hesitate to  ask.

 

Thank you yet again,

 

PAtrick


calculating times in 15 minute increments

$
0
0

Good Afternoon,

 

I am making a form where we report how much leave is being used. The leave will be reported in 15 minute increments. (Ex: fifteen minutes = .15; one-half hour = .30; 45 minutes = .45) I need to be able to add these up and have them keep this format of 15 minute increments. Also, I need the display to be a decimal instead of a colon, if possible. (Ex. 3.45 instead of 3:45).

 

any advice is appreciated!!!

 

Gene-O

Email submit does not work; print button does not work online

$
0
0

I installed livecycle 8 from cs3 onto a windows 7, 64 bit laptop

I created a sample form to see how it works  (sample form  http://neelyranch.com/dogbabysittingform.pdf )

Inside the program the form fills nicely, the print button works to my local printer, but the email submit does nothing

I saved and uploaded the file as pdf online and tried it from my browser (chrome)

Neiher print nor email submit buttons work

I saved it as reader extended via adobe 8 with no change

So, ??? am I doing wrong here

Just a quick edit here

I ran the form in Safari, mozila and ie8

in all three the print button did work online, but in all three the email submit did not.

nothing worked in chrome

Trying to automatically populate info entered in one section of a form into another

$
0
0

I am creating a form in which I need information that is entered or selected (either from a drop down or  a radio button selection) in the top half of the form to be populated into a section at the bottom of the form. I don't want the info at the bottom of the form to be editable - I just want to have it show up as text.

 

So far I have been unable to get any of the info to populate automatically at the bottom. I thought by copying the text fields from the top of the form and pasting them at the bottom, keeping the Binding Name the same, it  would work, but so far it doesn't.  And I have no idea how to copy the value of the drop-down or radio button to another place on the form.

 

Thanks in advance for any help.

Have you found any software comparable to Livecycle Designer?

$
0
0

I am curious to know if there is any software out there that is able to create dynamic pdf forms like Designer.  I know there are a lot of pdf creators but I am curious to know if there is anything that is able to layout forms with all the different field types that Designer does?  I am just curious as my employer is asking about what options we have for an upcoming project.

Unable to open dynamic form with mobile devices

$
0
0

I've got a form which was created using designer version 8. It is a dynamic form using XML as the data source. The form is saved as reader extended. The form opens fine on a laptop/pc but not on the mobile devices.

 

Is there perhaps a setting that I'm missing or what should I do to make this form compatible for mobile devices?

Viewing all 5571 articles
Browse latest View live