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

Are there plans to update livecycle designer to conform with the CC Family of Tools?

$
0
0

I am relatively new to using adobe LiveCycle Designer. I have to say it's a pretty great piece of software.  There are some things in it that really bother me though.

For example, you can't just drag guides from the rulers. There's no smart guides. The shortcuts that work in every other program don't work for LC.

The design is 1990 ish and a myriad of other small annoyances. I was just wondering if Adobe has plans to rework LCD to conform to the CC Family Standards.

 

Don't get me wrong LiveCycle is the only program in it's class and has been a tremendous help. I just feel it's not up to adobe standards.

Also, Where's the mac version? I've been having to run ES3 in VMWare due to the fact I only wanted LC Designer and not all the other phooey that comes with it.


How do I multiple a number after it rounds up?

$
0
0

I have a form asking for miles traveled. I need what they enter to round up to the next nearest whole mile. I have called that field "mileage". I have set it to whole numbers and it rounds up nicely for display. Now I need to multiple that new rounded "mileage" number by .56 (that field is called "auto"). What I currently have in the "auto" field is: mileage*.56  Unfortunately, it still uses whatever they type in to calculate with and not the rounded up "mileage" whole number.

 

What script do I need on which field to make the 56 cent calculation apply to the rounded up mileage and not the entered amount which it's currently doing?

Compression options in Designer ES4?

$
0
0

Hello,

 

Is there a way to turn off all compression for generated PDFs in ES4?

 

Thanks!

Arithmic Overflow Error in FormCalc

$
0
0

I get the overflow error when my form opens ( I know it is cuased by two division fields at the end of my form). I have mutlple fields that do computations based on other fields. How do I set a default value for a number field? How can you establish a variable that isn't set until the end of the load process.. how would you do that for a field?

Error Arithmetic overflow

$
0
0

I have multiple number fields that perform calculations based on GPA, Credits, Quality Points etc.. the last two fields divide previous returned values but when the form opens I get the overflow error.

 

How do you surround the calculation with a check to assure the variables are non zero, non-null?

 

How can you prevent the fields from trying to calculate until the form is loaded?

 

Any help is greatly appreciated.

Proper syntax for setTimeOut() inside a loop

$
0
0

Problem:

 

  I want to loop through something, say, 5 times. Each iteration requires the counter to be used. I can use a for loop to accomplish this task. Now, suppose I want to do the same thing, but I need to pause for a second between each attempt--or start each attempt on one second intervals.

 

What I've tried:

 

I have tried the following code in the click event for a button:

 

var s = tfExample.rawValue;

 

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

          app.setTimeOut("xfa.form.form1.variables.scripts.check(i)",1000);

}

 

And this is the code listed in scripts:

 

function check(i){

          p1.tfCounter.rawValue = i;

          p1.tfBefore.rawValue = s.substr(0,i);

          p1.tfCurrent.rawValue = s.substr(i,1);

          p1.tfAfter.rawValue = s.substr(i+1);

}


When I use this code, and preview in LC, LC just kind of stutters and does nothing; reader does nothing at all; and Acrobat throws an error:

 

ReferenceError: i is not defined

1:Doc:Exec

 

I presume that the "1" means line 1 from the source. That line is tfCounter.rawValue = i;. So, it looks to me like it is defined as it is declared in the function definition as a passed variable. I can't find any other mention of functions that shows using check(var i) or something to that effect in LC documentation. Any ideas?

 

I should probably also mention that I have tried putting that code in the same event with the button, and it doesn't work there, either. It's a different error message.

 

Message was edited by: jasotastic81: added other thing I've done and corrected a typo.

Showing value as a zero or a null in a bound field

$
0
0

