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

change form highlight color

$
0
0
Hi,
Is it possible to change the highlight color of the form through the form itself, not through the preference | form setting of the Adobe Reader.

Also, how to highlight only those fields that is mandatory and is not filled in?

Thanks.

Strange behavior of text fields

$
0
0

My customer has something strange, what i've never seen or heard of.

The have it on multiple computers (Windows XP Pro, sp3 with Adobe Reader X)

 

When the fill in the form, the get spaces or tabs behind some letters.

Or sometimes letters are replaced bij spaces or tabs.

 

They say the form is the problem, but i say it's an error in their software/configuration (windows, acrobat or something else).

 

I only have script with .presence on several fields/subforms and a validation on several email fields.

But not on the fields they have problems with.

 

Anyone had this problem before?

I'm desperate at this moment, afraid i lose my order

Repeating Table in Master Pages

$
0
0

Hi =)

 

I'm having some trouble with a dynamic xml form I'm creating.

 

Inside a page I have a repeating table that allows the user to insert a new row (max 4 rows).

All I want is this page to adjust nicely to the size of the repeating table.

 

Since I've read that it is not possible to change master page size through javaScript, I've created a page set with different sized master pages that adjust to the different number of rows.

I tried to set some conditional breaks to change from master page to master page accordingly to the table size. The thing is, whenever the user adds a row, the two master pages will appear. The first one blank and the next one with the table.

 

I think I only need a way to make the previous master page disappear.

 

Can someone give me some advise?

I need help.

 

Thank you =)

Help with Hidden Drop Down Lists in RBList subforms

$
0
0

I have created a form that contains 3 isolated Radio Button lists, each with hidden subforms that are unique per each button.

Two of my RBLists and subforms work perfectly, showing hidden Drop Down List options and other fields as they should when a button is selected.

 

However, RBList3 presents the Drop Down lists as user entry fields only. Each hidden subform in RBList3 contains one drop down menu and one text box for instructions.

 

I've used the same javascript to hide/show hidden fields when buttons are selected. All settings seem to match up. Here is a sample of my code:

if(RBList3.F.rawValue != 2) 
{
    this.presence = "hidden";
    newsubform.presence = "hidden";
}

 

else if(RBList3.F.rawValue == 2)
{
    this.presence = "visible";
    newsubform.presence = "hidden";
}

 

Does anyone have any suggestions for how to make my Drop Down Lists in RBList3 show as functional Drop lists?

 

I have attached the form for reference.

Numeric Field Size Control

$
0
0

I have a numeric field on which I want to implement an imput validation. The field should be no less and no more than 9 digits.

I'm having hard time fiinding a proper way to implement that mechanism. Thoughts?

 

Thanks

How to Add a Radio Button and Hidden Field to Exiting RBList?

$
0
0

I have a form that I'm trying to update by adding a fourth RB to the list as well as a new invisible field that should only reveal when the new RB is selected. Code on the change works for RB items E, F, and G (1,2,3 values), but not for the new "H" button and it's hidden field. I'm a little rusty with the code, so I'm sure it's something I'm missing. I'm stumped and need help. The form is created in LiveCycle Designer 8.2.1

change coordinate X and Y by select DropDownList value

$
0
0

Hi All.

 

How to change coordinate X and Yof Subform by select DropDownList value?

 

Thnaks.

Prevent Identical Selection in Drop Down List in an Expanding Table

$
0
0

Hi All,

 

I have a 2x2 table in which the top row is a header row and the bottom row 'Row1'. Row1 Cell1 has two buttons in it, one to add a new Row1 using Javascript click instance script:

this.parent.parent.instanceManager.addInstance()

 

...and one to remove any Row1 using Javascript click instance script:

var rowNum = this.parent.parent.index;

this.parent.parent.instanceManager.removeInstance(rowNum);

 

Row1 Cell2 contains a datadropdown object.  Basically, when a user adds an extra Row1, I need to prevent them from selecting a previously selected item from the dropdowndata list.  I'm having trouble figuring it out because I'm trying to put together exit instance script (or should it be validate script?) that is trying to reference Row1[*].  In simpler situations where I have two fixed objects, I have just been doing this as a FormCalc exit script:

if (Object1 = Object2)

then xfa.host.messageBox("You can't select the same thing again")

and xfa.host.resetData("Object1")

endif

 

... which prevents the user from selecting something with the same rawvalue by alerting them, then clearing the field. 

 

Hope this makes sense and that someone can help!  Thanks in advance to all the adobe gurus out there


Javascript: Check Internet connection before attempting to run SQL command on remote server

$
0
0

Good evening,

 

I am developing a form that reads and posts data from/to a table hosted on a remote PC running XP/SQL Server Express 2008 R2. I access the server through the Internet.

 

