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

automatic numbering in a invoice form

$
0
0

Hi,

how to create an automatic invoice numbering in a form on LiveCycle Designer 4?
Each realization of a new invoice number must appear after the number of the previous bill.


Thank you in advance for your help.


How to Clear red border for a mandatory field

$
0
0

  On exit event I am using the script below to clear the red mandatory border around the field:

 

if (IssueDate.rawValue !=null)

{IssueDate.mandatory = "disabled";

}

else

{ IssueDate.mandatory = "error";}

 

I am using the same script for a field in a repeating row of a table

but does not work!

What I am doing wrong?

 

Thank you for your help

Populate Text Field from Multiple Drop Down Lists

$
0
0

I have a text field where I would like the data to be automatically prepopulated from a drop down list that the user selects, the only issue I have is that there is potentially 30 different drop downs that this data could come from so would appreciate any ideas on how this could be done.

Pagination is still greyed out

$
0
0

I want to add multiple master pages to my form (one in portrait, one in landscape).  I thought this would be easy.  I am pretty new to Livecycle but I thought using the pagination settings would be the way to do it.  Unfortunately the settings on the pagination pallet are always greyed out.  I've looked around on other discussions here and the answer seems to be to set the subforms to flowed.  I've done that to all the subforms on my first page (event the tables that didn't need it) and the pagination settings for the master pages are still greyed out.  Is there something I am missing here?

XML with Textfield values

$
0
0

I would like to edit a textfield with default text in it. For example textfield would look like:

 

"Blue Car's are faster because they run on a special fuel. Jim bought the Blue car model [textfield.rawValue]"

 

I'd like to add a textfield value in this text. However this gets complicated mixing xml and javascript. Is there a way to do this in the xml? If I try and script this senetence it in javascript the rich text gets lost. Any ideas? My actual use is more complicated than this so I have tried to simplify it. Thanks.

 

To clarify.

 

I either want to add textfield values to be included in an xml script thus giving me a Rich Text sentance with textfield values in the sentence where I add them.

 

or

 

I want javascript to be able to script the text into rich features such as Bold and italics. With javascript I can easily add a textfield value.

Line Height inside a text field

$
0
0

I have a text field with some text already scripted to be entered when a button on the form is pressed. How do I get the line spacing size between paragraphs to be a space of 6pts (or whatever size) I choose when the font size is 12pt? Baseline shift doesn't seem to work for this, nor does span style font size change to 6pts, or I don't know how to properly script for it.

The red line near the top with small text is the line I am trying to make blank and at 6pts. Thanks!

 

https://workspaces.acrobat.com/?d=K*tHiL0q*3Q-j5U9XkO9bg

Positioned Signature Subform Issue

$
0
0

I'm building a sales contract form and am struggling to find the best way for the signatures subform to appear only on the last page and not be overwritten by flowed data from the subforms making up the detailed data.

 

Let's say the signatures area should be fixed at a Y value of 7" for a height of 3" so it takes up 7 - 10 in the y values.

 

I want to allow the flowed data (let's say they are contract items even though there are several flowed subforms) to extend into the signature area for all pages that are not the last page. I don't want the flowed data running into the signatures on the final page.

 

So whichever page the signature subform is going to display on, the flowed details should end before inch 7 of the page. But if the flow is going to extend to muliple pages, the signature should not appear and therefore we can use inches 7 - 9 for additional line items.

 

I also have page number footers that appear on every page.

 

What is the right way to do this?

 

Right now I have placed this subform on the master page in a fixed position to occupy inches 7 - 10 on the page. I was thinking to write some javascript in an event  (maybe docReady?) and make the presence of this subform visible when page number = pagecount. I'm not sure the exact way to do that but it still poses a problem that the flowed data could be finished on page 2, but occupying area I need for my signatures.

 

There must be a standard solution for this - right? I haven't been able to find it through searches.

 

Thanks in advance.

Scott

loading data from xml file for the preview html5

$
0
0

I created a form with livecycle design now I installed es4 but I can not make the preview with an xml file that contains data that is to exploit the drop-down-list, while doing the preview in pdf I can load this data.

How can I load this xml containing data in the drop-down-list?

Thanks for your attention.


Data limit for extracting XML?

$
0
0

Hello All,

 

Can anyone help with the data limit for extracting an XML from a text field?

 

Scenario: I have a text field with limit defined as 1000 characters. Can you please let me know if there is any limitation while extracting an XML with a text field having 1000 characters?


Thanks,
Tanmay

Change button background fill property

$
0
0

Hi,

 

I'm building a dynamic form and I have a requirement to change button background fill style from Linear to Solid using javascript. I'm using Linear style to represent active button and Solid style for inactive buttons. Can someone please help me with sample script?

 

 

Thank you,

Sandeep

Populate Text Field Based On Drop-Down List Selection

$
0
0
New here, can someone help with the following;

Dropdown list > address info is based on list selection (address info is multiple lines "address, city, st, zip, phone"

 

So user is filling out a form, selects recipient, and the address info + phone populates on it's own (into a text box) based on the item selected in the drop down.

Thanks,
Todd

How to make a section disappear when you click a radio button

$
0
0

I am trying to figure out two questions;

 

  1. On the Adobe LC form my company has created, users have the option of choosing one of two radio buttons at the very start of the form. I want to know how to make a specific section underneath these radio buttons disappear, based on which button was selected.

          For example, let's say users have the option of choosing two radio buttons: YES or NO. If YES is selected, only "Section 1" should be filled out later in the form, and not "Section 2." So, my question is that if a user selects the YES radio button, how do I make "Section 2" disappear, or at least be unusable.

 

2. My second question also relates to radio buttons. If a user selects a radio button, but then realizes he/she no longer wants to select that option, is there a way to let the user click the radio button again, and make the selection disappear? For example, say there are again two radio buttons, YES or NO. Say the user accidentally clicks on YES, but then realizes they do not want either YES or NO to be selected. How do I give the user the option of unselecting the YES button.

 

Thanks, and help with these questions would be very much appreciated!!!

How to convert numbers to text in a form created in LiveCycle Designer?

$
0
0

I am relatively new to Livecycle Designer and very much a newbie with JavaScript and FormCalc.  I have created a Conditional Sales Contract form and when the user enters a dollar amount (1548.95) I would like to know how to  auto fill a text field with its text equivalent ( One Thousand Five Hunderd and Fourty-eight dollars and ninety-five cents).  I have found two forums explaining how to do this in Acrobat 8 but nothing in LiveCyle Designer.   Can this be done in LiveCycle and can anyone please help me with the script?

thanks

Using LiveCycle how can I edit an individual field row value in table after use Global data binding?

$
0
0

I have created a 90 row table using "Repeat Row for Each Item" distributed in 4 pages, I have a field named "Manufacturer" which has a drop down with six values, I also used the "Global Data" binding on that field, to facilitate the data entry, and works perfect just there; because if for any reason reason I need to change the Manufacturer value in one or 2 individual rows, after selecting the new value in the dropdown in that row, this would change the value in the entire Manufacturer column.

 

I wonder if there is any script or other way to edit just one row after being populated. I am not a programmer but I am good following instructions. I appreciate the Help.

How to make a field required

$
0
0

I'm using Adobe LiveCycle 8.0. I just created my first form. There is a few fields I would like to make required. I already have the TAB order the way I need it to be. Here's what I need to happen: If a user starts filling out the form & does not fill in any information in the client ID field, & they hit the TAb key, I want some kind of error to pop up telling them the client ID field is required. Is this possible? Thanks


How do I enable users to add tables at runtime?

$
0
0

I would like to allow a user to be able to add tables to a pdf at runtime. To be clear, I have a table created and wish to add a set of buttons that allow a user to expand or add/subtract rows to a table with a button click, or similarly, add a complete table at runtime. I have figured out how to add rows but cannot get the table to work. I am using Adobe LiveCycle Designer ES2 on a Dell Latitude E6510 laptop with 32 bit Windows 7 pro.

Beginner Questions on Using Livecycle - Form Driven By Combo Box?

$
0
0

I am new to using LiveCycle and have some basic questions.  Hoping someone can help put me in the right direction.  I have created a form, with fillable fields and binding field names.  I still need to make the SQL database table, but that is not where I am looking for help.  Below are my bulleted questions, as I am not sure how else to list them out.

 

  1. I have some text boxes and some text fields.  The text boxes should not have tab control, they are really just labels for the text fields.  Is this a bad setup, or is that ok?
  2. I have a combo box at the top of the form.  I would like to have some code to control the rest of the form -
    • Hide or show text fields based on the option chosen
    • Set the value of text boxes based on the option chosen
  3. I have the first option of the combo box set as UNASSIGNED, but would rather it be blank until someone chooses an actual value.  Is that possible? 
  4. The end goal is to have people save these forms in a folder (they will be offline and have no other choice).  When they are back on our domain, I will either look to use an Access front end form or other method to choose the folder and have all the data from all the pdfs in that folder imported into the appropriate table
  5. I would like to export a list of the text field binding names, so I can just have that list to build my sql table.  Any quick way to get that?

 

Some random questions about LiveCycle (not as immediately important, right now)

  1. What are fragments?  I looked them up in help but I still don't understand what a fragment is, or why I would create one
  2. Any other great parts of the program I should be using, that I am probably not?

 

 

Thanks!

 

 

Update: I found how to set the drop down default value to <NONE> in the value tab of the object pallete, but it still shows the first value.  Even if I save it, go to preview, or save it and open in Adobe.  Am I missing something in setting that default option to be "empty" until someone chooses a value?

How Can I Increment a Counter on a Master Page?

$
0
0

I am working on a very complex form and have hit the proverbial wall. I have uploaded the file to the URL below and am seeking assistance in finalizing the form.

 

Here is the URL for the file.   https://workspaces.acrobat.com/?d=66B5k8981-WUNHJB1epZXg

 

There are three challenges that remain.  When I click on the "Click to Add Service Location" button on the bottom of page 2:

  1. I need to add an instance of "Service_Location_Page" on the following page.  Currently, it is adding it prior to the page I just completed.
  2. I need the value of "Service_Address_Type" on page 2 to change from the default value of "Primary" to "Secondary" on the new instance of "Service_Location_Page" and all subsequent instances.
  3. I need the "Service_Locaton" counter at the top of page 2 to increment by +1 for each new instance of "Service_Location_Page".

 

Any suggestions for refinements will be greatly appreciated.

 

Anokie1

Scripts stop working when extended with "additional features"

$
0
0

I have a couple of scripts that work fine in both Pro and Reader, but when I Save As -> Reader Extended PDF -> Enable Additional Features, they stop working (in both Pro and Reader). Other scripts in the same form continue to work just fine. I'm at a total loss, and so are my IT folks (who admittedly aren't exactly form/JS/Adobe experts...)

 

I've been fighting with this problem off and on for a week or so now, and I've tried a couple of different approaches - I'm a JS muddler, and I'm sure there are more effective ways to do what I want to do. But everything I try gives me a different problem . I'm going to try to separate out the different issues in different posts...but I'm getting pretty confused!

 

For what it's worth, the problem scripts are on the first and last master page, while the ones that work are on regular pages.

 

The goal is to reuse a partially filled-out form for several different phases of an approval process. Each version gets a different title, and an additional subform is visible during the 2nd, 3rd, and 4th phases.

 

Here's the overall workflow:

  • Phase 1
    1. The form starts out with the Phase 1 title and with the additional subform "hidden."
    2. A remote user fills out the form and returns it to the program coordinator.
  • Phase 2/3/4
    1. The coordinator saves a copy of the form with a different name.
    2. The coordinator checks a "For admin use only" checkbox to display a radio button group. Each option changes the title and sets the additional subform presence to "visible."
    3. The coordinator unchecks the "For admin use only" checkbox to hide the radio buttons.

 

The title is in a text field. The scripts change the rawValue of the field for each option.

 

In this case, I have the following script in both the initialize and calculate events of the text box:

 

if   (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue == 2)

     this.rawValue = "Phase 2";

else if (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue == 3)

     this.rawValue = "Phase 3";

else if (S_SelectTitle.S_Actions.RB_SelectTitle.rawValue == 4)

     this.rawValue = "Phase 4";

else

     this.rawValue = "Phase 1";

 

and similar code in the initialize and calcuate events of the subform to make its presence "visible" or "hidden." (I've used this initialize/calculate event strategy before, it's always worked fine. But I"ve run into problems with it in one of the alternate approaches i've been using on this form, so I"m totally open to other ways of doing it...)

 

Before I extend the form for Reader, it works fine. The title changes correctly depending on which button is selected, the new subform appears at the end, and the radio buttons go away when the box is unchecked.

 

After I extend it for Reader, nothing works except the checkbox. The title doesn't change, and the subform never appears.

 

Help? Thanks in advance!

Insert File Path into Text Field

$
0
0

I am trying to create a text filed at the bottom of a form document that will automatically input the file path (e.g.. C\:Folder\File) of the document itself after the document is saved.  I've looked at a few Scripts but nothing seems to be working.  I'm assuming it will look something like this on the "postSave" option:

 

this.rawValue = event.target.path.replace(event.target.documentFileName, "");

 

I am a very novice programmer so I have no idea if this is even close to right.

Viewing all 5571 articles
Browse latest View live


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