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

exclGroup: something is rotten in the acrobat 10

$
0
0

Hi,

i've found interesting acrobat "feature". I made up xfa form for submission with  2 required fields and 2 radiobuttons between them [1] with the hierarchy [2]

When i click on submit button only 1.textfield complain about missing value.2nd textfield is just ignored. When I move 2nd. textfield above radiobuttons in hierarchy tree[3] everything works like charm. In Reader DC everything works as expected.Also when i change formproperties->Defaults->targetVersion from  10+ to 9.1+ even in acrobat validation works. Does someone find acceptableworkaroud for this feature?( solution is not, dont use acrobat version 10) .Thank you

 

Configuration

Adobe Designer ES4 11.0.1.20...

Adobe Acrobat X Pro 10.1.16 - affected version

xfa-template 3.3

Disclaimer: I've reinstalled acrobat and have most updated patches

 

 

 

1.

feature.png

 

2.

3.hierarchy.png

 

hierarchy2.png


fonts

$
0
0

I am creating a form in LC Designer.   I have a text field, that once form is in PDF format, the use needs to be able to edit font size and appearance.   Is this possible and if so, how?   I have tried various things. 

 

Thanks!

Focus on field

$
0
0

Good day everyone,

 

Another question here.

If I have a field that as focused in it, is there a way, programmatically or otherwise, to remove focus from said field when scroll down is activated?

I know I can remove the focus by clicking outside the field and that's fine, I'm looking for a way to do that too but when a user simply uses the scroll button on the mouse but the cursor still remains in the field.

 

I asked something similar (the jumping effect or sling shot effect) in another post, but maybe this one will present the issue in another way and maybe I can get lucky enough to get some ideas from you guys/gals on how to fix this one

 

Thank again for your help,

Need to unlock all fields after submission for further edits

$
0
0

Hi. I'm a newbie to Livecycle Designer and I've taken over a project from someone else no longer with my company. It is an insertion order form built in Lifecycle Designer that locks all fields after submission. I've been tasked to make this form unlockable for further edits. I've tried creating a button in the form that does this:

 

Submit button code:

 

myScriptObject.LockAllFields(InsertionOrder);

myScriptObject.UnlockAllFields(ButtonUnlockFields);

 

Unlock button code:

 

myScriptObject.UnlockAllFields(ButtonUnlockFields);

 

It doesn't seem to work. Any help would be much appreciated.

Arithmetic over/underflow error on form open

$
0
0

I've tried finding a solution to this on my own using other examples from previous forum posts, but nothing has worked. I have a form containing some fields that perform a simple "present value" calculation. The calculation works, but when you open the form, I receive the following error:

 

overunderflow.JPG

 

Of course, all of the fields involved in the calculation are blank when the form opens, so there's nothing to calculate, which is, I think, what is causing this error.

 

Is there some formcalc script I can use to prevent this error?

 

Thanks for any help you can offer!
Jamie

Detecting "Save a Copy" Saves in Abrobat 11 or older

$
0
0

I was wondering if there is a way to write code to detect when "Save a Copy" is used in Acrobat 11 or older when saving a document? I would like to use said code to popup an app alert to advise the user, prior to saving, that using "Save a Copy" strips Reader extensions and that they should instead save using "Save" or "SaveAs". I know I can use the app alert in the presave event but it allows the user to save first before the alert is shown and I would very much like the warning to come first so they can cancel the save. Acrobat DC appears to have removed "Save a Copy" so my question is specific to Versions 9-11.

 

Thanks in advance!

displaying an unordered list (passed as input)

$
0
0

I need to display an unordered list inside a simple pdf file, something like this

 

-  Line 1

-  Line 2

 

That list has to be passed to the report as input (from my web application code).

 

So I created a Rich TextField and bind it to a xml field expected in input for the report.

Now if the input value for that list is this:

 

     <body><p>- Line 1 </p><p>- Line 2 </p></body>

 