I have a table in a livecycle form that is bound to fields in a SQL database.  There are both zero and null values in the database that I want to show as such in the table, but any zero values appear as blank when previewed in PDF or published.  The cell pattern is currently set to null{}|zero{}|num{z,zzz,zzz,zz9}, but changing the pattern to null{}|zero{0}|num{z,zzz,zzz,zz9} or null{}|zero{'0'}|num{z,zzz,zzz,zz9} results in this err msg:

 

pattern error msg.png

 

Thanks for any help!

Firing Two Scripts One After Another

$
0
0

I have a submit button to submit PDF to email and a script to lock fields. But I need it to validate fields first then run the Lock Fields script before submitting it to email.

The problem I'm having is I can't get it to fire in that order. It will validate then it will submit email and not lock fields or it will lock fields and not validate fields. I have place the Lock Field script in the pre, post, mouseup, mousedown, etc. I'm at a lost with this one.    

 

Any ideas on whats wrong would be of great help.


Dynamically populate text field based on result of on-the-fly calculation?

$
0
0

Hello.

 

I am attempting to create a hazard assessment form.

 

I have three drop-down lists, Exposure, Probability and Severity, respectively, that assign a numeric value to each of these.

 

Exposure can be ranked from 5 (most severe) to 1 (least severe).

Probabiliy can be ranked from 5 (most probable) to 1 (least probable).

Severity can be ranked from 10 (most severe), 5, 4, 3 and 2 (least severe).

 

Risk Cassification is a numeric field whose value is dynamically determined by calculating the sum of these three values. I have this as a calculate event in FormCalc, and the field is a numeric field set as Calculated - Read Only.

 

I would like to assign a text value to add context to the calculated value of the Risk Classification field. This is where I'm running into difficulty. I have a text field called Classification and it is set to Calculated - Read Only.

 

I've tried to do this using a variety of methods and events in FormCalc and also using the Action Builder. I haven't' had any luck.

 

Here's what I'm trying to accomplish:

 

Risk Classification (calculated on the fly)
Text to display
16-20Extreme
11-15High
6-10Moderate
3-5Low

 

In other words, the numeric value of the calculation is displayed, and next to it, in a text field, I would also like to display the corresponding text for that rating.

 

I've referred to another post to come up with the following FormCalc code, invoked through a change/exit event on the Risk Classification field:

 

if (16 le $.rawValue le 20) then

     Classification = "Extreme";

elseif (11 le $.rawValue le 15) then

     Classification = "High";

elseif (6 le $.rawValue le 10) then

     Classification = "Moderate";

elseif (3 le $.rawValue le 5) then

     Classification = "Low";

else

     Classification = null;

endif

 

 

As I say, to this point, this code does not work.

Share Data between Pro and Designer Form

$
0
0

Good evening,

 

Old Form:
I recently inherited an adobe pro form created a few years ago. The naming conventions are horrible, and they refuse to replace the form to spit out an xml file. But they want the data to fill into an access database.

 

New Form:
I was able to create an adobe designer form, with proper naming conventions, that exports an xml file that can be imported into the access database.

 

Help:
Is there a way to link the old form data to the new form, with the naming conventions being different?
Ideally, id like to create a button that will display a dialog box to select the old form and import the data without converting to an xml first…is this possible?

 

Thanks in advance!

lock fields, so that they cannot be reset

$
0
0

I'm looking for a way to lock the value of a field, so that it cannot be reset.

 

I think it must be done with Variables, but i don't know how.

What is the best way to prevent a field from resetting?

 

Can anyone help me with this.

Using a drop down list to make a subform become visible/invisible

$
0
0

