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

Multiple Drowdown fields

$
0
0

Hi,  an thanks for any help.

 

How do I set up a multiple dropdown linked fields

 

This is for a cloour selection form for a colour consultant for a building company.

 

1st Dropdown (Roof Supplier) Choice of (CSR Monier | Boral Roofing | Bristile | Dynamic Roofing)

 

2nd Dropdown (Roof Type) populates based on the first answer

(if CSR = Concrete Roof Tiles | Elemental Roof Tiles | Solar Roof Tiles | Terracotta Roof Tiles)

(If Boral = Concrete Roof Tiles | Terracotta Roof Tiles)

(If Dynamic = Metal Roofing)

(If Bristile = Concrete Roof Tiles | Terracotta Roof Tiles | Metal Roofing)

 

3rd Dropdown (Roof Profile) populates based on second answers

(If CSR, Concrete Roof Tiles = Horizon | Traditional | Cambridge | Madison | Georgian | Homestead | Elabana)

(If CSR, Terracotta Roof Tiles = Nullarbor | Nouveau | Marseille)

(If Boral, Concrete Roof Tiles = Slimline | Macquarie | Capri)

etc etc

 

4th Dropdown (Roof Colour) populates based on third answers

(If Boral, Concrete Roof Tiles, Slimline = Black | Grey | White | White)

 

I have a number of these type of quirries

Bricks, Range & Style

Facia & Gutter, Style & Colour

Windows & Colour

Toilet Supplier, Range & Model.

 

Any help would be greatly appreciated

 

Craig


Problem with the appearance of radio buttons

$
0
0

Hello,

 

I have a dynamic form with a lot of radio buttons (Yes-No choices with either Yes or No tagged as default, a cross appears for the default choice). It usually works fine.

 

I hadn't used this form for quite some time, but when I opened it this morning, all radio buttons have the figure "6" instead of the usual cross.

 

I have no idea what happened.

 

Any idea ?

 

Thanks in advance.

Hiding a master page based on a condition

$
0
0

Hi All,

 

I have created a form which has data on odd pages and some terms and condition on the back pages(even) pages. I am using Adobe Livecycle Designer ES version 8.1.2

 

For this I created 4 Master pages.

FirstPage - Pagination -> Odd/Even - > Odd (front) pages

                                   Placement -> First Page (in Page set)

 

Front Page - Pagination -> Odd/Even - > Odd (front) pages

                                   Placement -> Rest of pages

 

BackPage - Pagination -> Odd/Even - > Even (Back) pages

                                   Placement -> Rest of pages

 

Dummy - Pagination -> Odd/Even - > Blank page

 

I dragged the content area of back page on the dummy page.

 

This set up works fine for printing.

 

I have additional requirement of archiving, emailing and faxing. While sending a email or fax or archiving, the data should be continuous, the back master page should be removed otherwise they show in alternate pages as blank pages even if i set the presence property to visible(print only) .


Are there any settings which can be done to remove the master pages that are not needed based on a codition.
Any help will be appreciated.

 

Regards

Neha

Error using PDF Form from SAP/R3.

$
0
0

I am not sure if this is the right section to report this issue.

 

I got report from SAP Staff. Following are the detials.

 

Error is thrown when trying to display PDF From in SAP R/3.

 

The error is:

 

Call contained error(s). ADS (2Invalid HTTP Connection: ADS)
Message no. FPRUNX003.

 

Any idea what is the problem?

 

Tarek.

How to show current page number in formcalc?

$
0
0

I have a client who won't allow JavaScript in their forms for security reasons.  I'm trying to convert the JS I've used to work with FormCalc instead, but I don't have much experience with FC and I'm stuck at the first hurdle.

 

I want to display the current and total pages in the master page and I've changed the generated code to use FormCalc and changed to use the dollar reference, but the form doesn't render the current page number.

 

Here's the code

 

return.#pageSet[0].Restricted.CurrentPageNumber::ready:layout - (FormCalc, client)

//Doesn't work, even though it's copied from the reference material

this.rawValue = xfa.layout.page($)

// also tried

$ = xfa.layout.page($)


return.#pageSet[0].Restricted.NumberofPages::ready:layout - (FormCalc, client)

//Works

this.rawValue = xfa.layout.pageCount()

 

 

Any and all help would be really appreciated

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

Getting the name of the master page being applied to the current page at runtime.

$
0
0

Hi There,

 

I have 3 master pages that are going to be applied to 3 pages respectively. They all reference the same header fragments and footer fragment

I need to populate the data on the fragment, by overriding it according to the master page being applied to it.

 

