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

How to make a submit button that skips validation?

$
0
0

In a dynamic form with custom validation I need to have two different submit buttons. One to submit form data as is and and other to validate the data first then submit.

 

How can I create a submit button that skips validation?

 

Thx


Submitform as pdf mailto with cc and IBM Lotus inotes blank address

$
0
0

I have a form with a standard button to send the entire pdf by mail. My mail client is IBM Lotus iNotes. When I include a cc variable or two address in the address field, both address and cc field is left blank in inotes when it opens. I have adobe professional 9.0 and IBM Lotus iNotes 8.5.2. This is my button javascript code on its click event:

     var address1 = "address1@caja.com;address2@caja.com" ;

     var subject1 = "My Subject";

     var body1 = "My Body";

     var cc1 = "addresscc@caja.com" ;

    event.target.submitForm({cURL:"mailto:" + address1 +"?subject=" + subject1 +"&body=" + body1 + "&cc=" + cc1 + "",cSubmitAs:"PDF",cCharset:"utf-8"});

 

If I try with outlook as mail client, it works perfectly. It seems a inotes bug. Doesn't it?

Thank you in advance.

How do you make a text field Read Only after it is saved and distibuted?

$
0
0

How do you make a text field read only after it is saved and distibuted?

 

LiveCycle Designer ES 8.2

 

This JavaScript code on the exit event:

textField1.access = "readOnly";

 

This works after the user loses focus on the field, however after it is saved and distributed, that field is no longer "read-only".

 

I need to have staff insert information into a text field and then distribute it out to customers, and those fields have to be protected.

 

How do you do this?

 

 

Check box - When yes is checked no will uncheck

$
0
0

I need help figuring out how to make the check boxes to where only one option can be checked at a time, either yes or no. I am using check

boxes rather than radio buttons because i also need them to be able to be unchecked by re-clicking on them.

I am fairly new to this i would need a step by step for the most part. Thank you!

iPad Adobe Reader and LiveCycle Forms

$
0
0

I have just created a form in Adobe LiveCycle Forms through Adobe Acrobat 9 Pro and cannot get it to work on my iPad Adobe Reader App.....  I would like to create a pdf form that works on the iPad Adobe Reader app. Please help.

 

Cheers.

Bullet Points in Textfield

$
0
0

     I attached a sample pdf to show the problem I am having. I created a text field that is supposed to have bullet points. However bullet points are not selectable in the "paragraph" toolbar of Livecycle. Screen shot attached. Althought it looks like the button is selectable, nothing happens when I click on the button. The numerical bullet button acts in the same manner.

 

List.png

 

What am I missing here? All I want is the user to enter their text into a text field such as:

 

  • Afghanistan
  • Australia
  • Bangladesh
  • Canada
  • England and Wales

.....and get bullet points in front of each line's begining.

 

https://workspaces.acrobat.com/?d=qahtw*LakJO7LcRVN7*icw

installation error - LiveCycle Enterprise Suite 4 - Designer DEMO

$
0
0

Hi,

I've downloaded the demo version of and it's asking for a serial?

Is this normal, where do I get a serial to run my demo version?

 

Cheers, Veronica

Check for required fields before locking subforms and submitting

$
0
0

Hello,

I have a 5-page form with many questions, to be completed by the original requestor and multiple approvers.  What I'm trying to do is have the original requestor's Submit button on p. 3 lock the input on the first three pages, but first check if all those fields have some content.  I currently have all the fields on pp. 1-3 set to "Required" in the object properties, but my script still locks them when there's is one empty one.  Here's what I have:

 

//Lock portions of form
Page1.access = "readOnly"
Page2.access = "readOnly"
Page3.access = "readOnly"

//Save document, allow user to change name
app.execMenuItem("SaveAs");

//Submit via e-mail
Submit_REAL.event__click.submit.target = "mailto:someone@some.com" +
"?subject=Subject text" +
"&body=Message";
 Submit_REAL.execEvent("click");

 