I am trying to do something simple... I just cant get it to work. I have a drop down list named "ownership" (Which is part of, DOES THE BORROWER HAVE AN OWNERSHIP INTEREST IN ANY OTHER PROPERTY? and I have choices "Y" and "N". When the user selects "Y" I want the subform (which is currently invisible) named "sometimesHidden" to appear. Then if the user selects "N" after they have already selected "Y" I want it to disappear. It is a blank form with neither Y/N as a default, just blank. It should just appear.. it does not need to move any thing.. just appear and disappear.

 

Capture.JPG

 

I have been trying to get it to work on the "Exit" mode in JavaScript for the drop down. I have tried to utilize other examples and nothing. Any help?

 

Thanks!

Multiple Dropdown Lists with Switch Statement

Now you see me

Importing a PDF comes out blank

$
0
0

When I import a PDF into a flowable form it comes out blank. It works if I import it static though. I did some editing on the form in photoshop, the old version (Before Editing) works fine. The edited version will not load.

 

Thanks

Rab


Display total number of rows in a table.

$
0
0

I am building a form that tracks uses of my company debit card, using a dynamic table with an "Add Row" button. I would like to place a box near the top of the form that will count the rows and dispay a total number of uses.

 

Thank You

Rab

Unable to add items to dropdown list using javascript

$
0
0

Hi,

 

I'm trying to add additional items to a dropdown list at runtime using javascript.

 

I'm doing this by invoking the addItem method on the dropdown list field during its initialize event.

 

However when I run the generated pdf in Acrobat Pro, I get the following error in the console -

 

GeneralError: Operation failed.

XFAObject.addItem:3:XFA:form1[0]:#subform[0]:field0[0]:initialize

Method: 'addItem' cannot be called because doing so would violate this document's permissions settings.

 

The pdf form has no signatures or any other stuff in it.

 

What additional permissions do I need to add and how ?

 

You can view the pdf here -

 

https://dl.dropboxusercontent.com/u/8022836/xfa3_test.pdf

 

Thanks,

Joel

Justify a numeric value

$
0
0

How do I right justify a numeric field in a textbox? To do the caption is easy but how about the text field?

Form works perfectly, in Reader, in other acrobats, but not in Acrobat Pro 9???

$
0
0

Hi,

 

I have a form I made in LiveCycle designer. It has radio buttons and when a radio button is clicked, it passes an object to a function that then expands a table and adds rows for each item. It works in Reader 10 and 11, but I just had a coworker test it in Acrobat Professional 9 and it doesn't populate the table!???

 

It gives this message

this.resolveNode("createTable").createTable(incis, "container") is not a function 28:XFA:form1[0]:#pageSet[0]:Page1[0]:RadioButtonList[0]:incision[0]:c lick

where createTable is the function and incis is the object passed, "container" is the table I'm affecting.

 

How can this not work? Is it the users computer possibly? I had her verify and it's definitely 9 professional.

 

Is there some bug in 9 professional? Is there a better syntax I should use?

Fragments and Data Binding

$
0
0

All

 

I have a use case where there needs to be a parent form that will contain a number of children sections.  Now I know I could just have one giant schema and have all of these child sections as subforms, etc.  However, I'm trying to make use of fragments as they seem like they might be a decent fit here.  However, I keep running into snags.  Here are the issues I'm seeing:

 

1) When I submit the form in Workspace, none of the data entered into either fragment is captured in the XML

 

2) When I attempt to drill down within formData (the process variable holding the form's data after submission) in Workbench's XPath Builder, it's not picking up any of the elements within any fragment.  I have these fragments each bound to a schema and I'm including these schemas in the parent form's schema as well.

 

Here are my questions:

 

1) I've read that fragments need to use relative binding to work properly with data capture but that's a bit ambiguous to me.  I understand what is meant by "relative" but could someone provide a specific example of what this looks like in Designer when binding a field?

 

2) How can I get the data elements backing a fragment to show up in the XPath Builder in Workbench?  It doesn't seem that Workbench is picking up the inclusion of another schema and allowing me to traverse that tree.  This may be due to a lack of understanding on my part about exactly what including another schema is doing.

 

3) Should I scrap the entire fragment approach here and just wrap these child forms in subform instead and simply have one, massive form with a single schema?

 

Thanks!

Viewing all 5571 articles
Browse latest View live


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