Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all 16286 articles
Browse latest View live

Associating a Search Index to a Form?

$
0
0

Is there any way that I can associate a search index (*.pdx) to a LifeCycle form? I didn't find anything about this in the online help or the scripting guides. When opening a form in Acrobat Professional, the respective fields in the document properties are greyed out / protected...

 

Thanks for your help,

Marcus


Move a field up depending on if checkbox is checked

$
0
0

Hello, say I have the following checkboxes:

 

A

B

C

D

 

With only the checkboxes that are ticked showing up on printed copy. Say only C & D are checked, as I have it now there is a lot of space between the previous field and C & D with A & B not printing. Is there a way to move these boxes up to the top to decrease the blank space?

 

 

Thanks.

show / hide table column at run time

$
0
0

Are there any known problems with showing / hiding a table column at run time?

 

I have a dynamic table that contains a column with a checkbox, and another column with a radio button.  If the user is allowed to select more than one table row (as indicated by a form variable), then I want to show the check box column and hide the radio column.  Otherwise I want to show / hide the opposite.

 

I am showing / hiding the column's header too.  When I preview the form, however, the data in the table seems to "scoot" left and get placed into the column that is hidden, so to speak.

 

Here's a design view of the table:

 

tableDesignView.jpg

 

 

And a run time view of the table.  You can see the radio is hidden, but the "account number" column wants to squish into the (hidden) radio column,

 

tableRunTimeView.jpg

 

Here's the script, I'm very confident in this little snippet of code because the account rows were populating wonderfully until I added the radio button column and the script to show /hide.

 

 

 

 

 

 

 

 

 

//Put the account data in the table

function

setAccountData(objAccountRow, objAccountItem) //pass in the row and the data to populate the row

{

 

 

 

     //stuff the row

 

    objAccountRow.accountNumber.rawValue

= objAccountItem.accountNumber;

    objAccountRow.accountName.rawValue

= objAccountItem.accountName;

    objAccountRow.accountBalance.rawValue

= objAccountItem.accountBalance;

 

 

 

 

 

    //show the checkbox or the radio button, depending on the number of accounts they are allowed to select (as specified by the form variable)

    var searchNumAccounts = objFragment.resolveNode("searchNumAccounts").value; //Form variable

 

 

    if (searchNumAccounts==1)

    {  //show the radio button column and hide the checkbox column

          hideObject(objResultsSubform.accounts.HeaderRow.txtSelect);   <--this is overkill here, hiding the table header column for each row, ...

          hideObject(objAccountRow.accountSelected);

          showObject(objResultsSubform.accounts.HeaderRow.txtRadioSelect);

          showObject(objAccountRow.radioSubform.radioGroup.selected);

    }

 

    else

    {  //show the checkbox column and hide the radio column

          hideObject(objResultsSubform.accounts.HeaderRow.txtRadioSelect);

          hideObject(objAccountRow.radioSubform.radioGroup.selected);

          showObject(objResultsSubform.accounts.HeaderRow.txtSelect);

          showObject(objAccountRow.accountSelected);

    }

 

}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Drawing field?

$
0
0

Does anyone know if there is a way to create a "drawing field"? That is, a field that in the static form would allow the user to click and drag with their mouse to create simple drawings?

JavaScript code faster or shorter

$
0
0

I am making calendar for 2017, and I have this code to write the nr. of task in each day that is the task. So I have 12 codes like this and they so slow. I need to wait 5 min, until they are finished.

This code down it is just for first day for January. And I have for all days.

 

Can you help me?

 

 