Please also note that the first master page is being applied onto a dynamic form. The other two pages are then generated based on the  options selected in page 1.

The generation works fine.

 

However I cant seem to output the name of the applied master page, using java script. I also tried using

app.activedocuments etc. it returns empty for me, so i didn't continue the code further

 

Is there a way to output the name of the applied master page?

 

Somebody..Anybody out there, please help me

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

Text summary via loop through?

$
0
0

Hi,

 

I'm trying to generate a text summary field at the end of a form. The form has many sections which could be shown, hidden, or duplicated so I assume the best way is to do a loop through of all the visible form objects - rather than telling the summary field to get field values at defined locations, tell it to go look for what's there and report back.

 

The summary format is "caption = value; caption = value;" etc

 

It could run on a button click, though to prevent differences between the field value and the summary value, ideally this would run live, e.g. on the calculate event of the summary field.

 

Any help gratefully received!

Automatic row height resize on Text cell containing a Floating Field

$
0
0

Hi all,

 

Hope someone can help me out

 

I'll explain my scenario with a simplified example to keep things to-the-point:

 

I have a Table with 1 Column and 2 Rows. The cell in Row1 is Text (NOT a Text Field) which contains a Floating Field. I have a button on my form that populates the Floating Field with a string. If the string value that is inserted into the Floating Field is very long, the text overflows outside the borders of the cell.

 

Screenie.png

 

It seems that the table row height does not adjust dynamically to changes to the length of the text within the cell.

 

Any ideas?

 

Thanks,

if statement in Java Script

$
0
0

Hi,

 

I just want to create a simple IF statement. I have looked at two text books and the on-line help but it still does not work.

 

I have two fields.

 

One is called "IfTest"

 

The other is called "PFValue"

 

If "A" is entered in field "IfTest" then I want the text message "50:50" to appear in the "PFValue" field. If "A" is not entered the I want "50:25:25" to appear.

 

The formula I have entered in field "PFValue" is :

 

ProFormaInv.Invoice.PFValueB::calculate - (JavaScript, client)

 

if (IfTest.rawValue == "A")

 

"50:50"

Else

 

"50:25:25"

But it does not work. What have I done wrong? I have attached the pdf form I am creating which is a Pro Forma Invoice.

 

Regards

 

Chris C

Why can't I save my Pdf document after filled up the pdf doc.?

$
0
0

I can not save my pdf doc.after created and filled up that i created by Livecycle Desinger, i don't understand why i can not save it.

When i click save button on acrobat reader, it says "Save a blank copy of this form"

 

thanks

Ozugulana

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

How to count Records in a Table and/or Form

$
0
0

I have a Table which is being passed to my context in the ADOBE Form.  I need to be able to count the # of records in this table.  I don’t have to display the actual table in this case on the form, I just need the record count.  And, I need to do this using JavaScript and I don’t know anything about Java (although if FormCalc works I can use this as well).     My Tablename is Customer and on my form it is in the Hierarcy data.main.customerbody.customerline.  If I have to have this table data on the form then I can just put it on the form and make it invisiible.  I really only need to count the # of records though and return this # to a Text Field on the form.

 

Does someone know how to do this and can you give me an example in either Java for FormCalc?  The more specfic you can be with the scripting example the better for this newbie.  thx!

Create a Table of Contents in LiveCycle Designer

$
0
0

Hi Everyone,

 

Can any one please show me how to create a form with table of contents (TOC). I have a form that contains 8 pages with 8 sections and the customer want

to have a TOC so they can just click on it and it will directly go to a specific section without scrolling down of the form. They want it to work like a TOC that

people used in Microsoft Office. Is it possible to have it done in LiveCycle Designer? If so, could anyone please show me how to create it or if you have any

sample please post it on this forum. Any advise/help would be appreciated.

 

Thanks in advance,

Han Dao


Multi-language/bilingual Form

$
0
0

Hello,

I'm wondering how bilingual forms are supported? If I have a form that should contain an English and Spanish version, is it possible to simply include a button on the form that translates/displays either language for the user?  how should I go about accomplishing this, easily?

 

Thanks.

 

-Veni

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

How do I lock PDF before e-mailing so that it cannot be altered by the recipient?

$
0
0

I've created a form in LiveCycle which will be seen and filled by users who only have Reader.

 

Once the form is completed, the user has to click three buttons: one prints the page (for a specific paper-based usage required by the filler of the form). The same button  sends the entire form to one e-mail address.

 

