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

Using app.popUpMenu() in Livecycle

$
0
0

I have read some articles by T Parker on how to create popup menus buttons with Acrobat but I can not get them to work in LiveCycle.  The pop up menus work but I can not get it to return a value.  Can this even be used for LiveCycle and if so how?


How to insert table rows dynamically?

$
0
0

I have a table with 18 rows. Each of the first 17 rows have read-only text (mandatory activities) in a text field in the first column; the last row is a blank row with an add button so the user can add a new activity to the bottom of the table.

 

I've been asked to allow users to insert a new activity at any location in the table (for example, to insert a new Row 7 after Row 6), instead of just at the end of the table. (Obviously this also requires removing the text from the activity text box and changing it to User Entered, as well as a couple other housekeeping activities, which shouldn't be a problem if I can just get the darn row to insert!)

 

I've searched the forums and reviewed some of Assure Dynamics excellent examples. From what I've seen, this should be relatively straightforward...but it's not working.

 

Or rather, it works fine in the first row, multiple times even. I've got a message box displaying the current and new row indices correctly for every row. But in any other row than the first, insertInstance() gives me an "index value is out of bounds" error even when the message box shows the correct indices.

 

Given the following structure and code in each row's ActivityAdd button, can anybody tell me what I"m doing wrong? Thanks!!!

 

-------------------------------------------

tableStructure.png

---------------------------------------------

 

T_Activities.R_Activity[0].T_AddRemove.R_Add.B_ActivityAdd::click - (JavaScript, client)

 

var vNewRowIndex = this.parent.parent.parent.index + 1;

 

xfa.host.messageBox("This row index: " + this.parent.parent.parent.index + ". New row index: " + vNewRowIndex + ".");

T_Activities.R_Activity.instanceManager.insertInstance(vNewRowIndex, 1);

 

------------------------------------------------

 

FWIW, I've seen the cautions regarding the instance manager and underscores in object names...for better or worse, *all* of my object names in *all* of my forms use underscores like this, and to the best of my knowledge I've never had a problem. If that turns out to be the problem here, I'll gladly change the names in the table.

No calendar please!

$
0
0

We startet a PDF-Form in Acrobat XI - and define a text-field with the format "date.

 

Then we have to open the form in ES4 and save it. But the date-field gets automatic this calendar, we dont want!!

 

Can we remove this feature???


thanx in anticipation!

XFA form with button to save file with unique filename

$
0
0

Is there a way to save a file with a unique filename using some data a user has entered (name, for ex.) that will fire when the user clicks a Print button? Attached is a file for reference.

Text Field Validation Pattern

$
0
0

Hi, does anyone know if there a character for a text field pattern that can be used for alphanumeric characters, commas, periods, and spaces? Basically anything the user puts into the box gets formatted?

 

Here's the validation patterns I started with:

text{', '0}|text{', '00}|text{', '000}|text{', '0000}|text{', '00000}|text{', '000000}|text{', '0000000}|text{', '00000000}

 

Problem occurs when a user enters values that may contain a space or comma, example (PE, LEED) it doens't validate.

 

Any thoughts? I'm sure there is a way to format this with javascript, but I'm not saavy enough to do that...

 

Thanks,

 

-SW

Shading on a dynamic table (file included)

$
0
0

Hello!

 

I have a dynamic table with a repeating "section" (which consists of Row1 and Row2). Each "section" needs to alternate a different color. I tried the "alternating shading" checkbox in the object pallette but it is not working the way I need it to so I am looking to see if this can be done in code. Not trying to make the "rows" alternate. I need the "sections" to alternate. I did research and couldn't really find anything to help me with.

 

My colors:

First: 255, 255, 242

Second: 236,245,255

 

Here is the File:

https://files.acrobat.com/preview/592e1cb8-a0de-4337-a323-321dd66ba261

 

Thanks in advance!!

How to Optimize an xml PDF that has already been filled out

$
0
0

I have created a pdf file in Livecycle and forgot to uncheck embed fonts. I have already sent out the pdf form and Extended Features in Adobe Reader.  I have received over 300 forms back. Is there anyway to reduce the file size with forms already filled out? Are there any work arounds?

 

PLEASE HELP!! I appreicate any assistance you can provide.

Fragement dialog box ok button is always greyed out

$
0
0

I'm trying to create a fragment and the dialog box is greyed out.  I using LiveCycle ES4 11.0.0.2 (Trial Version).  I don't appear to have any fragment libraries on my box but my document has the little purple * next to the pages.

I've searched the list and have read the Adope LiveCycle Designer, Second Edition by J..P. Terry and could find anything relevant.  Any ideas would be appreciated.  Thanks, Doug

 

 

 

 

 


Automatically populate another field

$
0
0

Hi

 

I have a form where the user enters a 10 digit number at the start of the form and i want to know how to have this number automatically enters it into another numberic field on page 3.