The pdf report correctly display:

-  Line 1

-  Line 2

 

but in case of a long text

-  jdjdkddsd....

jkkolk

 

instead of:

-  jdjdkddsd....

   jkkolk

 

So is there a way to get the correct indentation ?

     I tried with <body><ul><li>- Line 1 </li><li>- Line 2 </li></ul></body> but it doesn't work.

Isn't the UL tag supported?

calculation across multiple pages liveCycle Designer

$
0
0

I'm trying to run a calculation across two pages. The Numeric field I use only recognizes page1 or page 2 depending on which page it is placed on the design view. This is the automatic script

 

Form.Page1.NumericField1::calculate - (JavaScript, client)

 

TIA


table rows truncating

$
0
0

Livecycle Designer ES2 - filling form with xml file and table rows can vary. If i have less that 49 rows all looks good. Table loads on first page as desired and goes on to second page. If I have more than 49 rows it skips the first page, starts displaying on 2nd page and truncates the data at the end of 2nd page. The footer displays fine on the 3rd page but the rest of the body rows should have displayed before the footer. Has anyone seen this or have any ideas?

How do I download Quick Fix 1101.002?

$
0
0

I work for a company as a Local Systems Support specialist... one of our employees needs me to download and install quick fix 1101.002 for Livecycle ES4 sp1, however when I go to the quick fix page (LiveCycle Help | LiveCycle ES4 SP1 | LiveCycle Designer | Quick Fix 1101.002 ), there is no download link - only instructions for what to do with the downloaded file.

 

I should note: My manager used her Adobe ID to purchase this product, and she was fired last week... therefore, I do not have the ability to sign in with the Adobe ID that was used to purchase this software. How can I download the quick fix with this in mind?

database connection

$
0
0

hello,

i hade made a form with adobe livecycle designer.. i also connect it to ODBC database... i have added buttons to the form like (next, previous, last, save)

my question:

 

when i enter a new data to the form and press on save button the data i entered disappear and not saved to the database..

 

how can i make save button and add button works probably, please help me

 

thanks

Create and Attach Event to Button via JavaScript

$
0
0

Hi Guys,

 

is there a way to create an event dynamically and attach it to a button?

My idea is basically:

-) Create an event (eg click)

-) add a script node to the event

-) add it to a button

-) force a remerge of the different models

 

What I tried is to change the type of a existing event and then using remerge() to have in the DOM but that didn't work.

 

If it is possible to change the event type of an existing event that would also work for me.

 

best regards,

John

Can you define an event programmatically?

$
0
0

Does anyone know how to define an event programmatically for a form object using JavaScript? My example is this:

 

I am passing form fields to a validation function in a JavaScript object by calling scriptObj.addToValidation(this); from the field initialize event.

 

The field object is added to a JavaScript array so I can check for null values of potentially hundreds of fields with one block of code. What I also want to do is define the click and enter events for each object programmatically from the addToValidation(obj) function while iterating through the array. This way I wont need to add code in each field in the design view, my goal is to take as much code out of the form fields as possible and put it into a script object using an object-oriented approach.

 

A path I was looking down was trying to access the event by: fieldObject[i].event__change = ... If you print the event__change or event__enter to the javascript console you can see it is an XFAObject but I cant find any doco about these objects and dont know if Im on the right track.

 

Hopefully this makes sense, please talk to me LC gurus!!

Numerical calculation affected by text value

$
0
0

I have a text field on my livecycle form where the user enters a postal code.

 

Essentially I have TOTAL (number field) that is determined from a variety of standard number calculations, but the last step is to increase the TOTAL by either 10%, 15% or 25% depending on the postal code entered in the text field (the location of the user).

 

In some cases the first 3 digits of the postal code are sufficient to determine which rate increase applies.  In other cases the entire 6 digits of the postal code will determine the increase.

 

I've never had any javascript training, just a complete novice that works with basic if / else javascript and a variety of helpful forum posts.

