since ‎22-05-2013
‎10-12-2019
George_Florenti
Level 1
Re: Re: Use xml:lang to switch language information with dropdown button
Avatar

George_Florenti

George_Florenti
- Adobe LiveCycle
To avoid counting the elements on every iteration, replace this linefor(var i=0;i

Views

46

Likes

0

Replies

0
Re: Can forms creation be automated ?
Avatar

George_Florenti

George_Florenti
- Adobe LiveCycle
I think it's possible and here is how I would do it:1. you create a table in designer, with header and 1 repeated row, minimum instance = 0;2. you create an XML file where you store the data that should be inserted into the table;3. you store the XML from step 2 in a global variable (File -> Form Properties -> Variables). The global variable has a limit of ~32.000 chars so I recommend a minified XML;4. you create a function (or ask me nicely ) that parses the XML and retrieves the data;5. you lo...

Views

80

Likes

0

Replies

0
Re: XML database not loading
Avatar

George_Florenti

George_Florenti
- Adobe LiveCycle
The question remains: What do you mean by xml database?

Views

60

Likes

0

Replies

0
Re: Question on validation
Avatar

George_Florenti

George_Florenti
- Adobe LiveCycle
How about this?if (this.rawValue > 1000) { this.rawValue = "10";}or a more abstract way: if a condition fails, update (or clear) the value of a field.I usualy use prevText and newText with dropdowns.Message was edited by: George Florentin

Views

160

Likes

0

Replies

0
Re: Use xml:lang to switch language information with dropdown button
Avatar

George_Florenti

George_Florenti
- Adobe LiveCycle
Here is another solution for you:- create 4 check-boxes (EN, FR, DE, IT), each in it's own subform - set as repeater, with minimum 0;- on "change" event of the drop-down you set the instance to 1 for the subform which contains the check-box you are interested in and instance 0 for the rest;- this will work and is easy to maintain in future, but when you change the language (and instances are added/removed) the check-boxes will be reset (if the user selects the check-box and then changes the lang...

Views

46

Likes

0

Replies

0
Re: Best place to store a big XML.
Avatar

George_Florenti

George_Florenti
- Adobe LiveCycle
Here is my situation more detailed:I have a form with a schema binded to it's fields.I have 4 dropdowns and a text field. (the text field is the last one)I have a global variable which contains an XML.I have some JavaScript functions which parse the XML and extract data (with XPATH) to populate the first drop down.When the user selects a value from the dropdown, I extract again data from the XML stored in the global variable to populate the 2nd drop down and so on until the last field.Everything...

Views

138

Likes

0

Replies

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

George_Florenti

George_Florenti
- Adobe LiveCycle
This is the system that I use and it workes perfectly:/** * Loop through all elements of eForm, except button named "view", and set the access to "protected" */function LockForm() { // Get the field containers from each page. for (var nPageCount = 0; nPageCount < xfa.layout.pageCount(); nPageCount++) { var oFields = xfa.layout.pageContent(nPageCount, "field"); var nNodesLength = oFields.length; // Set the field property. for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) { if (!(o...

Views

492

Likes

0

Replies

0
Re: Adobe Certified Expert:LiveCycle ES2 Form Developer Exam
Avatar

George_Florenti

George_Florenti
- Adobe LiveCycle
And where can I get some learning material, or my experience as a forms developer is enough?

Views

191

Likes

0

Replies

0
Best place to store a big XML.
Avatar

George_Florenti

George_Florenti
- Adobe LiveCycle
Where is the best place to store a big XML in the pdf form?I have a dynamic form which builds some drop down fields using JavaScript and as a source a XML.While developing, I used a test XML with not that much data and I stored it in a global variable, but when I try to use the production XML, it doesn't fit.I noticed that a global variable has a length limit of approx 32.000 chars and a text field has 30.000 chars limit, but my XML has more than 100.000 chars.I also tried to put the XML in a Ja...

Views

1.4K

Likes

0

Replies

4