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

Automatic text insert (using floating field) (?)

$
0
0

Hi,

 

I'm an absolute beginner in Live Cycle Designer, and I'm not very familiar yet with things like scripting,binding, subforms, etc. So if you can help me out, please regard me as a complete dummie and make your instructions very simple and step-by-step.

I searched this forum for the last few hours for solutions to my issue, and I found some questions and answers / solutions that come very close to what I need, but still I can't make it to work.

 

What I would like to create:

a (interactive?) (dynamic?) form in which the user can fill in some personal information in the first part of the form, in a way that this information automatically appears in different places in a paragraph of static text in another part of the form, and that this static / default text automatically moves with the (automatically) "inserted" text.

 

I already know this can or should be done with using 'floating fields', but I don't know how exactly. Which settings do I apply to the 'floating field'? Which to the source text(field)? Do I need to add JavaScript to either the source or the floating field? What JavaScript? Which variables do I have to change in what? Etc., etc., etc.

 

Thank you very much in advance!


Possible to link fields from two different PDF files?

$
0
0

I was wondering if it is possible to link the fields from two different PDF files?

 

My plan is to have a form package containing a master PDF titled "My Information" in which a user can input all of his own information (name, address, number, etc.). Then I want to have the rest of the forms in the package to auto populate with the information entered in the master sheet.

 