My problem is that if the internet connection happens to be down when I -eg- try to save data to the table using the form, the SQL command tries to reach the server for a while, and eventually crashes.

 

Is there a way to programatically verify that a remote SQL server is reachable over the Internet before attempting to run a command on it?

 

Many thanks in advance for any help you can provide!

 

Randy

Flowing text onto a second page

$
0
0
I have a form where I am pasting text in a subform (occupies an entire page) a lot of text. Everything works fine when the pasted text is more then one page and I get scrolling bar at the right and a black and white + at the bottom right. The problem is I want the text to be flowed on to the next page. This is needed because the form may need to be printed and faxed sometimes.

I have tried several tricks but so far I have not stumbled upon a good solution!

Any help would be appreciated!

Multiple repeating SubForms binding to the same data node

$
0
0

Having multiple repeating SubForms binding to the same data node : In our documents, many times we need to display information from same table in multiple locations. For example, if document displays information of Insureds on one page and information of drivers on another page, we need to create a LiveCycle document with two SubForms. Each SubForm needs to have a repeating binding to CommonInsured element in XSD.  LiveCycle Designer is not able to handle such case. We cannot have two subforms bound to the same node, ONLY in a case where repeating option is selected for data binding.

The only way I have found out is the following Javascript

//Get the data node from XML. You will find the code for this function in //JavaHelperFunctions library.

// InsuredDataRepeatingSubForm is a second subform.

//You need to manually add instances to this subform at the

//runtime and Insured data to each instance.

 

var insuArray = JavaHelperFunctions.getInsureds();

    var i=0;

    for( i=0; i<insuArray.length; i++)

    {

       if (i>0)

       {

var thesubform = this.InsuredDataRepeatingSubForm.instanceManager.addInstance(i);

              thesubform.InsuredName.rawValue = insuArray[i].fullName.value;

       }  

       else

       {

               this.InsuredDataRepeatingSubForm.InsuredName.rawValue = insuArray[i].fullName.value;

       }

    }

 

Is there any way I can achieve directly using bindings since we are trying to minimize javascript that changes the layout of the form?

 

Thanks in advance!

Table help

$
0
0

Hi All,

 

 

I have a table(static or dynamic) with three rows. I need to get the no of rows in a table. I tried using instanceManager.count but it is giving me 1 instead of three.

 

I need to use some kind of function which i can use it for other tables as well.

 

Can anyone help me on this!

How to import automatically different Word doc as a template, depending on some data

$
0
0

Hi, I am VERY new to Adobe Livecycle and have only played with it a bit while trying to solve this problem.  I work for a group of companies that sends out different .pdf docs (invoices, orders, etc).  The underlying data related to a single invoice or order is always printed on the same areas of the page for all the companies of the group, but the different companies each have different logos, address and other info that also needs to be printed on the pages.  The application that does the printing is SAP, so I was looking for a way to do this with SAP and Livecycle:

- create a report layout in SAP that contains the underlying invoice or order info, along with a "Company" field that indicates which company in the group the document is intended for

- launch a Livecycle report that includes a different Word document as a template, depending on the "Company" field.  These Word documents were setup and used by an earlier application that did a similar thing before we moved to SAP & Livecycle.  They contain all the logos and company info but with empty spaces to contain the actual invoice or order data (like pre-printed stationery).

- merge the input data with the template to create the final .pdf to be printed or emailed, customised to the company in the "Company" field

 

The SAP report output is the easiest part, but I don't know if it's possible to automatically & dynamically select different Word docs as templates according to some data, or if there is a better or different way of achieving the same thing with Livecycle.  For some documents there are as many as 8 different companies that might be printing the document, so 8 different Word templates exist for that document.  My job would obviously be simplified if I could continue to use these same Word docs with Livecycle.  Thanks.

"Script failed (language is formcalc...)" - "Error: Argument mismatch..."

$
0
0

Hi there,

 

I temporarily switched from JavaScript to FormCalc just to see what functions were available.  It didn't have what I was looking for, so I did not add any functions, I just browsed, then I switched back to JavaScript.  However, now when I view my PDF I get the following error messages which were not there before:

 

errors.JPG

 

Any help would be appreciated.

 

Thank you.

Collecting data from a form

$
0
0

I would like to use the LiveCycle designer to create a form that multiple users can fill out and submit back to me.  I would like to collect this data which includes 2 variable number of rows tables.  The form is mostly completed and after watching the tutorial video I realized that it should probable be based on an XML schema.  Can I add a schema to an existing form?  What product would I use to collect the data from the forms.  I don't think we could afford the $10,000 cost of the LiveCycle Suite. 

 

Thanks,

Paul


Email submit button concatenate subject and body

$
0
0

Hello Expert,

 

 