The automatic check for required fields happens after the pages get locked.  I would like the check to stop the process before it locks the pages.  Is there any way to check all at once that all "Required" fields on those pages have some content before allowing the script to proceed?  I know how to script it to manually check the 50 or so questions on those pages, but I would like to avoid that.  Thanks for any help.


Eliminating Zeros using FormCalc

$
0
0

Hi all, I am wondering if there is a way to hide or eliminate zeros in calculations using FormCalc instead of Javascript.  Anyone know how to do this?

 

Thanks

Connie

LiveCycle form doesn't work propery in Firefox, Chrome and Safari. Web brower issues

Help with Performance Review form

$
0
0

Hello. I've research many hours and managed to piece together some working script for a Performance Review form. I'm using Live Cycle 11 and java script. if there is already an answer for this post please direct me to the URL. I understand scripting but don't use it enough to be proficient. So here we go....

 

1) the form consists of 12 categories - and each category has: a label, drop down, text and text field

2) The drop downs are identical rating choices numbered 0-5. i set 0= "(Choose One)"

3) If a user selects rating 2,3,or 4, the text field is optional

3) when a user selects 1 (unacceptable) or 5 (Excellent), the corresponding text field is set to mandatory with a message prompting for an explanation (i used the action builder for the message). in the script below "Relation" is the category - all drop downs have the same script syntax referencing the their category

     form1.AssociateReviewPage2.RelationRating::exit - (JavaScript, client)

     if (this.rawValue == "1")

     {RelationDescription.mandatory = "error";}

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

     {RelationDescription.mandatory = "error";}

     else

     {RelationDescription.mandatory = "disabled";}

4) so far, so good - except that i could not get a mandatory message to pop up in the script and i don't get an error prompt that a required field is empty when i exit or save the form

 

For the next challenge:

1) I have a calculated-read only field i need to average the values of all 12 drop down categories to assign an overall rating to match values 1-5. i haven't been able to figure this one out.

Why does behave as ?

$
0
0

Hi,

 

I'm trying to understand the logics of subforms splitting implemented in Acrobat Reader. Some of my experiments go in contadiction with XFA spec v3.1. For instance, I wonder why keep intact="contentArea" behaves as keep intact="none".

 

Here's an axample of code (both template and dataset description):

 

<template xmlns="http://www.xfa.org/schema/xfa-template/2.6/">

<subform layout="tb" locale="en_US" name="inventories">

  <pageSet>

   <pageArea id="Page1" name="Page1">

    <contentArea h="576pt" w="756pt"></contentArea>

    <medium long="792pt" orientation="landscape" short="612pt"></medium>

   </pageArea>

  </pageSet>

  <subform layout="tb" w="756pt" name="a">

   <subform layout="tb" name="inventory" w="263.35mm">

    <subform w="260.7mm">

     <occur max="-1"></occur>

     <field access="protected" h="123.85mm" w="260.446mm">

      <font size="9pt" typeface="Courier New"></font>

      <bind match="dataRef" ref="$.pages.page[*]"></bind>

     </field>

    </subform>

   </subform>

   <keep intact="contentArea"></keep>

  </subform>

</subform>

</template>

 

<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">

<xfa:data>

  <inventories>

   <inventory>

    <pages>

     <page>PAGE 1</page>

     <page>PAGE 2</page>

     <page>PAGE 3</page>

    </pages>

   </inventory>

  </inventories>

</xfa:data>

<dd:dataDescription dd:name="inventories" xmlns:dd="http://ns.adobe.com/data-description/">

  <inventories>

   <inventory dd:maxOccur="-1">

    <pages>

     <page dd:maxOccur="-1"></page>

    </pages>

   </inventory>

  </inventories>

</dd:dataDescription>

</xfa:datasets>

 

