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

Auto tab using tab order

$
0
0

Hello ,

 

I have a PDF that has around 100+ pages that needs to have auto tabs from one textfield to the other. I have looked at other forums and came across this code: xfa.host.setFocus(this.resolveNode("#traversal.#traverse").ref); and placed it in the FULL event and haven't had any luck. I know you can do setFocus("NameofField)" but that would take forever placing the name of each textfield in the setFocus. Any help would be appreciated to make things easier for a 100+ page document.

 

Thanks again!


problem with pattern numeric field

$
0
0

Hi All.

 

I tryed to format numeric field with patterns num{zzzzzzzzzzzzzzzzzzz9} or num{99999999999999999999}. But when I enter 20 numeric characters like 12345678901234567890 as a result I got 12345678901234567000. How fix that problem?

 

Thanks.

Fetch User Name from Windows Active Directory

$
0
0

How can I perform a user name lookup using windows active directory in a LiveCycle Form?

Loops through listbox for value, if does not exist, provide a error message.

$
0
0

Hello:

 

I have a listbox with Profession (text) and Price (value). I am using another field which they type in the profession. if the profession exists, bring back the price, if not, show an error message instead. Has any encountered this or know how I would go about solving scripting this?

 

My loops looks for the values but if it isnt found, it will just go to the first entry.

Correct JavaScript Error Detect Settings for Acrobat X

$
0
0

Can someone tell me what the JavaScript preference settings should be on Acrobat X so Acrobat will detect errors/problems in my JavaScript scripts?

 

Thanks

Making a check box in a table visible conditionally

$
0
0

I have a purchase requisition form with a dynamic table (rows may be added or deleted). Its working pretty good except for one scenario. I have a calculation of state tax in each line because not all items may be taxable. If the user checks the "taxable" radio button before entering the quantity and price, the tax calculation does not occur because clicking the radio button initiates the tax calculation.

 

One solution I have thought of is to hide the radio button until both the Qty. and Price fields have valid data in them. I have tried a couple of scripts but none of them work perfectly. Any ideas on how to solve this problem are welcome including a different approach.

 

Thanks,

 

Nadeem

ES3 - Calculation = neg number and want it to be 0 or greater

$
0
0

I have a 2 fields, one is an estimate and one is the actual cost. We are trying to calculate if there was an increase between the actual cost and the estimate. We estimate high so that our actual cost never goes above the estimate. Thus Actual - Estimate = negative number (meaning that the actual cost was not higher than the estimate). We have to show this number as either $0.00 (indicating that there was not an increase) or a higher dollar amount showing that the actual cost was higher than the estimate.

 

What I am trying to do when I subtract Actual - Estimate and it comes to a negative number, that it actually will only show up as $0.00 (if negative) or greater.

 

Then the second part is I have to show this "increase" as a percentage. So it would be Actual/Estimate.

 

 

Example

 

          Estimated: $350.00    Actual   $360.00

 

                

                   (360-350)           (360/350)

Difference:    $10.00      or       2.85%

 

 

 

          Estimated: $350.00    Actual: $275.00

 

Difference: $-75.00      or        0%

( I want this part to show $0.00      or     0% )

 

Thanks for your help!

Question on importDataObject

$
0
0

I created a button and on the click event, put this code in -

 

 

 

var oAttachments;

var myDoc = event.target;

var attResult;

 

 

try

{

          xfa.host.messageBox("removing data object");

          myDoc.removeDataObject("test");

          xfa.host.messageBox("removed data object");

          xfa.host.messageBox("importing data object");

          attResult = myDoc.importDataObject("test");

          xfa.host.messageBox("attResult value :"+attResult);

          xfa.host.messageBox("Successfully attached document");

          form1.Page1.num.rawValue = form1.Page1.num.rawValue + 1;

          if (form1.Page1.num.rawValue >= 1 )

          {

                    form1.Page1.Attached.presence = "visible";

          }

}

catch (err)

{

          xfa.host.messageBox("Issue attaching file!");

          xfa.host.messageBox("attResult value : "+attResult);

}

 

I am having a couple of issues :

1. for both removeDataObject and importDataObject, the code goes to the catch block - why?

2. when I go back into to designer this snippet of code disappears from the click event ????

 

FYI - I Reader Enable to document, so that is not the issue. Any thoughts?


xfa.event.newText is undefined in an HTML rendered form in Livecycle ES4

$
0
0

When Livecycle ES4 renders a form in pdf, "xfa.event.newText" works fine.   It does not work for an HTML rendered form.  Is there a differrent javascript model/properties for a rendered HTML form ?

 

  If there a complete llist somewhere of the differences in javascript for a rendered pdf form versus a rendered  HTML form?

I am in need of a LifeCycle consultant/designer to enhance the capability of our forms.

$
0
0

I am in need of a LifeCycle consultant/designer to enhance the capability of our forms.  It is probably about 1 days worth of work....rate is negotialbe, but there will likely be more to come.  Anyone out there interested?  Needs assistance asap!

Radio button that hides/unhides page

$
0
0

I was wondering what the

correct way would be to have the following:

 

A yes or no radio button.

 