I'm trying to modify what the body of the email will look like once the user has pressed an email submit button. In Livecycle designer, I clicked on the button and viewed java script code

 

this.resolveNode("#event.#submit").target = "mailto:"+$record.XXXXXX.MAIL_ID.value+"?subject ="+" Subject line "+"&body="+"Body of the mail";

 

 

Whenever i click the button its conacatenate the subject line with -- " Subject line &body body of the mail ".

 

 

My requirement is to change the body of the mail. Can anyone help me on this issue.

Livecycle es2 - pop-ups

$
0
0

I am using Livecycle Designer ES2 for the first time, and I also have very minimal knowledge of java scripting. The form I am trying to create is pretty basic, an intro section for name, date, etc followed by 7 questions with open text boxes to enter responses. These text boxes expand with the content entered and print with full content. I have all that working fine, my problem is, I would like to have help buttons at the end of each question. When clicked a popup box would appear with instructions and hyperlinks to additional resources. The popups should "x" to close and not print with the form. I can't figure out any way to create these pop-ups. I have tried several things with the action builder and cant figure it out there.

 

I could embed a flash object to launch as the popup, but I can't figure out how to do that either!

 

I am working on a Windows XP pc, with LiveCycle Designer ES2 and Acrobat Pro X. I am pretty sure I have some java restrictions for security but I am not sure what they are.

 

Thank you to anyone who can let me know a way to make this happen - even better with an example!!!

Hidden/Visible fields

$
0
0

I am stuck on one thing. 

 

I have a radio button that is clicked that will bring up certain fields.  I have included the hidden/visible fields that work just fine. 

 

I have a check box further down that when clicked brings up certain fields based on the radio button mentioned. I have hidden the fields and coded to hide the fields and show the fields where necessary.  But, I need the fields related to the checkbox to execute the same instructions as the radio button.  If 1 is true for the radio button, I need it to show for the fields at the top and also for the fields at the bottom.  At this point, if I have it visible for the radio button then it is visible for the checkbox regardless of what I input there.  I really hope this makes sense.  Not quite sure how to explain this.

 

Thank you!

 

Coding for the radio button:

 

if(this.rawValue=="1")

   {

FORM.Main.sfConventional.tblChecklist.B2Ince.presence = "hidden";

FORM.Main.sfConventional.tblChecklist.B2Incf.presence = "hidden";

   }

  else

   {

FORM.Main.sfConventional.tblChecklist.B2Ince.presence = "hidden";

FORM.Main.sfConventional.tblChecklist.B2Incf.presence = "hidden";

   }

 

 

For the checkbox:

 

if (this.rawValue=="1")

 

{

FORM.Main.sfConventional.tblChecklist.B2Ince.presence = "visible";

FORM.Main.sfConventional.tblChecklist.B2Incf.presence = "visible";

}

  

else

{

FORM.Main.sfConventional.tblChecklist.B2Ince.presence = "hidden";

FORM.Main.sfConventional.tblChecklist.B2Incf.presence = "hidden";

}

Dropdown's Selection to Affect/innactivate Other Fields in Adobe LiveCycle

$
0
0

Hi. I have a table where each line is an entry. The first field of the line is a dropdown selection. I would need this to work where if I select nothing, the rest of the fields on the line are innactive, or read only, or when I select some options from the dropdown some fields become active. Also there are more dropdown fields on the line. They should only allow to be selected certain options from the list depending on the selection of the 1st field.

There are also 2 numeric fields who do some calculations, both do the same thing, however, for example, selection A in the 1st field involves tracking total TimeTotal1 in NumericField1 and selection B in the 1st field involves tracking total NumericField2. In other words, when selecting A, the calculation will be dispayed in NumericField1 while NumericField2 is not displaying anything, and if selecting B, the calculation will be dispayed in NumericField2 while NumericField1 is not displaying anything.

 

Any help would be great. I am not good at all with any Javascript coding... Thank you!

 

If adobe liveCycle can visit windows Api?

$
0
0

Hello past masters,

 

I have been focus on connecting to wndows API for a long time, however, i have no idea now.

 

First, let me tell you why i want to connect to windows API.

 

I am a learner of liveCycle, my pdf should support Asian languages. after user enter Asian fonts, i shall catch the font bitmap and save in pdf, and then my slape read it and display the fonts through lcd.

The trouble is i don't know how to get the font bitmap. i think one way is maybe i can ask the windows API for help, then visit  system font library, and get font bitmap. Or the other way is screen capture by jquery.

 

But, i can't find out how to connect windows API, in c/c++, just includes head file "windows.h". if adobe liveCycle can achieve this require or not? Dose anybody know it? Could someone give derections to me? Looking forward to your help!

 

Thanks!

Ellie

Viewing all 5571 articles
Browse latest View live


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