From the code above it is clear that subform "a" should not be splitted into different content areas. However, Acrobat Reader creates 1 page per each "page" in dataset.

 

Source PDF file is here: http://dl.dropbox.com/u/80851334/keep-intact.pdf

 

Kind Regards,

Alexander

Export only select fields into CSV?

$
0
0

Hello everyone, I am new to livecycle and adobe forms in general and despite having a fair background in VB and JS I find livecycle to be very very difficult to work with.

 

I am attempting to make a distributable, fillable timecard that exports certain fields into a specificly layed out CSV file. This file will then be directly imported into my accounting software. Livecycle/adobe exports a file that captures every fields value so I end up with 200 lines of empty data that I just dont need. Response filtering is non-intuitive and I cannot manage to create an export that I can even re-parse correctly.

 

Basically is there a way to specify which data is exported, all non-null values would be very helpful, as well as the format of the CSV?

 

This logically seems like it would have a simple solution but I just keep running into walls. I am looking for any help. Links to information would be most helpful!

 

Ultimately I want to have a PDF that is server based and served via webservice, that can be browsed to from outside locations. This pdf would be fillable and would save a copy of the pdf along with custom formatted .csv for importation on the server in a given location.

Importing data into dynamic form

$
0
0

I have not yet had a chance to work with LiveCycle, and I have been given a project which I need to determine if LiveCycle would be the correct solution. The client originally wanted this to be a Microsoft Word form, but I doubt that I can meet the requirements using Word.

 

I need to design a form which a user can enter multiple line items either manually, or by importing existing data. The data itself would be about 40-50 distinct pieces of data, in a block of  several sections and multiple lines (i.e Name, Address block, Phone/fax/email, contact and comment section, etc) and would be a combination of text fields and checkboxes. There would be 2-3 of these blocks per page (with a static header/footer), plus a cover page with data fields for the organization using the form.

 

I know that I could create this type of dynamic form in LiveCycle to be entered manually, but I don’t know what options, if any, I would have in giving the user the ability to import existing data from an unknown source (could be a text file, a local or hosted database, excel, etc.).

 

My questions are about the feasibility of LiveCycle for this project:

 

Can data be imported from a data source the user chooses? Are there any limitations to what kinds of data sources can be used? Would I need to program a custom function to allow the user to match the proper fields for the import, or is there a built in function to handle this?

 

Would there be any platform/application limitations? Can the form be used with Reader on a desktop computer (Mac or PC), or on a tablet (and if so, is a specific app necessary instead of the default app)?

 

Are there any other foreseeable issues I may have to deal with?

PDF Form with Save Button

$
0
0

am a new user to LiveCycle.. I am looking at creating a pdf form which the user will use to fill in some fields. Once the user is done, he should be able to click a button on the form, which will read as "save". Upon clicking the script behind this button should fetch the field value from 3 fields in the form, concatenate them to create a valid field name and store the pdf form with data entered as a pdf file in a pre-defined path that is defined within the script of the "Save"Button.

I am attempting LiveCycle Designer ES4 trial pack.

Regards

VP


Read Out Loud

$
0
0

I have been making Accessible Forms with Acrobat for a few years. I am fairly new to LCD.

 

I have a PDF form designed in LCD ES4. I applied roles to the lists and headings, associated table headers and cells, added tooltips or custom text etc.

 

For generating Accessible Tags, I used the Form Properties Save Option.

 

I know you cant edit LCD forms with Acrobat, or use the touch up reading order tool etc.

 

When I look at the properties in Acrobat it says the PDF is NOT tagged.

Read Out Loud just says Warning Empty page.

 

I am using the Read Out Loud from Acrobat XI.

Can't import XML form data via Acrobat DC

$
0
0

