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

Unhide subform based on 2 Dropdown Lists

$
0
0

I would like to be able to unhide a subform when the answers in dropdown1 and dropdown2 match, if they don't match then the subform would not open.

 

Any advice would be grateful


how do I prefill an xdp/pdf and then submit the completed form to database

$
0
0

I would like to send prefilled data into the xdp/pdf file.

 

The starting point would be a web page, with a link that directs the user to the xdp/pdf file and prefill that form with some data from the url link.  Then  let the person complete the rest of the form and click on a submit button which would send the form to a url so I can process the data into a datbase.

 

I did this in the past with Acrobat 5. 

 

Now I have Acrobat Pro 10 with lifecycle designer.

 

I am looking for tutorial on this material.

 

Thanks in advance for any assistance

Dean-O

Preview Issue Livecycle ES4

$
0
0

I have created a new form in Adobe.  I am able to preview the PDF without any issue, however I am not able to view HTML version.  The screen is blank.  What could be causing the issue?

How do you do document level javascript docopen in acrobat pro lifecycle designer

$
0
0

You used to be able to do document level javascripts like document open and process parameters from a url to prefill a pdf file. 

 

How do you do that in acrobat pro 10 or life cycle designer?

 

Thanks in advance

Dean-O

XML to Excel format issue

$
0
0

We have created a emailable form and our client wants to be able to import the data into Excel. The XML file is created just fine, but when it's brought into Excel, the fields are being placed in a diagonal from the starting cell, ie, a1, b2, c3, d4, etc. vs across the sheet, ie, a1, b1, c1, d1, etc.

 

My client does NOT have LiveCycle or Adobe Pro...just Reader and Excel.  Is there something I should change in Designer to fix this?

 

I'd be happy to send samples of the form, the xml file and the resulting Excel to anyone who might want/need it to help find a solution.  Many thanks in advance for ideas!!

 

Steve

 

PS I'm using LiveCycle 8; Adobe 9; client Reader 9, Excel 2007

Why is this code not working?

$
0
0

Good day all. I have written to following code on a signature field, that will only work if the user has an access to the building. It works fine, but if the question was true, and the user changes his/her mind to say No, it does not work. This code is on mousedown event. I would like to clear the signD which is a signature field whenever No button is selected. Here is the code:

     
var  question = xfa.host.messageBox("If you have an Access ID Card to sign this field, please select Yes. 
 If not, please select No, complete the form, print, manually sign, and submit/send as appropriate.\
 n\nYour digital signature has the same legal effect and consequences as a hand written signature.\n\n", "Question?", 3,2);  if (question==3){
 SignD.access="readOnly";
 SignD.rawValue="";}elseif (question==2){
 SignD.access="open";
 xfa.host.setFocus(qDATE);}                                    

Please I need help with thi script.

 

Thanks

 

v/r

 

Tammy

Multilayered date issue Populate the current date. User can edit date. Compare to 2nd user date.

$
0
0

This is a multi layered date question.

 

The requirement is to populate a date field with a current date which may or may not be appropriate.

 

The user can edit the date field as appropriate. The preferred format is MM/DD/YY.

 

A second date is entered and compared to the first date and errors if earlier than the first date. If either is null then let them be.

 

The user completes all fields then signs the form which starts an email sequence to automatically mail the PDF form and properly name the subject and body line in Outlook.

 

 

Here is what I have so far. Most of this I pulled from the forums and.

 

The auto populating date field works ok but may be breaking the comparison between the 2nd date.

 

if (vDate1.rawValue == null){

var msNow = (new Date()).getTime();

var d1 = new Date(msNow);

vDate1.rawValue = util.printd("mm/dd/yy", d1);

}

else {

vDate1.rawValue = rawValue;

}

 

The date comparison works ok but I have some issues making sure both date entries are validated correctly. I want them to use MM/DD/YY

 

if(vDate2.rawValue <> null and vDate1.rawValue <> null)then

if(vDate2.rawValue < vDate1.rawValue) then

