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

xml output for repeating field

$
0
0

Hi there,

 

I have a repeating subform with only one text field. It is for an account name that could be up to five lines long (36 character limit each).

 

We are now working to pull the data entered by our users via xml file using a submit button. I expected to see each instance in the xml with a name, then an instance indicator but all I see is multiple instances of the same field name.

 

There is no way to tell which is Account Long name 1, account long name 2, etc so we can map each instance to the appropriate field in another system.

 

My expectation was to see the following in the xml.

 

Account_Long_Title[0]

Account_Long_Title[1]

Account_Long_Title[2]

Account_Long_Title[3]

Account_Long_Title[4]

 

Default count is 1 instance. New instances are added by the user with a simple button. script below.

 

var oSubform = xfa.resolveNode("Long_Title");

var oNewInstance = oSubform.instanceManager.addInstance(1);

xfa.host.setFocus(oNewInstance.Account_Long_Title);

 

Can anyone help with a suggestion to help identify each instance in the xml output? The data binding is set to name. Thanks!


Getting error message "Word(XP or onwards) could not be found on the machine"

$
0
0

I am suddenly unable to drag or open Word documents in Designer ES4. I get the error message  'Word(XP or onwards) could not be found on the machine'. Sounds like some obscure setting is denying access to word to me but I can't seem to locate it. Any suggestions?

Do we need engage adobe developer or Acrobat developer?

$
0
0

Hello

 

We are a very small firm, we want to develope a interactive form (around 75 fields) for our customers and render (put it / make available / launch) the same form on a browser, we have our own intranet / portal, pls. let us know, does our impression is correct in this perspective

 

1) Buy Adobe LC designer software and install on our server, right?

 

2) Do we need to engage a Adobe expert or Acrobat expert, which one is correct for to develop the said form

 

3) Then this developer installs LC in his/her local laptop from server and starts the development, right?

 

4) After developing the form in his/her local laptop, how to get/transport it into our central server?

 

5) How to get this form to render (make available for customers) on the web (intranet portal) so that our customers will enter their data on the form by logging into our portal w/ supplied credentials?

 

6) Any suggestions pls.?

 

Thank you

Help learning LiveCycle.

$
0
0

Where can I get a manuel and some sample forms so I can learn LiveCycle. I have programed in the past but I need help with this system.

Checkbox Script

2 Different Text Fields filled based on Drop Down List Selection

$
0
0

Hello,

 

I'm trying to create a form where a phone number is filled into a text box, and an email address is filled into another text box, based on a selection made from a drop down list. I am using CS3.

 

Any help would be appreciated. 

Print just what is typed in the text field without printing the text fields

$
0
0

Hello,

 

I'm trying to print a form after I filled in the text fields, but would like it to print just what I typed in the field, not the text field and the color in the text field. I use CS3.

 

Any help would be appreciated!

Check Section for Completeness

$
0
0

Greetings!

 

I am running LiveCycle ES3 and am trying to do the following on the click event of the "Next" button referenced below.  Basically, I just need to make sure that at least one piece of data is entered into EACH section, then the user can move on, otherwise they get an error message.  I was able to get it to work just fine if NONE of the sections has data.  However, if they have selected, say, one checkbox in section 3a, but left everything else blank, then no message pops up.  They can't continue, which is good, but the "Next" button simply does nothing at that point (I need it to pop up an error message).

 

 

WHEN

  the "Next" button is clicked

 

IF

  (section 3a: none of the five checkboxes is checked ANDthe text field is empty)

OR

  (section 3b: the text field is empty AND a value in the drop-down list has not been selected)

OR

  (section 3c: the text field is empty)

OR

  (section 3d: the text field is empty)

OR

  (section 3e: none of the six checkboxes is checked AND the text field is empty)

 

THEN

  pop up an error message

 

ELSE

  hide section 3

  display section 4

 

 

Any help would be appreciated.

 

Thanks!


Need Help with Simple Coding Question (substring or charAt)

$
0
0

Hello,

 

I have what I believe to be a simple coding question i was hoping someone could help answer. I know how to do a decent amount of things but am pretty new to Livecycle, and am trying to alter one of our PDF's so that if a certain field has a number beginning with the number 6 a certain button will become visible. I already have a set of code that is controlling the visibility of this button, but I wanted to add this clause to it. Can someone help me do this?

 

Here is the existing code:

 

