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

Need help on adding attachments to the form

$
0
0

Hello All,

 

I need help in adding attachments to the form. I am able to add the attachments to the form using importDataObject and able to view and delete the attachments.

 

Now i need to check for duplicates in the attachment list. Could anyone let me know or provide me any sample to find the duplicates within the attachment list?

My requirement is User adds attachment to the form. When they add the same attachment which was already added into the list I need to display a alert saying "you have already added this attachment". I feel I need to compare the paths but I am not able to figure how to achieve this.

 

Any inputs highly appreciated.

 

Thanks,

Sekhar.


After Save, Populated Table Rows Are Hidden

$
0
0

I have a Livecycle form that connects to a MS Access database. Everything works as expected except for one issue. If I have more one table row unhidden and save the form, when I reopen it, all rows except the first row are hidden again. I verify the rows are visible when I save the form. Close it and when reopened, all but the first row are hidden again.

 

When the form originally opens blank, it connects to the database and there is only one row visible. The other 12 rows are hidden. I have a custom button that makes an additional row visible each time it is clicked. I can't find any script that is causing these rows to be hidden or invisible. Could the database script below be causing this? If I shut it off the problem stops only I don't know ow to fix it!

 


Form1.Subform1.EmployeeNo::exit - (JavaScript, client)
//HEADER SECTION
//Reset DB to first Record
//Walk thru all records to find highest file ID number
/*
var nMaxID =0;
//Reset DB to first record
var oDB = xfa.sourceSet.DataConnection1;
try{
oDB.first();
}
catch(e){
oDB.open();
oDB.first();
}
//walk thru all records to find latest file ID
while(!oDB.isEOF()){
if(xfa.record.DataConnection1.FileName.value > nMaxID)  nMaxID = Number(xfa.record.DataConnection1.FileName.value);
oDB.next();
}
if((Subform1.FileName.rawValue ==null && Subform1.FileName.rawValue !="")){
 Subform1.FileName.rawValue = nMaxID + 1;    oDB.addNew();
 Hide1.FileName1.rawValue = FileName.rawValue;
 oDB.update();
 Subform11.FileName.rawValue = Subform1.FileName.formattedValue;
 this.resolveNode("OrderDate").rawValue = util.printd("yyyy-mm-dd", new Date());
}
else {
 Subform1.FileName.rawValue = Subform1.FileName.rawValue;
}

mouseEnter/mouseExit event is triggering a screen jump ONLY when zoomed in?

$
0
0

Hi all:

 

First and foremost, to all the people who repeatedly post answers: you are truly rock stars in my book.  Learned so much from you all; deepest, deepest thanks.

 

I can't find anything online re: this issue, and BELIEVE me I've looked, so I'm going to do a detailed post with a detailed example.   If I do a good enough post, maybe that helps someone else out down the line.

 

Using LiveCycle Desiger to create a dynamic PDF.

 

Conditions

     When:

     1) A field has focus; (and)

     2) The end-user ZOOMS IN on the form;(and)

     3) The end-user decides to scroll away from the field with focus (so the field with focus is no longer visible on the screen but still technically has the focus)

 

The Issue:

     If the cursor happens to go over an object with mouseEnter or mouseExit code, Acrobat will jump the view back to the field with focus.

   

Practical example:

     1) End user opens a PDF and zooms in a little for easier reading.

     2) End user sets focus to a field at the top of the page to answer that question.

     3) End user decides to scroll down and see what other types of questions they have to answer, leaving the focus still in the top field;

     4) If the screen scrolling passes the cursor over an object with javascript in the mouseEnter or mouseExit event, Acrobat resets the view back up to the top of the page so

          the field with focus is visible again.

          Note: Even If the screen scrolling doesn't pass the cursor over an object with script in the mouseEnter or mouseExit event, if the end-user then moves the cursor over an

                    object with code in the mouseEnter or mouseExit event, Acrobat resets the view so the field with focus is visible again.

 

Additional Comments

     1) Object type doesn't seem to matter.  I tested it on additional field types in the attached and the jump seems to be triggered when code exists in the mouseEnter or mouseExit

          event and the field with focus is NOT visible on the screen.

     2) It doesn't appear to be a "top" or "bottom" of page issue.  Page 2 of the attached reverses the layout from "top-to-bottom" to "bottom-to-top" and the jump still occurs.

     3) It appears to be a Dynamic Form issue as I did a save as a Static PDF and the jump does NOT occur.

     4) Happens on both PC and Mac.

 

The attached is heavily noted and contains multiple buttons demonstrating the various conditions and what does or does not trigger the jump.

 

Thoughts?  I'm totally stumped.  A form level property that is trying to help???

 

Thanks in advance,

 

BR

 

(Couldn't attach PDFs for some reason.  Here's a dropbox link.  Dropbox - Public

Is it possible to import data into a Reader Extended PDF created in Livecycle?

$
0
0

Hi there,

 

I make a lot of Reader Extended forms for my company. When I issue form updates, sometimes staff have to re-copy or re-type records into forms with repeating subforms.  I'd like to be able to jumpstart their process by importing from an old, filled-out form, into my new updated form.

 

I've found I can do this by making an XML data file of the data from the old form, but I can't import into an Extended from using Adobe Reader. Most of our staff don't have Acrobat, so they aren't able to save data into non-extended forms.

 

Is this clear, what I'm asking? Import XML data into Reader Extended form.

 

Thanks for any help you can give,

Laura

automatically fill the same signatures

$
0
0

In my  PDF form, there are multiple places where signature is required. Is it possible to cross-fill signatures where user just need to apply a signature once, and it gets automatically populated (may be as image) on the other signature fields.

 

Can someone help me ?

Thanks a lot.

Jing.

Sum fields based on dropdown field

$
0
0

Hey sorry I haven't touched this in awhile.

 

I have an expense report and a dropdown for category. I need to then sum the expenses based on that dropdown.

 

Something like:

If ExpenseDesction[n] ="abc" or "bca" or "cba" then

sum ExpenseAmount(n)

Else

sum ExpenseAmount(n)

 

Seems super simple.

Importing data from Excel to generate "filled" PDF form that was created in Designer

$
0
0

Hi there

 

I have a form that was created in Designer.  The data that  I need to import is all in a Excel spreadsheet with the same fields as the form.

 

Is it possible to import all the data so that it generates a printed PDF with the data on each line of excel?

 

For example:

 

If my excel file shows:

 

First Name      Last Name     Phone Number        UserID

John               Doe               416-777-9970           johndoe997

Mike               Rogers           905-887-3398          mikerogers997

 

In this example I would like to generate a PDF form for John and for Mike, each with their details filled out on the form based on the data in the excel sheet

 

Thanks in advance!

Edit Indesign pdf in Livecycle Designer

$
0
0

I have a form created in Livecycle designer that I would like to add to an InDesign PDF.  I also would like to make minor revisions to the InDesign document in Livecycle. Can anyone tell me how this can be done. Thanks.


How do I get my flowed fields to move to the next page?

$
0
0

Please help...

 

I have created a 2 page document that has expanding fields.  Everything performs as expected, but as the fields expand, they do not move to the next page, they just disappear at the bottom.  I have compared configuration settings with other threads and I cannot seem to find where my error is.  I think it might have something to do with how my subforms are wrapped, but I am not sure.

 

Thanks,

 

Damon

Converting Livecycle form to Reader, changes Ghost Text

$
0
0

I created a Livecycle form months ago that has worked perfectly until the last few days. When I made some subtle non-script changes the Ghost Text I created months ago stopped working correctly upon enabling the form for Adobe Reader. When I preview the form in Livecycle preview mode the Ghost Text appears in grey and italics as scripted and correctly. However upon saving as a Reader enabled file, the Ghost text initializes as black text instead of the grey Ghost text look. Puzzling. Any ideas on what is wrong with the form or script?

 

Greg


https://workspaces.acrobat.com/?d=Q0uhyLtZ5VamviFr-FD5Vg

Problems adding multiple instances of subform within subform

$
0
0

I would like the "Add attorney row..." button to add rows within the procSet subform for each click.  Right now the button adds only one instance.  I'd appreciate any help with the javascript.  I have tried various code samples, but I think maybe the problem is I need to add pages and then instances (I think), either way I can't get the code fully functioning beyond the one instance.  Thank you.



 

https://files.acrobat.com/a/preview/62a361cd-fc1e-49f2-be2a-50d7e18ea98f

 

 

 

 

 

Making a selection visible when picking from a dropdown

$
0
0

Good Day All;

I am putting together a form where I have a dropdown that contains 3 choices. When one of these choices is selected from the dropdown, a table becomes visible for the user to complete.

The issue I have is when the user selects from the drop down, the table does not become visible unless the user clicks inside the drop down again.

I have tried a “click and the exit” event and came up with the same issue.

The following is the code I am using. I would appreciate any help with this.

Chomp

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

term_select.presence = "visible";

}

if (this.rawValue != "5") {

 

term_select.presence = "hidden";

}

 

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

temp_select.presence = "visible";

}

if (this.rawValue != "6") {

 

temp_select.presence = "hidden";

}

 

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

act_select.presence = "visible";

}

if (this.rawValue != "7") {

 

act_select.presence = "hidden";

}

how to disable security warning message

$
0
0

I create form and located it on network. Now when I click button on this form to open other form which also located on network I get pop-up Security Warning message:

"This document is trying to connect to ....

If you trust this site, choose Allow. If you do not trust this site, choose Block."

 

Is it possible disable that message? If yes. How it to do?

 

Thanks.

Set focus to object other than field

$
0
0

I have a fairly large subform with a number of fields in it. In certain cases, I want to move the user's screen such that the top of the subform is showing. I've tried xfa.host.setFocus(), providing it with the subform object, but this does nothing. The documentation is not clear on whether this should work. Any ideas?

Change event when dropdown selection changes

$
0
0

I have several events that need to be executed based on the users selection in a drop down box.  The form has 4 subforms which are simple one row tables.  The drop down selections are model numbers.  If the user selects model 1, subform 1 and 2 should be visible only.  If the user selects model 2, only subform 3 and 4 should be visible.  If the user selects model 3 all four subforms should be visible.  If the the user selects model 4 all subforms should be invisible.  I created each of these actions in the dropdown field's change event.  However, there is something missing in my code between each event because when I change the model in the drop down box the previous selection's event is still there.


I've tried several attempts using:

  1. this.rawValue = xfa.event.newText;
  2. xfa.host.resetData();
  3. DropDownList2.setItems(myObj[this.boundItem(xfa.event.newText)]);
  4. this.setItems(EngSalesModel)[this.boundItem(xfa.event.newText)]; etc.

 

But cannot get them to work.  Here is a snippet of my code from my form:

 

if ($.boundItem(xfa.event.newText) == "1") {

  oTargetField = this.resolveNode("TEF");

  oTargetField.access = "readOnly";

  oTargetField = this.resolveNode("TEO");

  oTargetField.access = "readOnly";

  this.resolveNode("TEF.TEFtable1.TEFRow1.TEFModel").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEF.TEFtable1.TEFRow1.TEFmohr").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEF.TEFtable1.TEFRow1.TEFPrice").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEO.TEOtable2.TEORow1.TEOModel").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEO.TEOtable2.TEORow1.TEOType").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEO.TEOtable2.TEORow1.TEOMoHr").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEO.TEOtable2.TEORow1.TEOPrice").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

}

 

txtSelected.rawValue = xfa.event.newText;  

 

 

if ($.boundItem(xfa.event.newText) == "2") {

  oTargetField = this.resolveNode("TEF");

  oTargetField.access = "readOnly";

  this.resolveNode("TEF.TEFtable1.TEFRow1.TEFModel").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEF.TEFtable1.TEFRow1.TEFmohr").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEF.TEFtable1.TEFRow1.TEFPrice").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

 

    oTargetField = this.resolveNode("TEO");

  oTargetField.access = "readOnly";

  this.resolveNode("TEO.TEOtable2.TEORow1.TEOModel").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEO.TEOtable2.TEORow1.TEOType").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEO.TEOtable2.TEORow1.TEOMoHr").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("TEO.TEOtable2.TEORow1.TEOPrice").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

 

    oTargetField = this.resolveNode("MF");

  oTargetField.access = "readOnly";

  this.resolveNode("MF.MFTable3.MFRow1.MFModel").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("MF.MFTable3.MFRow1.MFPrice").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("MF.MFTable3.MFRow1.MFmohr").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

    

    oTargetField = this.resolveNode("MO");

  oTargetField.access = "readOnly";

  this.resolveNode("MO.MOTable4.MORow1.MOModel").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("MO.MOTable4.MORow1.MOType").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("MO.MOTable4.MORow1.MOMoHr").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

  this.resolveNode("MO.MOTable4.MORow1.MOPrice").ui.oneOfChild.border.fill.color.value = "192, 192, 192";

 

}

 

Any help would be greatly appreciated.  Thanks.


Question about Attachments

$
0
0

Let's say I have a form that captures data about a document.  For example the form asks for the document name, old and current revisions, and the document title (oversimplified example).  Then I have a Word document with redlines in it to show the changes I have made from the old revision to the new one.  Is there a way to add a button to my form that attaches the Word document to my form?  Can you even attach a document to a form (user A), e-mail it to someone (user B) and then pull that document out for review, edit and save changes and re-attach the document (User B) to the form and e-mail it back to the original user (User A)?

Need to Copy a subform along with content from one page to another page

$
0
0

Hi All,

 

I am new to Adobe Live Cycle .

I am facing a particular problem in one scenario.

 

I have a growing list of item i.e the number of Items are uncertain. I have put all these item in a sub form.

 

Now I need a copy of this sub form from the First page to the 2nd Page.

Basically , I want to copy a Subform along with the content from one page to another.

Can anybody please help me.

Adobe Life Cycle Static Forms corrupting when using IOS PDF Expert 5.

$
0
0

Has anyone experienced Adobe Life Cycle Static forms corrupting (when Saving File As to cloud storage to WedDAV) using iOS PDF Expert 5?  We have iPad Airs in IOS7 and 8.  PDF Expert 4 and Adobe Lifecycle ES forms worked perfectly,  but is now PDF Expert with the same forms causing problems for us in the feild, as we depend on these forms for mobile working.


Any help or thoughts on this would be much approachated.  We have tried contacting PDF Expert 5 made by Readdle for support, but we have not received a response in 2 days.


Thanks in advance

 

 


Auto populating a text field based on choice from drop down

$
0
0


I have a form and would like to be able to auto-populate a text field based on the user's choice from a drop-down menu.  I would want the text field to be populated with data that is currently in an excel spreadsheet.

 

So as an example.  Lets say the excel spreadsheet has a list of phone numbers.  If the user chose there company name from the drop down list, I would want the phone number filed to automatically populate with the number in the excel spreadsheet that corresponds with the company name chosen from the drop down menu.  What is the best way to do this?

 

Thanks!

Overflow Leader on page with multiple Content Areas

$
0
0

I have a form whose master page has three content areas, creating three columns. One of my subforms spans multiple pages. I want each new page to have the same header at the top. Unfortunately, I cannot do this in my master page, as repeated content is data bound. I've instead decided to use overflow leaders. Here is a screenshot of my setup.

 

 

Unfortunately, the effect is quite different than what is expected. It appears the overflow leader is being applied to each content area instead of each page, even though the user interface says "If Dataset Must Be Paginated"!

 

What is occurring:

Page 1
Area 1 - Area 2 - Area 3       | Leader |       |        |       |        |
Trailer|        |

Page 2
Area 1 - Area 2 - Area 3
       |        |       |        |       |        |       |        |

Note there is no leader at all one page 2

 

What is expected:

Page 1
Area 1 - Area 2 - Area 3       |        |       |        |       |        |       |        |Trailer

Page 2
Area 1 - Area 2 - Area 3
Leader |        |       |        |       |        |       |        |

 

How can I get the desired output?

Viewing all 5571 articles
Browse latest View live


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