Instance Manager Insert

$
0
0

I’ve created a dynamic form with an expanding table and I am having trouble getting instanceManager to do what I want.

I have 2 buttons, one button is in the header and adds rows to the bottom of the table when pressed using:  Table3.Row2.instanceManager.addInstance(1);

It works.

Within each populated row, there is a delete button.

The delete button works using:  Table3.Row2.instanceManager.removeInstance(1)

Is there a way to add an UP and DOWN button to each row, so when clicked the selected row moves either up or down the populated table?

 

 

Thank you

Why are required fields in a dynamic subform are validated when exiting a field?

$
0
0

Hi,

 

I have a problem with required fields in a subform. My form contains several required fields which behave as intented. But in one dynamic subform – which can have up to three instances – there are problems with required fields.

If I enter a value in the first required field of that subform and exit that field, a error message appears saying which required fields are still empty. It seems like the execValidate() function was called – but there is no such code in my form.

 

The problem disappears if I remove all Javascript code which refers to the required fields in the subform. But this code does not validate the mentioned required fields. It only sets the caption of one field. So I do not understand the relation between that code and my problem.

 

Has anyone encountered the same or a similar problem and knows a solution?

When is the execValidate() function called internally?

 

I'm looking forward for help. Thank you!

 

Kerstin

Set dropdown display value

$
0
0

Hi,

 

I have

  • a populated dropdown list with five entries (entry1, entry2...entry5).
  • a string (which I know is one of the entries in the dropdown list) that I would to be selected in the dropdown list.

 

I have tried using nameOfDropDown.rawValue = myString but without success.

 

I would really appreciate if someone could point in the right direction.

 

Thanks in advance!

 

/Jakob

Setting UK dictionary

$
0
0

Afternoon

 

Is it possible to set or download a English UK dictionary to use for Livecycle Designer?  It's currently defaulted to the custom dicitonary but apparently it's offering american spelling corrections.

 

Thanks

 

Ben

how do I allow a user to save a filled in fillable form in reader?

$
0
0

how do I allow a user to save a filled in fillable form in reader?

 

I created a form in livecycle and i want other users that i send it to, to be able to save that they have typed.

Why won't my buttons work?

$
0
0

I am really embarassed to ask this question, but I simply cannot get my buttons to work.

  • I'm working in LiveCycle 10.4.2 / SAP OEM
  • I have set my form to be dynamic.
  • I'm targeting Reader v 9 or higher.

 

I added a button called "Click Me!"

I added the following script:

 

data.JP_Page1.sub_MentorAddress.Button1::click - (JavaScript, client)

alert ("Hello World");

 

When I preview or test the form in my dev environment (i.e., with data merged, saved as a PDF, and opened on my local machine), the cursor changes to an I-beam over the button and I cannot click the button as I would expect to.

 

I thought that maybe there were security issues related to raising an alert from a PDF, so I also tried to set the value of a text field on click, but that did not work, either. I've tried both FormCalc and JavaScript. No go.

 

I must be missing some basic setting, and I cannot figure out what it is.

 

Any ideas would be very much appreciated.

 

Thanks!


Drop Down - Autocomplete

$
0
0

I know this should be an old topic, however, most of the discussion tread are outdated and unable to find the solution via those reference link.

Below is my ask:

 

I have a drop down with more than 100 options, and i want to improve the user friendliness such that if user key the values, the drop down list will be point to the right option like we did in any HTML drop down

 

i.e.

Drop Down List:

ABC

ABD

ABE

ACD

BCD

BCA

BEC

CAD

 

 

If user types A, the drop down should point to ABC

If user furhter types C, the drop down should point to ACD (Actual now: CAD)

Mobile forms and Designer

$
0
0

Hi there,

Are mobile forms only available with the server version of livecycle ES4 to preview/export in designer ES4?

keith

ES4 as a managed hosted solution

$
0
0

Hi there does anyone know where I can get the full ES4 suite as a hosted solution, ( i work for a small organisation and we cant afford to buy the full suite outright), however if there is a hosting/cloud based company that offers access to this service, it would be within reach for our business). Although this may appear to be in the wrong category, its not as livecycle ES4 designer requires access to ES4 suite in order to create mobile foms.

kind regards

 

Keith

LiveCycle Designer API?

$
0
0

Does anyone know of a way to automate the conversion of XDP Designer forms to PDF Designer forms?

 

Thanks, Doug

Duplicate page

$
0
0

I have a form with 7 pages but I would like to be able to duplicate page 3 & 4. be added if necessary. The principle is if form detail has only 1 person, I complete page 3 & 4, but if I need to add another person, by clicking a button, 2 new pages (copied from page 3 & 4) will be populated.

Any help is welcome.

Thanks

Viewing all 5571 articles
Browse latest View live


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