This way I can save the user from entering in all of this repetitive information (particularly when we're working with hundreds of forms, all containing repeating fields).

 

Thanks in advance!

Reader users to save data xml file

$
0
0
Hi,
  we can email the data xml file through the form without reader extending it. Thats fine. Instead of emailing it, I just want to save the data xml file to my local system.
What is the syntax to get it? To email it, I generally create a submit button and in the submittoURL field, we write mailto:abc@xyz.com.
What to write to save it to local computer instead of emailing it? I tried saveto: C:\NewFolder or fileto:C:\NewFolder. Nothing works. I think I'm missing the right syntax here.
I know its possible by RE the pdf, you can acheive it using savedataXML(). I want to achieve this without RE to form.
Thanks in advance,

Chaitanya

 

 

Adobe restructuring, Paul Guerette, et al

$
0
0

As a lot of you will have heard, Adobe has undergone a reorganisation (http://www.adobe.com/aboutadobe/pressroom/pressreleases/201111/110811AdobeFinancialAnalyst Meeting.html). The LiveCycle/ADEP team in Ottawa was hit badly by this restructuring, which means that we may not be seeing some of the familiar faces here or on other forums.

 

In particular, I know that Paul has moved on and that he would like people to be aware that he will not be able to respond to threads. In addition he will not get Direct Messages/Private Message or emails to the LiveCycle8 address.

 

Paul was a tremendous help on the forums and we all own him a debt of gratitude.

 

Niall

How to set display patterns on a decimal field to handle user text entered in error.

$
0
0

Hi

 

I'm creating a PDF in LiveCycle, which has a decimal field with the display pattern 'num{zzz,zzz,zz9.99}'.  The idea is for users to enter a numerical value with a maximum of two decimal points (i.e. 1,234.01)

 

Now I'm testing this form out to see whether it'll handle any incorrect user entries - especially the scenario where a user enters some string (letters) in this field by error. When I'm testing this scenario on Acrobat Pro, any text entries will be cleared out as soon the user tabs out of the field (which is exactly what I want it to do as it only should accept numerical values).

 

However when testing this out in Adobe Reader (with Reader Extendability switched on), any text entries are replaced with a "0.00" when the user tabs out of the field.  Unfortunately this is not what I want .  Replacing an incorrect entry with a 0.00 is actually a misrepresentation, because 0.00 is a valid entry that the users should be allowed to enter if they want to (hope that last sentence made sense ).

 

Does anyone have any ideas how this can be sorted? I'm thinking this is something to do with the "Allow Empty" or the "Allow Zero" settings on the display pattern window.  But i haven't got a clue on where to start because I've never used those settings before. Any help anyone can provide me will be greatly appreciated.  Thanks. display pattern.JPG

Custom Email Subject from Form Fields - So Close

$
0
0

Hi folks.

 

I know I have to be close to figuring this out, but I need a smidge more help.  I've made a click event that submits my form, but when I try to add a custom subject from some fields in my form I get nothing.  Not even an error.  Please see the script and pinpoint what I'm doing wrong. 

 

Thanks so much!

 

Background:

 

-Precedence is a drop down list.

-CurrentDate is an automatically calculated text field.

-FullName is a user generated text field.

 

<event activity="click" name="event_click"><script contentType="application/x-javascript">

 var oDoc = event.target;
 var to = "email@email.com";
 var cc = "me@email.com";
 var Precedence = this.getField("Precedence").value;
 var CurrentDate = CurrentDate.rawValue;
 var FullName = FullName.rawValue;
 var subject = "New " + Precedence + " Request From " + FullName + " - " + CurrentDate;

 oDoc.mailDoc({
 bUI: true,
 cTo: to,
 cCC: cc,
 cSubject: subject,
 cMsg: "Please don't forget to add your products and all applicable sources before sending this email.  Thank you."
 });</script>

Is it possible to designate stapling when printing a PDF form?

$
0
0

I am using Adobe Lifecycle Designer (ver. 10.0.1029120306.1.870331) to set up a new report for an SAP application.  I can certainly designate duplex printing from within the form by using Form Properties and the PDF Print Options, but no stapling option can be found.  Is this possible?  Is there a way to set this up from within the PDF form?  If not within the form, what have others found to work for their environment?  We are using Xerox GPD PS printers here and they certainly offer the stapling feature.

 

Thanks for any suggestions...Pat

Problems with page break within table content

$
0
0

Hi All,

 

I have a problem which i can't solve =(

 

I have 3 subforms Header, Table and Footer.

Header and Footer should not have page breaks.

Table creates dynamicly - so i don't know number of rows.

 

If number of rows too much Footer should goes to the next page. Moreover at least one row of table should goes with Footer to the next page.

For Table and Footer subforms i set Keep With Previous flag. This is to prevent page break between Footer and Table and between Header and Table.

But page break in table occurs only if number of rows enough to fill all space of current page...

 

Have you ideas how to solve this?


Hiding borders around text fields?

$
0
0

Hi,

     My pdf form has many text fields with borders. One of the fields has a dropdown click calender date extension, and its border wont hide when printed. The others all work with the preprint* formcalc event as follows:

 

 

ui.textEdit.border.edge.presence = "hidden";

 

any suggestions on how to remove the date fields border?

Thanks,

Daniel

Form Calc If then statement help

$
0
0

I have a form that I am creating that has a dropdown menu (1-10 numbers) which I need to convert the selected number to a long text field on a different field.  The text fields are just too long to use on the dropdown menu.

 

if (dropdownlist=1) then

     (textfield1="some long text")

End if

 

What is the correct format for the formCalc script to use?  I am assuming that I can repeat the number to text conversion script.

 

Thanks

Pre-fill a text field based on drop down menu selection

$
0
0

Greetings everyone!

 

I've been tasked with creating a fillable form my workplace, and unfortunately, LiveCycle (honestly, coding / scripting in general) is not my strong suit.

 

This forum has been a huge asset already, with previous suggestions being of great help.  However, I think I've gotten as far as I can without asking for some assistance.

 

My form already has drop down menus that are populated dependent upon selections made from a prior drop down menu.  I'm trying to find the option to attach a file to use as an example, but until I do (or until I edit in a link) I'll try a quick description.  The form is regarding Alarm System information, and the current fields I have pertain to Manufacturers and Models of alarm systems.  A quick comparison would be cars.  Selecting "Honda" in the first drop down would populate the second drop down with "Accord, Element, etc." as individual options.

 

What I've been tasked with adding now is Emergency Authority information for each area.  This means that the first drop down would be the type of authority (Fire, Police, etc.), the second drop down would be populated by cities based on the first choice, and the third will (hopefully) be a text field pre filled with the phone number.

 

Okay, I still can't figure out how to attach or upload a file here, so I've uploaded it to dropbox:

 

http://db.tt/a7SAVEic

 

(You'll need to click the "Add" button button next to "Authority Numbers" to expand the area).

 

I had come across this (http://forums.adobe.com/message/1334821#1334821) as a potential solution, but I can't seem to figure out how to implement it correctly.

 

If anyone is able to give me some guidance, I'd really appreciate it!

 

- Dave

PDF Signatures - Error Message

$
0
0
When signing a PDF signature field component, results in the following 3 error messages after each other (text correctly shown, spaces and all)

1) The FieldMDP expression for this signautre is invalid

> After clicking on OK on 1), i get the next err message

2) Creation of this signature could not be completed.
Unknown error
Support Information: CSigField-1013

> After clicking on OK on 2), i get the next err message

3)The document could not be signed.
There was an error when attempting to commit this signature. The document was not saved.
The save operation was cancelled.


Any takers?

Thanks in advance for any help

Using Web Service from LiveCycle PDF Dynamic Form.

$
0
0
I have developed Staff Attendance Sheet about 7 years ago using Microsoft Office Web Componenets Data Access Pages (OWC DAP).
See image below of the current report using OWC DAP:
Since we are moving our legacy systems to SAP, this report will have to be re-implemented using Adobe LiveCycle PDF which is connecting to Web Service over SAP Systems (since OWC does not connect to Web Service).
The SAP development team have developed the initial webservice which generates the required data.
I have developed the initial version of the LiveCycle PDF, which can be downloaded from this link:
The following is a screen snapshot of the LC Desinger Form:http://bit.ly/cxMK62