if((QuestionsPage2.COIQuestions.COIYN.rawValue == "1" &&

    QuestionsPage2.EmailButtons.NSFCheck.rawValue == "1") &&

   (QuestionsPage2.ManagerSignature.ManagerDate.rawValue != null &&

    QuestionsPage2.ManagerSignature.ManagerCheckBox.rawValue != null &&

    QuestionsPage2.ManagerSignature.ManagerSignature.rawValue != null))

{

QuestionsPage2.PasswordSection.RiskPassword.presence = "visible";

QuestionsPage2.PasswordSection.PurchUseOnly.presence = "visible";

QuestionsPage2.PasswordSection.HRPassword.presence = "visible";

QuestionsPage2.EmailButtons.EmailContractsAndRisk.presence = "visible";

}

 

I want to add in the top section to look at the specific field at the first character to see if its a 6 or not. Here is what I have tried to do, but it hasnt worked.

 

if((QuestionsPage2.COIQuestions.COIYN.rawValue == "1" &&

    QuestionsPage2.EmailButtons.NSFCheck.rawValue == "1"&&

    ContractInfo.AgreementDetails.Org.substring(0,1) != "6" )

 

The field type I am looking at is a "Numeric Field" field with 4 characters.

 

Can someone help me fix my code so that this works?

 

Thanks!!

Two Problems -"0" value continues to be displayed after input, I need to create a look-up table

$
0
0

First off, I am a LiveCycle newbie, I stumbled across the program a couple of weeks ago so I'm drinking from a firehose trying to understand all of this. I have a deadline (May 15th) to create a form for field crew deployment, and also, this is part of my Grad project  that will be in my presentation on May 28th.

 

All of that being said, here's the scenario:

I have a custom data collection form that I have created that is functional but I have run into a few problems. First, in a calculated field box, a "0" shows up in the boxes which is fine. The problem is, one will not go away after a value is entered for the calculation. The calculated number shows up, but it is superimposed over the "0". This is the only calculated box this happens in, I have 12-15 throughout the fom with no issues.

 

I'm using FormCalc in the entire sheet and the formula for this specific calculation is this:

form1.#subform[0].PrevIndxWrksht[11]::calculate - (FormCalc, client)

PrevIndxWrksht[12]*1

 

This is the same calculation used on ever other field (except the "multiply by" value) and this is the only one with the non-dissapearing "0".

 

 

2nd - these forms will be running on Android tablets, there are Windows Office Suite emulators but not the actual program and Access is a complete no go. I have drop downs that have 1114 vegetation species (same for each drop down). I need to be able to have the species relate to a "indicator status" field that will select the proper indicator based on the species. There are only 5 indicators so unique ID's of 1-5 can be used. Without the ability to link to Access how can I accompish this? The Excel emulator will work on the tablets so I'm guessing I can create a spreadsheet with 3 columns that have Key, Species, and Indicator Status? As I said, I'm new to the LiveCycle scripting, so please make it very simple for me.

 

BONUS QUESTION!!! Is it possible to type in the first three letter of the species and have it scroll to that point in the drop down? With that many species we now type in the first letter and it will go to the first species genus alphabetically, but entering the second letter will jump to the next genus. I'd like to enter (example) "SAL" and have the drop down jump to "Salix alaxensis", the first species with the genus "Salix"

 

Thanks in advance, sorry for the long form questions.

Spaces in Required Fields Negating Validation

$
0
0

Greetings!

 

I have required fields which are set up in "pages".  The user cannot proceed to the next page until the current page is complete (i.e. all required fields contain data).  Unfortunately, Adobe considers blank spaces (i.e. from the spacebar) as data, and therefore this allows the user to bypass the field validation for text fields (as long as no other validation requirement is present, e.g. zip code, email address, etc).  Does anybody know how to remove all spaces from a field if they are the only "characters" entered into a field, rendering the field value null?

 

Thanks in advance.

Does LC has capability that builds a form, which is 100% dynamic?

$
0
0

Hello,

 

We are a small firm, we are looking forward to have/develop a interactive form for entering the data by our customers, it will be rendered on our webpage, it should be TOTALLY DYNAMIC, on the fly, in such a way that,

 

We have backend system and a database as well.

 

We want to have data transfer between the form and backend system, back & forth

 

Back end system will pass the meta data, like cosmotic size of the field (length, width), label, data type of the field (free text field, drop down), position or location of the field on the form (top, middle, bottom), data length (character 20 or chracter 25...)

 

User enetred data on the form will be passed to back end system

 

I mean, 2 way data transfer by using web services

 

1) First, just develop a form with totally blank / white

 