var J31 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[30].JDN31")
var J30 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[29].JDN30")
var J29 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[28].JDN29")
var J28 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[27].JDN28")
var J27 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[26].JDN27")
var J26 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[25].JDN26")
var J25 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[24].JDN25")
var J24 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[23].JDN24")
var J23 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[22].JDN23")
var J22 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[21].JDN22")
var J21 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[20].JDN21")
var J20 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[19].JDN20")
var J19 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[18].JDN19")
var J18 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[17].JDN18")
var J17 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[16].JDN17")
var J16 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[15].JDN16")
var J15 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[14].JDN15")
var J14 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[13].JDN14")
var J13 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[12].JDN13")
var J12 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[11].JDN12")
var J11 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[10].JDN11")
var J10 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[9].JDN10")
var J9 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[8].JDN9")
var J8 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[7].JDN8")
var J7 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[6].JDN7")
var J6 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[5].JDN6")
var J5 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[4].JDN5")
var J4 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[3].JDN4")
var J3 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[2].JDN3")
var J2 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1[1].JDN2")
var J1 = xfa.resolveNode("Page1.#subform.Januar.Table1.Row1.JDN1")
var task1 = "", task2 = "" , task3 = "" , task4 = "" , task5 = "" , task6 = "" , task7 = "" , task8 = "" , task9 = "" , task10 = "" , task11 = "" ,
task12 = "", task13 = "" , task14 = "" , task15 = "", task16 = "", task17 = "", task18 = "", task19 = "", task20 = "", task21 = "", task22 = "", task23 = ""
, task24 = "", task25 = "", task26 = "", task27 = "", task28 = "", task29 = "", task30 = "";
if(Januar.Task1DateJAN.rawValue == "1"){
task1 = "1.";}
if(Januar.Task2DateJAN.rawValue == "1"){
task2 = "2.";}
if(Januar.Task3DateJAN.rawValue == "1"){
task3 = "3.";}
if(Januar.Task4DateJAN.rawValue == "1"){
task4 = "4.";}
if(Januar.Task5DateJAN.rawValue == "1"){
task5 = "5.";}
if(Januar.Task6DateJAN.rawValue == "1"){
task6 = "6.";}
if(Januar.Task7DateJAN.rawValue == "1"){
task7 = "7.";}
if(Januar.Task8DateJAN.rawValue == "1"){
task8 = "8.";}
if(Januar.Task9DateJAN.rawValue == "1"){
task9 = "9.";}
if(Januar.Task10DateJAN.rawValue == "1"){
task10 = "10.";}
if(Januar.Task11DateJAN.rawValue == "1"){
task11 = "11.";}
if(Januar.Task12DateJAN.rawValue == "1"){
task12 = "12.";}
if(Januar.Task13DateJAN.rawValue == "1"){
task13 = "13.";}
if(Januar.Task14DateJAN.rawValue == "1"){
task14 = "14.";}
if(Januar.Task15DateJAN.rawValue == "1"){
task15 = "15.";}
if(Januar.Task16DateJAN.rawValue == "1"){
task16 = "1.";}
if(Januar.Task17DateJAN.rawValue == "1"){
task17 = "2.";}
if(Januar.Task18DateJAN.rawValue == "1"){
task18 = "3.";}
if(Januar.Task19DateJAN.rawValue == "1"){
task19 = "4.";}
if(Januar.Task20DateJAN.rawValue == "1"){
task20 = "5.";}
if(Januar.Task21DateJAN.rawValue == "1"){
task21 = "6.";}
if(Januar.Task22DateJAN.rawValue == "1"){
task22 = "7.";}
if(Januar.Task23DateJAN.rawValue == "1"){
task23 = "8.";}
if(Januar.Task24DateJAN.rawValue == "1"){
task24 = "9.";}
if(Januar.Task25DateJAN.rawValue == "1"){
task25 = "10.";}
if(Januar.Task26DateJAN.rawValue == "1"){
task26 = "11.";}
if(Januar.Task27DateJAN.rawValue == "1"){
task27 = "12.";}
if(Januar.Task28DateJAN.rawValue == "1"){
task28 = "13.";}
if(Januar.Task29DateJAN.rawValue == "1"){
task29 = "14.";}
if(Januar.Task30DateJAN.rawValue == "1"){
task30 = "15.";}
J1.rawValue = task1 + task2  + task3  + task4  + task5  + task6  + task7  + task8  + task9 + task10  + task11 + task12 + task13  + task14  + task15 + task16 +task17 + task18 + task19 + task20 + task21 + task22 + task23 + task24 + task25 + task26 + task27 + task28 + task29 + task30;

Bound Items not appearing in field

$
0
0

Hi, I have a form with a drop down list containing products - when a product is selected a text field in the same table shows the product code. This works mostly - the only problem I've noticed is when particular products are chosen the code field remains blank. I have no idea why this is happening - would anybody have an idea or solution. Thanks.

cannot export default value when exporting to XML using web service

$
0
0

Hello All,

In Designer, I create a new data connection (XML Schema), and bind 3 fields to the nodes, these 3 fields have default value in order to distinguish each form. For example, formLanguage=E, formVersion=1.0.0, formType=form1.

After applying reader extension to the form, I use web service API to export the form data to XML ("soap/services/FormDataIntegration?blob=mtom").

In the XML, i cannot find the default value of 3 fields. the nodes are empty.

In order to see the value of them reflected in the generated XML, I have to open the form, save it, then their value will be shown.

 

One more observation:

I fill in some other fields in the form with data, but keep those 3 fields with default value untouched. This form is copied to another machine. In that machine, do the export, although the XML generates the manual-input data, it doesn't have value for these 3 fields.

 

Do you have any suggestion what I can deal with it? In order to identify and distinguish the form, am i doing the wrong thing from the beginning?

Thanks in advance!

Global fill color change

$
0
0

Is there a way to have the color change in a field for all fields on a form on entry and exit without having to code a hundred fields individually.

 

Example:

 

On enter: this.fillColor = "164,222,171";

On exit: this.fillColor = "250,250,250";

 

