since ‎13-06-2009
‎10-12-2019
Yasser__AST-IT_
Level 1
Re: Formatted default text in text field
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,I know it's too late, but I can share something In the default field in the property you can press combination keys after each line to create new line effect without going to the XML source.These keys are: Ctrl+EnterFor example:If you type in the Default field or in the Tool tip : This is a testYou should get this effect in the field or in its tool tip popup: This is a testI hope this will save some key strokes and lower code maintenance.BR,Yasser

Views

404

Likes

0

Replies

0
How I can change the z-order of objects?
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,I'm creating subform that contains "tabs", I want to change the z-order of the a tab when it's clicked to be on top of other tabs.it seems instanceIndex does not work or it wan not mint for this kind of visual effects. Any idea on how this can be achieved?BR,Yasser

Views

327

Likes

0

Replies

0
Re: Re: How can I generate different images for each choice made in a drop down?
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Ok...I got it.This is how the objects are organized :and here is the objects hierarchy: Here is a sample that works (with the associated events):@ "initialize" event on the drop down list:try{ imgIconA.presence = "hidden"; imgIconB.presence = "hidden"; imgIconC.presence = "hidden";}catch(err){ xfa.host.messageBox(err.message);}@ "change" event on the drop down listtry{ switch (xfa.event.newText){ case "A": { imgIconA.presence = "visible"; imgIconB.presence = "hidden"; imgIconC.presence = "hidden...

Views

143

Likes

0

Replies

0
Re: How can I generate different images for each choice made in a drop down?
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,Assuming the following:Images are of the same size andthey are all staked on top of each othersthey are all hidden, thenYou can use the following code, switch statement, in your "change" event in the DropDownList2 as following: switch(xfa.event.newText){ case "Item One": image01.presence = "visible"; image02.presence = "hidden"; image03.presence = "hidden"; break; case "Item Two": image01.presence = "hidden"; image02.presence = "visible"; image03.presence = "hidden"; break; case "Item Three":...

Views

142

Likes

0

Replies

0
Re: Droplist with duplicated multiple bounded values - LC Designer ES3.5
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi Bruce, Yup...I think this the way to go.Maybe Adobe should look at this, because in real life, you could have one to many relationship between bounded values and selection items (like the countries/currency list)Again, thanks for the hel 🙂BR,Yasser

Views

228

Likes

0

Replies

0
Droplist with duplicated multiple bounded values - LC Designer ES3.5
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,I'm trying to set (via js on the "Change" event) the value of text field (called "txtClientCurrency") with the selected item's bounded value in a droplist (called "droplistClientCountry").The droplist contains the counteries and the binded values contains the currency code (e.g., SAR, EURO, US, etc...) and as you can imagine, some currencies are used by more than one country.When I select, for example, "United State" from the droplist, the txtClientCurrency field is set correctly to "USD".How...

Views

689

Likes

0

Replies

2
Re: Coping/Referencing/Cloning list/droplist object values to another list/droplist object
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Thanks Nail,Yes this will work perfectly if the list of items are minimal, but if you have 1,000's of line items (such product SKU's) then, this will be over killing, especially if you have this DD in a repeatable sub-forms (kind of BoQ). This will be a huge overhead both in size and perfromance...I'm still researching a kind of "in-memory" or "pointer" referencing of values in DD...I hope someone from Adobe product development team can shade a light on a "non-documented" method.BR,Yasser

Views

239

Likes

0

Replies

0
Re: Moving objects between pages (or subform containers)
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi Naill,Yes, your answer is very logical due the way the XML nodes are structured in the XFA... I think you need to change the XML at run time to do such movments/creations of objects.Thanks BR,Yasser

Views

246

Likes

0

Replies

0
Re: Coping/Referencing/Cloning list/droplist object values to another list/droplist object
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi Naill,Thank for your reply.The second case is what I'm looking for... I'll visit the links you suggested an get back to you if I have any challanges.Thanks again,BR,Yasser

Views

243

Likes

0

Replies

0
Moving objects between pages (or subform containers)
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,Using scripting, how do you copy object (say subform or list box etc…) from one page to another page?(Similarly, what's the script that enable you moving one object from a container subform to another subform container?)Thanks,Yasser

Views

653

Likes

0

Replies

3
Coping/Referencing/Cloning list/droplist object values to another list/droplist object
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,I have a list object (list1) that is empty and another list that have over 1,000 items (list2).How I can copy the values in list2 to list1 without looping through list2 items? Is there a reference assignment? For example; you can copy the image value of one image object to another image object by using the following assignment: ImageField1.rawValue = Image1.value.image.value;I tried the following for the list but did not work :list1.rawValue = lsit2.rawValue;lsit1.value = list2.value;list1.it...

Views

978

Likes

0

Replies

5
Re: How to get the dimensions (h & w) of dynamic objects
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi Stephen,Great, it seems that this is the direction to go...Really appreciate your help.BR,Yasser

Views

644

Likes

0

Replies

0
Re: How to get the dimensions (h & w) of dynamic objects
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi Stephen,Thanks for the reply.My question is about getting the dimension of a suform that expand its height dynamically based on the adding more subforms, for example!For example if you have a subform call mySubForm and if its high is "5cm", then if you run the following script: xfa.host.messageBox("The height of my subform is: " + mySubform.h);Will return "The height of my subform is: 5cm" only if the "Expand to fit" property is not checked.Once the "Expand to fit" property is checked, then t...

Views

646

Likes

0

Replies

0
How to get the dimensions (h & w) of dynamic objects
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,Is there any way to get the dimensions (h & w) of dynamic objects (such as subform, or text field) via scripting?To get way I was looking for, I tried using "object.h" or "object.w" in various events timings (i.e., @ initialize, form:ready and layout:ready) but I always get the result as "0".If someone there knows a better way to place (event) the code or have different approach, I do appreciate it. BR,Yasser

Views

5.9K

Likes

2

Replies

8
Extracting PDF comments to Process Variable
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,Can any help me on how to extract PDF comments and assign it to process variable?I'm using LC ES2.Appreciate your help.BR,Yasser

Views

1.2K

Likes

0

Replies

1
Re: What are the options to clone image/list/checkbox objects?
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi Niall,Many thanks, it works very well, really appreciate your support.The "image.value" part of your script can not be found in the Auto Complete in LC Designer ES2 when you start typing it!!!!I strongly believe that Adobe must enhance its documentation and provide more and more basic examples on each method.Once again, thanks for your support.BR,Yasser

Views

236

Likes

0

Replies

0
Re: i need a text with different values in different pages (ex. Original, Copy, Confidential, ...)
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,You can do the following:Create a master page with the invoice fields/content on that master page, then Create 3 form pages that reference the master page, finallyOne each page, you can position the text labels "Original", "Copy", and "****" the way you like.I hope the above would be healpful for you.BR,Yasser

Views

126

Likes

0

Replies

0
What are the options to clone image/list/checkbox objects?
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,I'm trying to clone one object and make duplicate of it using scripting in LC Designer ES2. one of these two use cases represent what I need to do:Reference an existing empty object (or unassigned/unset object) to the value of another similar object type. For example; I have an empty "image" object (imgObj1), I need to copy or clone the value of another image object (imgObj2) to imgObj1 to make imgObj1's values and attributes exactly the same as imgObj2. Another example, an empty list sould b...

Views

643

Likes

0

Replies

2
What are the options to clone image/list/checkbox objects?
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,I'm trying to clone one object and make duplicate of it using scripting. one of these two use cases represent what I need to do:Reference an existing empty object (or unassigned/unset object) to the value of another similar object type. For example; I have an empty "image" object (imgObj1), I need to copy or clone the value of another image object (imgObj2) to imgObj1 to make imgObj1's values and attributes exactly the same as imgObj2. Another example, an empty list sould be dynamically fille...

Views

435

Likes

0

Replies

0
Workbench crashes when trying viewing/editing a process (Win7)
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,I'm facing continuous crashes from LC WB ES2 when trying to open a process for viewing or editing and a Windows messages pops up saying that the Java Platform SE binary stopped working (see image below).Below are the screen snapshot after the crash.I'm running a fresh installation of LC ES 2 (Version: 9.0.0.0.20091021.2.223388) on Windows Ultimate 32bit edition.Also, attached are the latest Configuration and Error Log files for reference.Many thanks for your help.BR,Yasser

Views

779

Likes

0

Replies

2
Re: Another border.fill.color.value question
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi Hélène,Many thanks for your answers...I started going through the links and reading the stuff. I've gone through the LC Designer Scripting Reference on the previous versions, looking at the 8.2 version of the reference, it seems they have the same issue of not sufficient examples/explanations on how to access non-common features/properties. The problem I'm facing is I think in understanding the grammer of XFA and referencing in some special cases such as dealing with non-interactive objects.T...

Views

367

Likes

0

Replies

0
Re: Another border.fill.color.value question
Avatar

Yasser__AST-IT_

Yasser__AST-IT_
- Adobe LiveCycle
Hi,Thank you for your post, it was indeed very helpful.Another question, how can I script the change of the fill property of non-interactive objects such as circle or rectangle objects.For example, how some could change the fill type (i.e., solid, linear, radial, etc...) start color and end color, border colors, etc...And where I can find more examples or reading material (with example) of referencing all the objects in XFA (especially the #ui stuff).I have attached one document that I'm usually...

Views

367

Likes

0

Replies

0
Likes from