Since I am essentially separating postal codes into 3 groups, what's the simplest approach to doing this?   The PDF form must remain self contained (no outside links).  Thus far I have used hidden number fields for all rating.

Duplicate Data Fields Help Needed

$
0
0

We have a 9 page Word form that has some duplicate information, have converted it to LiveCycle but am stuck on finding out how to have the data from one field also show in another so the user does not have to enter twice.  Eventually we will remove the duplicate fields, but for many reasons, right now they must remain.  I don't want a Contractor to have to enter their Company name twice, etc., and have my main data collection form in the front of the 9 pages, and then when they get to the last page with sigs, etc., I would like what they've already entered for their Company information to show.

 

I am very new to Designer ES, and when I did some forms in Adobe 9.0 Forms awhile back, all I needed to do was to name the fields the same and if I entered info in one it would show in the other.  ES does not seem to do that, and I can't seem to find out how to add any code to the field.  Don't know why but alot of my options are grayed out.

 

Anyway, would very much appreciate help, thank you.


How to bold a one word in a textfield

$
0
0
I would like to bold a few randomn words in a sentence used as a rawvalue in a textfield.

e.g. "Thisword should be bold"

Does someone know how to acheive the above through scripting

Thank you in advance

Aditya

The data in the file [file name] has already been added to the response file

$
0
0

I'm obtaining this error when trying to import(Add) new PDF forms into the PDF Portfolio response file distributed with PDF's. It's a new problem. I've never seen this before. In fact, I imported a few dozen forms back in November. Now, I can only import one PDF form, after which this error is returned for any attempt to import additional PDF's.

DataInTheFileHasAlreadyBeenImported.png

I have renamed PDF's, redistributed the Portfolio file, and hunted for any unique identifier in the PDF forms that might be tracked in the Portfolio file, or perhaps a database of imported documents which might now be corrupted. As ANY PDF form can be imported, but only one form, I am suspicious that the issue isn't related to uniqueness, but rather related to something problematic with the PDF forms themselves, or the Portfolio file.

 

Now I'm completely stumped. Any ideas?

 

The same behavior appears in both environments that I use: Acrobat 10.1.4.38 forms (Reader Enabled) built and distributed with LiveCycle Designer ES2 Version 9.0.0.2.2... on XP Professional and on Windows Server 2003.

 

I posted this issue over on the LC Google Group a few days ago. There hasn't been any reply there.

 

https://groups.google.com/forum/?fromgroups=#!topic/livecycle/MZWkpecy8jk

 

Kind regards,

Brian D

Form export problem

$
0
0

I have a form that I am trying to export data from. Total number of filled forms is more than 200. The problem is that the merge to spreadsheat option only exports some of the form fields not all of them despite being fillable! What can I do? I was referred to this forum as the form was created by LiveCycle Designer.

 

This is an example of the form that I am using with the problematic fields filled with the words Does Not Export.

 

https://drive.google.com/file/d/0B8P3gtszpbmiZU9vQ0t0TFAzLUU/view?usp=sharing

 

Please help me.

extract and email specific page

$
0
0

Ok, so I have a 2 page form.  I have a pre-travel form and a post travel questionnaire.  What I would like to do is be able to send out the two page from, have the person complete the information on the first page, hit a button that will email JUST page 1 to myself and another person (or a distro box).  When they return, they would complete the second page and the button to submit via email would only send the second page of the form. 

 

Is this possible or am I living in a dream world?  I am using livecycle for the first time.  I'm decently knowledgeable of JavaScript BASICS but right now when I preview PDF, I have to enable all features/trust host then it gives me a JavaScript disabled notice at the top as well.

How to convert lowercase to uppercase characters?

$
0
0

Hi!

 

I am a newbie to LiveCycle; I have created a form but I want all characters in the field to automatically be converted to uppercase, regardless of the input.

 

 

Thanks

Jofar1

Viewing all 5571 articles
Browse latest View live