2) We will pass all blue part from back end to form so that the form's JS create a field on the fly on the form DYNAMICALLY for user input

 

I mean, if as a developer opens the form in LC, the developer don't see any field physically on the form, bcz all the fields will be generated / created dynamically in the RUN TIME by JS by getting inputs from back end system

 

Transfering meta data / blue part from backend to form will take care by web services

 

A) Pls. suggest us is it possible by using any one of the Adobe's product, preferably LC bcz we have already licence for LC, for other products we do not hv a licence?

 

B) If its not possible w/ LC, then what kind of product/software/solution we should buy / use to achive our requiremets of dynamic form creation?

Can't Edit Text- LiveCycle Designer 8.0

$
0
0

I've been using Livecycle for years and I've always opened up certain documents, edited the text, field boxes, etc.

All of a sudden, I go to edit a PDF in Livecycle (same pdf that I've always edited) and everything is locked. I can't delete, add text, move fields, nothing... It seems that the whole page got locked somehow. Any ideas on how to get it back to normal so that I can make edits? I'm using Windows Vista, Adobe Acrobat 8- Livecycle Designer 8.0.

Thank you!

OLEDB Connection

$
0
0

OLEDB connection is established but cannot open the table. Reason for the error?

 

4-29-2014 2-11-28 PM.png

PrePrint

$
0
0

How would I script a prePrint event if I don't want a subform to print if the fields inside it are empty?


Save As Trusted Function: Part II

$
0
0

Continuing my previous thread:  http://forums.adobe.com/thread/509314?tstart=0

 

 

I'm now working on another form requiring this same type of function, but there's a new wrinkle.

 

How can I substitute fields if one of the fields to be used is blank or is a certain selection of a drop down ...

 

 

i.e.      If fieldA = "other" use fieldB in place of fieldA in save as title.

 

 

Thanks for any help / suggestions!

Allow print after filling mandatory fields using PrePrint

$
0
0

I have a form in which I want to add a button which will allow the user to print the pdf file only when two required fields namely Text1 and Text2 are filled in. The same shall apply to Ctrl P command also.

How can I do so?

 

During google search, I have found some stuff on this but since I am not very well versed with pdf js (even with js) I am not able to make it.

Can it be done in Adobe Live Cycle Designer ES? There is a 'PrePrint' event, but I have no clue on how to make it workable to my requirments?

 

Your help is highly appreciated.

 

Regards

Sujit Talukder

Slow tabbing between fields

$
0
0

Hello,

 

We have a very complex interactive form with repeating_subforms. We open it binding a large xml file. Tabbing between fields is very slow when we are editing the form.

 

We have designed a simple form with one repeating_subform and without scripting. Bindig the same xml file, tabbing between fields is very slow too.

 

How can we solve this problem?

 

Here are the links to pdf file and to xdp file with the data.

 

Thanking you in advance,

Make repeating subform readOnly

$
0
0

My form has 8 pages. The first page has basic information including a dropdown list for months of the year. When the user selects the add month button, a new instance of the subform is repeated on the other 7 pages of the form. When a checkbox is selected to "close the month" the fields on all of the pages become read only.

 

My question is, if the user creates a new month before closing the first month, how can I make all of the fields read only when they go back to close the first month? Right now if they close the first month, then add another month, all of the fields become read only and works fine.

 

I thought to compare the months on the subforms and if they were equal, make the fields read only but I wasn't able to make that work using this code:

 

if (addRemSub.projectMonth.rawValue == page2.projectSub.addRemSub.projectMonth.rawValue)

 

xfa.resolveNode("page2.projectSub.projectMonthSub.projectTable").access = "readOnly";  //the projectTable can be repeated

 

I also tried comparing the index value of the subforms and if they were equal then lock the fields but that also didn't work.

 

Can anyone help me with this code?

How can I skip tab stops for read only fields?

$
0
0

Hi,

 

I am creating a form using Livecycle ES2 and have a Q.

 

I have a yes and no checkbox which when yes is clicked makes another checkbox and date field read only. When I click no, they are opened for data entry. This works fine, but I have found when I click Yes and then press tab, it still stops at the read only fields.

 

Logic and well...pretty much every other thing i have done this in skips the fields.

 

Is there a way to make it skip the field if it is read only? I am guessing it would be along the lines of when the field is entered and is read only, it will automatically go to the next tab stop.

 

Any suggestions?

Viewing all 5571 articles
Browse latest View live


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