When the web service is executed from inside PDF the result looks as follows:

http://bit.ly/cacbCg

 

The webservice accepts the following required parameters:

 

1. Period: YYYYMM. User Specified Value.

 

2. Staff ID: 9999999. It must be supplied automatcially to the web service and it must be the Windows ID of the User Logged In to Windows
Domain.

 

Other parameters are optional.

 

Assumptions:

==========

 

1. I am not using any Adobe Forms Server Technology. I can use LiveCycle Desinger ES2 and LiveCycle Reader Extensions Server.

 

2. I can alse develop using .NET to get the Logged In User ID (Windows), generate the XDP from ASPX Page and attach the XML to the XDP.

 

3. We are using IE8 with Adobe Reader 9 Plugin (IE add-on) to display LiveCycle PDF inside IE.

 

Questions:

========

 

1. First time the webservice is executed, I will get a prompt to allow/deny execution of the webservice. This is a security issue here, becuase we do not want any user to know the link to the Web Service. How we can hide the link to the webservice and prevent any user from getting the link ?

 

2. How I can stop the Prompt to Allow/Deny execution to the Web Service for good ? As you know, users will get confused, and when we launch this PDF, it will generate a lot of calls to the Service Desk (more than 1000 users).

 

3. The Web Service uses Simple User Name/Password for authentication to run the webservice. I need to embed the User Name/Password inside
the PDF, and also prevent any user for getting them, how ?

 

4. I want to send the Staff ID Parameter to the Web Service Automatically which is the Logged In User ID (Windows). This is the same value of the "Login Name" which can be accessed using Acrobat JavaScript. But the problem, this script must be trusted, and it will be a long story. Any ideas how to implement this requirement using simple methods ?

 

5. If I manage to send the Staff ID Parameter to the Webservice automatically (Logged In User ID), also, I want to prevent the user from sending a different user ID, ie, prevent him from using Import Data to Form to specify a Different User ID for the Webservice Parameter. How ?

 

I appreciate your help if you have any ideas about the above.

 

Tarek.

Loop Through Subform Instances

$
0
0

I'm very new to Javascripts and Livecycle,

 

I have 4 fields (field1.rawValue, field2.rawValue, field3.rawValue & field4.rawValue wrapped in Subform1.  I'm attempting to sum values entered in fields 1, 2, & 3 into field 4 with the following script.

 

var myFields = field1.field2.field3.resolveNodes("Subform1[*]");

 

var sum = 0.0

 

for (var i = 0; i < myFields.length; i++) {

 

sum += myFields.item(i).field4.rawValue;

 

}

 

this.rawValue = sum;

 

When a new instance is added field4(1) should be the sum of field4(0) + field(1) + field2(1) + field3(1).

 

Thanks,

No page break in subform (flag allow page break greyed out)

$
0
0

Hi Gurus

We have the following structure:

- Table

-- Header line (table line)

-- Item line (table line)

--- Subform deliveries

---- Subform deliverynumber

---- Subform delivery pos

 

The data are coming from SAP and we are using LCD9.

 

Basically the printout of our form works fine, except the following case:

When the printing of a delivery starts on the top of the page and there are many items (more than one page), we do not get a page feed. The items are printed over the edge of the page and get lost in nirvana.

 

We saw, that on the 'Subform deliveries' it is not possible to set the flag 'Allow pagebreak' (this is greyed out). The subforms are all set to 'Flow'.

 

Does anybody know such a behaviour and knows how to solve this?

 

Thanks a lot for your help.


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.

'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?

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

if choose something in drop down then checkbox is checked

$
0
0

I want to pick from a list in the drop down.  Depending on what is choosen then a box will be checked automatically.  This

is what I have so far for script.

 

if (dropdown == "blah") then this.rawValue = 1

 

I am not sure if it should be JavaScript or FormCalc...I assume JavaScript since there is no calculation.  I am also unsure whether to put the script on the dropdown box or the checkbox.  Also which event do i use?

 

Thanks

The validity of the document certification is unknown

$
0
0

I have a form that is digitally certified by a signature anchored to the Adobe CA. When the form is first opened, the blue bar appears and states that the certificate is valid. However, after the form is submitted to a server and remerged, the blue bar displays "The validity of the document certification is unknown". However the signature is still valid, as it can be revalidated by going to Sign -> Work with Certificates -> Validate all signatures in Adobe Acrobat XI. How can I stop this from happening?

Viewing all 16286 articles
Browse latest View live


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