I've created a moderately complex fillable form using LiveCycle Designer ES4.  After completing the form, users click the form's Submit button to email their data (in XML format) back to us.  Upon receipt of the XML attachment, we use Adobe Acrobat X to import the data back into a blank copy of the form.  It works well.  However, our IT dept. says we must decommission Adobe Acrobat X and move to Adobe Acrobat DC (they are not keen on moving to Adobe Acrobat XI because they think that it will also soon reach the end of its support life).  Adobe Acrobat DC is supposedly capable of importing form data (as explained here) but I can't get it to work.  I make it as far as the second step in the "Import form data" section of that Adobe help file, then I'm hit with this error message: "This form cannot be edited in Adobe Acrobat DC,  Please use Adobe LiveCycle Designer to edit this form."  That's a confusing message, in that I'm not trying to "edit" the form; I just want to import data into the form.  LCD ES4 can't import data, so it looks like I'm stuck.  Can anyone suggest a viable workaround?

Adding Time in LiveCycle (FormCalc)

$
0
0

Hello,


Hoping that someone can help me with FormCalc code. I am a novice at LiveCycle and by no means a programmer. I am currently working on a form where several sets of START and END times (24hr clock) are entered - sometimes more than 10 sets.


The form is then supposed to calculate the difference between each set of times then give a total time.


E.g.

START1: 14:00
END1:    14:30
TOTAL1:  0:30

 


START2:  14:45
END2:      15:35
TOTAL2:    0:50


START3:  15:40

END3:      15:55
TOTAL3:    0:35                    TOTAL TIME: 01:55

 

 

START14:0014:4515:40
END14:3015:3515:55
TOTAL0:300:500:35


 

TOTAL TIME1:55



See the attached sample PDF form. http://1drv.ms/1SzWYPX


So far Ive been able to script the form to calculate the difference between START and END times in hours and minutes (24hr) in Formcalc without getting a negative result even when the END time is the next day by slightly tweaking a suggestion made in another thread on time-sheet calculations https://forums.adobe.com/message/3428679. However, I am unable to add all the times together to give an accurate total time in HH:MM.


I searched extensively for examples of script for adding hours and minutes in Formcalc, but I haven't found anything thus far. I would be extremely grateful if anyone could point me in the right direction.


Is it possible to do this in Livecycle, that is add a set of time by referencing fields that were already scripted to calculate the difference between time?


Any assistance would be greatly appreciated.


Thanks in advance.

Read table from data connection

$
0
0

Hi,

 

I am designing a PDF form which has a data connection with SAP which is loading correctly on the mapped fields when the document is generated.

Apart from those fields I have a requirement to hide tables rows in this form after reading data from the data connection. The table looks like the highlighted one below - ET_COND_TEXT1:

Capture.PNG

I have to read the data in the field CCONDTYPE and CCONDGRP. I've tried logic as below but it doesn't seem to be working:

var lt_cond = xfa.datasets.dataDescription.Z_FM_PNC_CORRResponse.resolveNode("ET_COND_TEXT1");
var rowCount = lt_cond.nodes.length;
for( var i = 0; i<rowCount; i++){
thisValue = lt_cond.nodes.item(i).COND_DET.CCONDTYPE;
if(thisValue != "BC0269" ) this.presence = "hidden";
}

 

Please help on this.

 

Thanks,

Abhi

What is the best solution for XFA forms to be viewed on web browsers without depending on adobe reader plug-in on

$
0
0

Hi experts,

 

My company is currently creating XFA forms in LiveCycle Designer ES2/4 and using ASP.Net technology to get the forms and the xml data on web server, then send the xdp package back to client web browser to display PDF forms filled with the data. On IE or FireFox, the forms are shown well as the browsers have the Adobe Reader plugins supported. However, Google Chrome has stopped the Adobe Reader plugin compatible, which can only display PDF form without the data like IE or FF.

Would you please give me some suggestions what is the best solution (LiveCycle ES4 Server, AEM or HTML5) to resolve this issue? 

 

Thanks in advance!

Michael

Viewing all 61369 articles
Browse latest View live


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