The second button prepares the form for submission to a second e-mail recipient. This recipient must not be able to see some of the filled fields on the form. As well as setting these fields to invisible, the second button also hides key fields behind a text message, telling the second recipient where to find the information that is most useful to them on the form. Again, this recipient will be using only Acrobat Reader.

 

Everything works fine, apart from when it comes to e-mailing the form to the second recipient. I've used various scripts I've found on this forum and elsewhere to lock fields before sending and I've extended Reader rights in Acrobat. But, whatever I do, the form received by the recipients is STILL editable, the "invisible" fields are visible again and also editable,  and the test box that obscured key fields has become invisible again.

 

I've already tried using a range of scripts that I've found both on this forum and elsewhere (including Paul Guerrett's 'Lock All Fields' and 'Lock All Fields Not Buttons' scripts. I've also tried using the scripts in different 'events' - mouse up, mouse down, click etc.

 

What am I doing wrong? I've spent days trying to figure this out and I'm getting nowhere.

 

I am  a JavaScript novice, by the way. So please keep it simple and (better still) provide working script! Thanks to anyone who can help

Sort listBox that contains text and numbers

$
0
0

Is there a script to sort a listBox that contains text and numbers using a button?

 

I would prefer it sorted 1, 2, 10, 20, 100, not 1, 10, 100, 2, 20

 

Examples items are part numbers: HP1457100-9, 011-2025-479, 85216, etc

Which form event to use on form-open to change text object caption?

$
0
0

Hello, I have a checkbox that when selected will change the caption of a text object and two text fields, and when deselected will revert back to their default caption. When the form is reopened, I want the text object's caption as well as the two text fields' caption to be set according to the checkbox being selected or not.

 

I can do it for the two text fields using their 'form:ready' event. But the text object has no scripting events to use. So I'm assuming the text object's caption needs to be changed using an event at the form level. I believe it is the form's 'docReady' event but I can't make it work. I've tried other form events and no one works. So I don't know if it is that I'm not using the correct form event or the correct scripting, or a combination of the two.

 

Here's the scripting the checkbox uses to change the captions when selected/deselected (this works fine): form1.Page1.DGSiteInfo.Row2.Table1.Row1.blnAdditionNMSystem::change - (JavaScript, client)

 

if (this.rawValue == 1) //the box is checked

     {

          form1.Page1.Specs.Row3.Table1.Row2.lblInstalledKW.rawValue = "Added generator capacity (kW)"; //change text object caption           form1.Page1.Specs.Row7.Table1.Row1.numInverterQty.caption.value.resolveNode("#text").valu e = "Number of added inverters:"; //change text field caption           form1.Page1.Specs.Row7.Table1.Row1.numTotalInverterKW.caption.value.resolveNode("#text"). value = "Total added inverter capacity:" //change text field caption

     }

else

     {

          form1.Page1.Specs.Row3.Table1.Row2.lblInstalledKW.rawValue = "Installed generator capacity (kW)"; //change text object caption           form1.Page1.Specs.Row7.Table1.Row1.numInverterQty.caption.value.resolveNode("#text").valu e = "Number of inverters:"; //change text field caption           form1.Page1.Specs.Row7.Table1.Row1.numTotalInverterKW.caption.value.resolveNode("#text"). value = "Total inverter capacity:"; //change text field caption

     }

 

 

Here's the scripting one of the text fields uses when the form opens, the other text field follows the same scripting (this also works fine): form1.Page1.Specs.Row7.Table1.Row1.numInverterQty::ready:form - (JavaScript, client)

 

//will ensure the label is properly set based on the controlling field when the form is opened

if (DGSiteInfo.Row2.Table1.Row1.blnAdditionNMSystem.rawValue == 1) //if controlling field value is checked     

     {

          form1.Page1.Specs.Row7.Table1.Row1.numInverterQty.caption.value.resolveNode("#text").valu e = "Number of added inverters:"; //change field caption

     }

//else, the field automatically uses its default caption

 

Here's the scripting I've tried to use in the forms 'docReady' event (and other form events) to change the text object's caption when the form opens (this doesn't work):

form1::docReady - (JavaScript, client)

 

//will ensure the label is properly set based on the controlling field when the form is opened

if (DGSiteInfo.Row2.Table1.Row1.blnAdditionNMSystem.rawValue == 1) //if controlling field value is checked     

     {

          form1.Page1.Specs.Row3.Table1.Row2.lblInstalledKW.rawValue = "Added generator capacity (kW)"; //change text object caption

     }

//else, the field automatically uses its default caption

Viewing all 16286 articles
Browse latest View live


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