xfa.host.messageBox("Please check your meter calibration due date.  It cannot be before

the survey date!", "Date Checker", 3)

$.rawValue = ""

// to set focus to the End Date field

xfa.host.setFocus(this.somExpression)

endif

endif

 

I am using the signature event to call the click which works ok

 

topmostSubform.Page3.SignatureField1::click - (JavaScript, client)

Button1.execEvent("click");

 

 

The click forces the user to save the pdf and attaches to the email and fills in the subject line. I have been struggling to get that vDate1.rawvalue to appear as MM/DD/YY in the subject line. When it does work the date comparisons break.

 

Button2.event__click.submit.target = "company@company.com?subjectmailto:yourcompany@company.com?subject@yourcompany.com?subject=" + CODE_NO.rawValue + " " + " company" + " " + MODEL_NO.rawValue + " " + WORKORDER.rawValue + " " + SSERIAL.rawValue + " " + vDate1.rawValue + " " + RLS_REASON.rawValue;
Button2.execEvent("click");

 

 

I had to add several invisible variable boxes because I apparently do not know how to initialize properly.

 

It seems I can either :

  • Auto populate the current date but not run the comparison.
  • Have the appropriate date format appear on the email subject but not drop in the automated current date.
  • Have the correct format on everything "MM/DD/YY" but no calculations run properly.

 

 

I am hoping someone can help me out here.

Live cycle email submit

$
0
0

I have created digital form with an e-mail submit button. user who have adobe 8 standard can fill in the forms and submit with the e-mail button. Users who just have reader can fill in the form but the e-mail submit button does not work. Anyone have any thoughts on how I can get this to work without upgrading everyone to acrobat?


How do I create a "Delete Page" button?

$
0
0

I am making a pdf that auto populates several other pages with data that is entered on the first page. I want to create a button that will delete a specified page if it is not needed. I want the button on page 1. Basically:

 

When this button on page one is clicked, I want it to delete (or hide) page 3.

 

(I'm a total newbie, so keep that in mind.)

Is this possible?

$
0
0

I was also wondering if I could create a button that would take infomation typed into a feild, open internet explorer, and perform a google search of the information entered in the field.

 

Part of my form has the user entering in address information. Part of what they need to do is verify the address by searching it in google. Is it possible to make a button that will do this?

Pull Down Null Value

$
0
0

I've got a pull down field with a number of text items. Each item has a numeric value bound to it ranging from 0 to 15.

 

I'd like to provide an item that lets a user return the field to null in case an item is chosen in error.

 

Anyone know how this can be done?

 

Thanks.

Non-Nested ifs

$
0
0

My noobish understanding is that "if" statements are excuted if a boolean true occurs, and if it doesn't occur the script continues after the closing curly bracket.

 

The script below is from a numeric field and is fired by the calculate event, so it runs repeatedly. I'm wondering why the "hello world" part doesn't get excuted every time around. Instead, it always waits for a boolean true from  the second "if".

 

 

if (ExpenseClaim.Page2.DistanceRecord.TableKM.Row1.Locations.Location1.r awValue.length != 0 && ExpenseClaim.Page2.DistanceRecord.TableKM.Row1.Locations.Location2.ra wValue.length != 0)

{

blah blah blah

}

 

if  (ExpenseClaim.Page2.DistanceRecord.TableKM.Row1.Locations.Location2.r awValue.length != 0 &&  ExpenseClaim.Page2.DistanceRecord.TableKM.Row1.Locations.Location3.ra wValue.length != 0)

{

blah blah blah

}

 

xfa.host.messageBox("Hello World");

 

if  (ExpenseClaim.Page2.DistanceRecord.TableKM.Row1.Locations.Location3.r awValue.length != 0 && ExpenseClaim.Page2.DistanceRecord.TableKM.Row1.Locations.Location4.ra wValue.length != 0)

{

blah blah blah

}

 

if  (ExpenseClaim.Page2.DistanceRecord.TableKM.Row1.Locations.Location4.r awValue.length != 0 &&  ExpenseClaim.Page2.DistanceRecord.TableKM.Row1.Locations.Location5.ra wValue.length != 0)

{

blah blah blah

}

 

And if I move the "hello world" part to below the third "if", it waits for that. What's going on here?

 

Thanks.

Project Help

$
0
0

I am developing forms-based soft for Bengo Province Gov  - Angola in Africa. The project itself has good financial support, but will to be deployed poorly managed telecom infrastructure, so its a "on/off sync" system with data and validation being done almost local host/clients.

 

I started with MS Infopath and Sharepoint but want to migrate to LiveCycle with Adobe form ..I got solid AS3 and Java Knowledge..But need help and/or partners.

 

Pedro Ngalaxi

Pre-Populating Text fields from a Data drop down list using SQL Server

$
0
0

I'm currently trying to update some of our internal forms which are word based or a basic PDF form you fill in by yourself.

 

I'm connecting to our SQL server as there are databases stored there for an internal bit of software that hold information

I can use to fill in parts the form.

 

I have a data drop down list that is dynamically linked to the SQL databass and allows you to select a Project Number from that database, what

I want to do after this is selected is to automatically populate some text fields with the Project name, Account handler and other fields held in the

database.

 

I've had a look online to see if there is a solution but haven't really found anythig that is similar (although I am new to LC so may have seen it

and not realised) and my Java is non existant.

 

Has anyone tried this and able to point me in the right directions?

 

I'm using LiveCycle ES2 version 9.0.0.2 from Creative Suit 5.5 on Windows 7

 

Cheers

Clearing Signature field

$
0
0

Good morning all. I am trying to get a signature field, "COUNSELING_DATE_INITIAL5", cleared when No is selected. Below is the javascript I have written, but it is not working.

 

  
var   question = xfa.host.messageBox("If you have an Entry Card to digitally sign this field, 
 please select Yes. If not, please select No, complete the form, print, manually signe.\n\n", "Question?", 3,2);      if (question==3){  form1.Page1.COUNSELING_DATE_INITIAL5.access ="readOnly";  form1.Page1.COUNSELING_DATE_INITIAL5.rawValue="";    xfa.event.reset("form1.Page1.COUNSELING_DATE_INITIAL5");}  if (question==2){    form1.Page1.COUNSELING_DATE_INITIAL5.access ="open";  xfa.host.setFocus("form1.Page1.COUNSELING_DATE_INITIAL6");  }                

Please, I need help with the clearing part of the signature script that deals with the signature field.

 

Thanks

 

v/r

 

Tammy


How does one make the xdp to pdf document editable?

$
0
0

I have a document process whereby the document renders, but the user cannot edit the document.

 

How do I change the xdp so that the rendered document will be editable by the end-user?

 

Thanks!

compare two pdfs in livecycle designer

$
0
0

Does anyone know how to compare 2 pdfs in livecycle. So basically what I want is highlight the differences between 2 pdfs.

 

If anyone has any idea it will be really helpful.

 

 

Thanks.

formating the textField element is increasing my file size dramatically

$
0
0

I have a relatively simple form for customers to create business stationery (business card/comp slip) for themselves, to then email our print dept.

 

It's built as follows:

Page 1 Instruction, business card and comp slip samples, the customer fills out the text fields and a submit button to save/email

Page 2 is an A4 sheet of 10 duplicated subforms of the original business card on Page 1

Page 3 is an A4 sheet of 3 duplicated subforms of the original comp slip on Page 1

 

My 3 page PDF file is 3mb with a total of 119kb of images embedded in the file. When re-creating from scratch I have noticed that when I edit the textfield to be a specific size, remove the caption, change font etc the file size increases. Just one text field treated like this has added another 400kb to my file size.

 

I am following the format of a similar form that has as much information (maybe more thumbnail graphics) and that file, over 2 pages, totals no more than 800kb. It has many text fields for the customer to add their details.

 

Could I have a bug?

Is there incompatability/conflict issues with other software?

Anyone else experience this and found a solution?

 

Using LiveCycle Designer (9.0) ES on 64bit Win 7. Did try a recent upgrade for CS6 (elearning suite) that screwed up other software settings and have since removed it (CS6) for now.

 

Thanks,

 

Dom

Why can't I view my 2nd page when I save the PDF?

$
0
0

Hello,

I'm new to LiveCycle. Why can't I see the 2nd page when I save my PDF (I also can't see 2nd page when I preview the PDF). I'm attaching a screenshot.

 

Thank youClipboard01.jpg

action button will not perform on some computers

$
0
0

I have designed a form on LS ES2; The form contains a button. The action associated with it that when I click, it should go to a chosen website. Whie the button performs this action on other Window based comuters (All Window 7) it does not do on this particular computer (Also Window 7). What could be the reason and solution?

Viewing all 5571 articles
Browse latest View live


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