I want all the fields on the form to do this, but with over 50 fields it seems very time consuming.

 

Thanks.


export data without signature data

$
0
0

Hi all,

 

Is it possible when you use a digital signature in Adobe Livecycle designer to export the data without the signature data.

 

Look forward to hear from you,

 

 

Regards,

Ed Boon

Visioned

'Save As' Button on Form

$
0
0

At the moment we are having to ask the user who is filling in a form to do a 'save as' and then specify a file name (that follows a particular naming convention).  It would be so much better if we could place a button on the form so that when selected it would save the form under a name which is made up of a couple of field values from the form itself.  Is this not possible?

How to add page numbers

$
0
0

How can add page numbers to my 10 page document I just

created? Is there a way for me to add page numbers in the footer like you can in MicroSoft Word?

The problem is, I already have created my form & can't re-arrange it any. If I coul

d manually type the page number in that would be fine to...I just need it to be in the footer area..Can someone help?

Need to add a countdown timer to a Pdf

$
0
0

Anyone know how to do this.

 

I found this file online, but I do not know how to copy it into a LiveCycle PDF and have it actually work.

 

Any ideas?

Date field populates depending on when form opens

$
0
0

Hi - I have a form to be submitted that includes a list of subjects for a particular meeting that happens each Monday. Can a date field populate with the date of that Monday when the form opens in the preceeding week? And then happen each week after that?

 

Thanks.

Hi. I'm working on a form that uses expandable fields to show and print all entered information. I do not see how to make the fields move out of each other's way once filled. Assume this has something to do with subform settings. Here is what I have:

$
0
0

Expanding fields.JPG

The boxed fields are expandable; when I fill the first one and it expands, it overlaps the second group of information.

How to count Records in a Table and/or Form

$
0
0

I have a Table which is being passed to my context in the ADOBE Form.  I need to be able to count the # of records in this table.  I don’t have to display the actual table in this case on the form, I just need the record count.  And, I need to do this using JavaScript and I don’t know anything about Java (although if FormCalc works I can use this as well).     My Tablename is Customer and on my form it is in the Hierarcy data.main.customerbody.customerline.  If I have to have this table data on the form then I can just put it on the form and make it invisiible.  I really only need to count the # of records though and return this # to a Text Field on the form.

 

Does someone know how to do this and can you give me an example in either Java for FormCalc?  The more specfic you can be with the scripting example the better for this newbie.  thx!


Create a Table of Contents in LiveCycle Designer

$
0
0

Hi Everyone,

 

Can any one please show me how to create a form with table of contents (TOC). I have a form that contains 8 pages with 8 sections and the customer want

to have a TOC so they can just click on it and it will directly go to a specific section without scrolling down of the form. They want it to work like a TOC that

people used in Microsoft Office. Is it possible to have it done in LiveCycle Designer? If so, could anyone please show me how to create it or if you have any

sample please post it on this forum. Any advise/help would be appreciated.

 

Thanks in advance,

Han Dao

CSigDict - 1938 error?

$
0
0

Some of the forms are giving my end-users a strange error, saying

 

"Creation of this signature could not be completed, Unknown Error,

 

Support Information: CSigDict - 1938".

 

An HFT message then follows, saying the file is already open or in use by another application; however, I know this is not the case.  Unfortunately, once this error is shown, the file becomes permanently corrupted and I cannot remove the signature.  Sometimes the signature will show on the document just fine (even if it is corrupted, it looks fine on the screen), and sometimes not.

 

I can find no reference to this particular error on google.  Any idea what's going on?

 

Acrobat 9.3, LS 8.2, WinXP.

What is the difference between Acrobat Pro and LiveCycle Designer 8.1ES??

$
0
0

Hello

 

What is the difference between Acrobat Pro and LiveCycle Designer 8.1ES?

 

Thank you

Initial View is disabled on a Form created in LiveCycle ES2

$
0
0

Hi,

 

I am trying to change the preferences using the Initial View tool in Acrobat.  I want to set it to open with bookmarks visible.  However, the entire initial view page is disabled for me.  The PDF is one that I created myself using LiveCycle Designer ES2.  I am using Acrobat Pro X.  Why would this functionality be disabled?

 

Thanks,

Nicole

How to read 'Barcode' in Adobe PDF Forms?

$
0
0

Hi Everybody,

 

I have a scanned pdf of 20 pages. There is a barcode in every page in a serial order like in first page it is 545001 in second page it is 545002 and in third page it is 545003 and so on. I want to automate a process sothat i can know that all the barcodes are in serial order or not. Or, I could know whether it is tempered or not.

 

Please tell me. How i can do this using Adobe Acrobat or Adobe LiveCycle?

 

Is there any features in acrobat or livecycle?

 

Thanks,

Manjeet

Viewing all 16286 articles
Browse latest View live


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