Form has 3 pages but opens with 2 pages while the 3rd page is hidden.If use clicks yes it opens the 3rd page and if not it closes the 3rd page.

 

All help would be great,thanks.

Bold part of dropdown value

$
0
0

Hi

 

Was wondering if it's possible to bold certain part of the dropdown value?

e.g. if the dropdown value has

IT Information Technology

BA Business Administration

IS Information Systems

 

would it be possible that on the first two characters are bold, e.g

IT Information Technology

BA Business Administration

IS Information Systems

 

I tried to implement normal html <b/> and <span style="font-weight:bold"></span>, but with no luck.

 

Any help will be muchly appreciated

 

Thanks

MaThandos

Dropdown rawValue not populating

$
0
0

Hi everyone,

 

I have a weird situation.  I recently had to upgrade from Adobe Livecycle Designer 8 to Adobe Livecycle Designer ES2 as my company went from Adobe Acrobat Professional 8 to Adobe Acrobat X Pro.  It's been a huge hassle and now all of a sudden my forms aren't working the way they're supposed to and things are erroring out.  I'm having to convert the forms over and it's causing havoc. 

 

One of my dropdowns that has a switch case that was working just fine and all of a sudden it isn't working.  The dropdown values are populated dynamically from another field and, when I open the dropdown, I can see all of the values just fine but when I go to select one, the field just closes.  It doesn't actually populate the rawValue of the field with the option I've selected or anything.  I've checked the code 100 times over and it appears to be fine.  Is there anything anyone can suggest for something else I can check?

 

Thanks!

Drop down list value dependant on value in another drop down list

$
0
0

Hi

I am not familiar with Java Script so if anyone can advise me on this I would be grateful.  I am using ADobe Livecycle V8.0.

 

I have two drop down lists - DDL1 and DDL2.

The choices in DDL1 are "High, Medium, Low, None"

The choices in DDL2 are "Positive, Negative, None"

 

If "None" is selected in DDL1 I want DDL2 to display "None". 

 

If any of the other values are selected in DDL1, then I don't want anything autofilled in DDL2.

 

Hope this makes sense!

Thank you.

Drop Down List Selection to determine Recipient

$
0
0

Hi Everyone,

 

I am at a loss as to how to proceed.  I'll explain my situation.

 

I am consturcting a form using LiveCycle for Tutoring Referrals.

 

So basically a faculty member will fill out the form and using a dropdown list, will select 1. Math Tutor 2. Science Tutor or 3. Writing Tutor.

 

Now I need the drop down list selection to determine who actually gets the completed form.  (i.e. if Math Tutor is selected, form routed ONLY to the math tutor)

 

I hope that makes sense, I've tried searching the forums but haven't had any luck.   Thanks.

 

Eric


Change the email submit button to submit as pdf. instead of .xml

$
0
0

How can we change the email submit button to submit the entired data as a pdf. instead of .xml

Newbie scripting question- dropdownlist

$
0
0

Hi there,

 

I'm very new to livecycle and am tasked with creating fillable forms for our company. I've got a form pretty much designed and I am working now on making the various fields interactive based on the user input and selections.

 

I've read a bunch so far but am having some difficulty figuring out how to do something with multiple dropdown lists.

 

I have 2 dropdowns that are related. The items in the second are defined by the selection in the first dropdown.

 

I did find reference to a formcalc solution if the user selects an item in the first it defined the list in the second and I have that working but in my situation, the user can select 1 of 5 items in the first dropdown and it would define the same 3 selections in the second dropdown.

 

Basically, can a sepcifiy a range of values for the first dropdown that I caould then define for the 2nd dropdown?

 

What I have been trying so far is this:

 

if (form1.Account_Client_Information.Owner_subform.recipiant_type == 2 )then

$.clearItems();

$.setItems("TA- Tax Letter, Bunch of stuff")

endif

 

What I'd like to do is if the recipiant_type is 1 or 2 or 3 or 4 then setItems to one set of values,

 

Then if recipiant_type is 5 or 6 or 7 then setItems in the 2nd dropdown to another set of values.

 

Any tips on how this can be done would be appreciated! Thanks!

don't allow users to save the form in Acrobat Reader

$
0
0

Hi All.

 

I gave Acrobar Reader users ability fill in and print the form by Save As in Acrobat Pro like Reader Extended PDF --> Enable Additional Features. Now I would like to disable SAVE and SAVE AS option in Acrobat Reader File menu don't allow users to save the form. How it to do?

 

Thanks.

How do I set a subform to repeat based on a value chosen from a dropdown list?

$
0
0

Please forgive me if this is covered somewhere, but I have spent a few hours searching and have not come up with anything.

 

I have a dropdown list that allows the user to select the number of teams registering (1-5). I then have a subform with all the information needed for each team. I would like the subform to automatically repeat based on the number selected from the dropdown, since I need that information for each of the teams registering.

 

Thanks!

Expand rows of dynamics table

$
0
0

Hi Experts,

 

Do someone know the way to expand the rows of dynamic table to the end of its content area, and that in any case ?

For example, the table could content only one row with data, but the table should continue to expand until the end of the page ?

That means that following rows could be empty.

 

Thanks for your reply,

 

T.

Viewing all 5571 articles
Browse latest View live


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