Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

kingphysh
Community profile kingphysh Level 7
Job title here
Location here
27 BADGES
Level 7

Level 7

Learn more
Joined the community 26-07-2009 6:54:30 AM
Offline
Top badges earned by kingphysh
Customize the badges you want to showcase on your profile
Re: flowed subforms (again)
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Simply, from the perspective of you just beginning to use Designer (on day #1)? The answer is No. You cannot switch to "flowed" and expect the objects to remain in their initial layout. You must put the objects in the flowed order that you want (drag and drop in the hierarchy panel) and size them in the "Layout" panel to get the layout you desire, when using "flowed".

Views

1.5K

Likes

0

Replies

0
Re: Using string to designate a subform for the instanceManager
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi Radzmar,I ran your JS script (added a semicolon at the end of 1st line) and got:Exception in line 2 of function top_level, script XFA:form1[0]:SubformBody[0]:SubformLocation[0]:SubformPropCrDb[0]:DdlPropCreditDesc[0]:exitAlso, tried the same without the quotes ("1") with same resultAny idea whats going on?Message was edited by: kingphysh

Views

787

Likes

0

Replies

0
Re: Using string to designate a subform for the instanceManager
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Thanks Robert,I might be missing something--I've never seen square brackets used in the way you suggest. Am I missing something?The subform doesn't have an index[propOptSubformID] It would have an index[0] when it actually does exist. This isn't really an index problem. That would be easy and I think I may have to go that way (i.e. name them alll the same and reference them by index) if I can't reference the object.instanceManager and use its method setInstances() with a string.This might be a c...

Views

788

Likes

0

Replies

0
Using string to designate a subform for the instanceManager
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
var propOptSubformID = "8011"var propSubformName = Concat("SubformPropOption",propOptSubformID,".instanceManager") //since instanceManager is object$.resolveNode(propSubformName).setInstances(1)I get:I can't seem to find a way to use the instanceManager and successfully reference a subform using a string. Any ideas? I want to avoid using conditional statements or switch if possible. I have 35 different subforms eachl with 0 instances. I want to identify one of the subforms using a variable (stri...

Views

1.5K

Likes

0

Replies

4
Re: Field Appearance "underline" not visable in Preview PDF
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
OK--a few things. I have found that some lines require a min of .01in thickness to be rendered. The default .0069in doesn't cut it for check boxes, and I believe the underline style of a text field, also. It really doesn't perceivably change the appearance/thickness but it impacts whether it will be rendered.Also, try set to "None" the "Background Fill" in the Borders Tab--like in the image I posted a while ago (above). Sometimes the fill interferes with the border rendering. I'm dealing with a ...

Views

664

Likes

0

Replies

0
Re: Problem with Subform Instances at First Opening
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
OK--I figured it out--however, I still don't fully understand it.Thanks! kjaeggin for your question: "did you or did you not reproduce this with a simplified version of your form?" I had tried some simplifications, using "Inactive" presence--but that didn't flesh out the problem.I started deleting parts of the form one subform at a time--testing after each delete -- until the behavior went away.Here's what I found:mySubform had a sibbling and a child subForm with the same name and I was using th...

Views

914

Likes

0

Replies

0
Re: Problem with Subform Instances at First Opening
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
I'm sorry. I can't post my form to a public place. Even if I could share it, I think it highly unlikely that someone would have time to carefully examine the form (it contains 1000's of objects and has 80,643 lines of XML). Besides, the answer is figuring out what happens during the original layout, that doesn't happen with initiation of a new instance? That is, understanding the form processing better will help to determine where to look to find the cause.Just now, as an experiment, I added a b...

Views

904

Likes

0

Replies

0
Re: Problem with Subform Instances at First Opening
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi, Thanks kjaeggin and Bruce,I have the checkBoxes unchecked and the occur element is .Actually, this is the way the checkBoxes and XML have been all along and the results are what what I have previously described. One of my attempts to fix this was manually adding the "initial" attribute to the element (by directly editing since it won't stick in the Object pallet) that the edit reverts to .Also I have tried this is what I really want (max="1") and it reverts to as wellAnd reverts to The...

Views

899

Likes

0

Replies

0
Re: Problem with Subform Instances at First Opening
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi, The target version is set for Acrobat/Reader 10.0 or later. Here is the scenerio://////////////////////Grandparent //min="1" Parent //non-reoccuring mySubform //min="0" TextField1//////////////////////Right now, when I open the form, I get: GrandParent.Parent.mySubform.TextField1 (I see TextField1 and that is not what I want) And when I do Grandparent.addInstance(1) I get: GrandParent.Parent.nothingElse (I don't see mySubform.TextField1 in the new GrandParent. Great! that is as it should be)...

Views

898

Likes

0

Replies

0
Re: Problem with Subform Instances at First Opening
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi, Thank you for considering my problem and posting your questions. I am not merging data and I have not associated a Schema. No Data Connection has been set up, yet. Any bindings are "Use name". Perhaps this will help:I will call the subform described above: mySubformRegarding this.parent.parent of mySubform can also have multiple instances--but, is set to start with 1 instance (which it does correctly). When an instance of this.parent.parent is added, it does so correctly--without containing ...

Views

906

Likes

0

Replies

0
Problem with Subform Instances at First Opening
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi All,I have a large, complex form that has several subforms that I need to have zero instances the first time the form is opened. Most of those subforms that I set the initial instances = 0 on the Object pallet do exactly that--they behave and open with zero instances! However, I have one subform that always starts with an instance (1 instance instead of zero instances). I really don't want to work-around this, as I have done in the past when this has heppened. I want to solve it.I have triedU...

Views

4.6K

Likes

0

Replies

12
Problem with Subform Instances at Form Opening
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi All,I have a fairly large complex form that has several subforms that I want to have zero instances the first time it is opened. Most of those subforms that I set the initial instances = 0 on the Object pallet do exactly that--they behave! However, I have one subform in particular that no matter what I do, it always starts with an instance. I really don't want to work-around this, as I have done in the past when this happens. I want to solve it.I have triedUnwrapping and the re-wrapping in a ...

Views

833

Likes

0

Replies

0
Re: Need explanation of Subform Instance Brackets in Hiearchy Palette
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Yes, but setting "Initial Count" to 0 //which clears the Mindoes not change the [1..5] to [0..5]it remains [1..5] The subform does not have any instances until script is fired--yet [1..5]Not existing must not be the same as 0 instances ( Exists(MySubform) === MySubform.count ) = false?(0 === 0) = false?I haven't tested

Views

765

Likes

0

Replies

0
Re: Need explanation of Subform Instance Brackets in Hiearchy Palette
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi Niall,I appreciate new features--and your response--however, MySubform appears simply as MySubform until Max is checked for the first time. Then it appears as MySubform[1..n] // where Max = n Then then it appears as MySubform[1] after Max is subsequently unchecked. which normally indicates it is the 2nd subform with the name MySubform in the palette but--it is the sole subform with the name MySubform in the palette ?? Why, the MySubform[1] ?Stephen

Views

776

Likes

0

Replies

0
Need explanation of Subform Instance Brackets in Hiearchy Palette
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Greetings all,I noticed something in the Hiearchy Palette that doesn't look right: MySubform[1..2] The "2" goes away when I uncheck the Max (which was set to 2) in the Binding Tab--however, the [1] remains--usually indicating it is the 2nd Subform with this name. The real puzzel is that there are no other subforms with this name, but this seems to happen everytime a subform Max is set and subsequently the Max is unchecked.Is this a bug? Thanks,Stephen

Views

1.9K

Likes

0

Replies

5
Re: Javascript for Export XML Button & Import XML Button
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi,I believe that exportXFAData is not supported in Designer. I think you will need to use:xfa.host.exportDatahttp://help.adobe.com/en_US/livecycle/9.0/designerHelp/001341.htmlStephen

Views

897

Likes

0

Replies

0
Re: Compatibility with Windows 7
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
I have had some issues with Reader 9 vs Reader 10. For some reason, certain scripts (unrelated to openList) choke with Reader 9 or below, but not Reader 10. Also, have you tried FormCalc? The Preview in Designer will use Reader on your dev machine to render the form, unless it is not installed or unless you have changed the assigned program for .pdfxml in the Win 7 control panel, I believe.

Views

562

Likes

0

Replies

0
Re: Compatibility with Windows 7
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi,It may depend on your version of Reader and/or Acrobat. Using a string in the parenthesys of openList("string") is deprecated. You should try an object reference instead (remove the quotes) as in openList(object).Sooner or later the "string" won't be supported.I use Win7 Ultimate (64 bit) and have never had a problem because of the OS..Stephen

Views

563

Likes

0

Replies

0
Re: Adding values from mulitple arrays in a for loop with if then statement
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi,I'm still not sure of how your form is supposed to work.I say $ = 0 //which means "this" equals zerobut you say Holiday.rawValue = 0 //which means "Holiday" equals zeroIs Holiday the field that the script is on or some other field?

Views

530

Likes

0

Replies

0
Re: Adding values from mulitple arrays in a for loop with if then statement
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi,I made the assumption that was what you wanted. So the else $ = 0part of the script does that. What is it you want it to do instead?Stephen

Views

524

Likes

0

Replies

0
Re: Adding values from mulitple arrays in a for loop with if then statement
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi, Use FormCalc (not JavaScript). I think you have a "total" field for each week (i.e. total and Monday are siblings?). If so////////////////////////////////////////////////////////////////////// if (Activity == "Holiday")then $ = Sum(Monday, Tuesday, Wednesday, Thursday, Friday) else $ = 0 endif//////////////////////////////////////////////////////////////////////If you are totalling for multiple weeks (all the weeks), if (Activity == "Holiday")then $ = Sum(week[*]Monday, week[*]Tuesday, week[...

Views

517

Likes

0

Replies

0
Re: Populating days of the week from user Selected date. Timesheet style
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi,Just to make sure you understand and there is no confusion, make sure you are using Jono's advice for using FormCalc instead of JavaScript. I find FormCalc is much more forgiving navigating the SOM and has really nice built in functions for date calculations. So, Jono is giving excellent advice. I noticed there may be some confusion, because one of your other questions in this forum seems to mix the two languages. Also, dropdown boxes don't behave the way you might expect--so read-up on them....

Views

491

Likes

0

Replies

0
Re: Adding values from mulitple arrays in a for loop with if then statement
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi,Need more information. On what field and what event are you placing your script? $ in doesn't work in JavaScript (use "this")If you are placing the script on a dropdown box, on the Change event, "this" returns the previous value, not the current valueif Monday[i].value is referencing a SOM object (field or dropdown box, etc), you need rawValue instead of .valueIf you are referencing SOM objects (fields, etc.) using Monday[i].rawValue in JavaScript, you will need to use the resolveNode() metho...

Views

518

Likes

0

Replies

0
Re: Multiple subforms in the same place
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi,What you describe sounds like "invisible" instead of "hidden". Invisible objects still occupy space--hidden objects don't any occupy space. Be sure to use "hidden" to get the results you want. In addition, What I believe what you need is to use a Flowed container (with hight set to expand) and a script that will change the presence of the different subforms to "visible" or "hidden". These subforms will get out of the way when they are "hidden". As Ida Eve has it shown above.And, if there is a...

Views

542

Like

1

Replies

0
Re: Trying to have a script work on all pages
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi, now I get it.OK, I hate to tell you this, but you should know--it can be done with 128 instances of 1 page, instead of 128 pages. You could create a cover sheet with input parameters, like a field that you enter how many cards and a button to produce them--now you're up to 2 pages total.I don't have time to draw it all out for you, but I would encourage you to think of your project in the way I just described. Stephen

Views

533

Likes

0

Replies

0
Re: Trying to have a script work on all pages
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
I may not understand your problem completely. If you want all pages to have access to the same set of 5 random numbers, then use "variables" (that are global in scope--don't confuse this with setting field binding to global). You create "variables" (lets name them: var1,var2, var3, var4, var5) in the form File>Form Properties>Variables tab. Then you reference them (say, from the calculation event of a numeric field) like this:this.rawValue = var1.value; //rawValue for fields .value for variables...

Views

543

Likes

0

Replies

0
Re: Trying to have a script work on all pages
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Try setting it up as a script object--turn it into a function.

Views

550

Likes

0

Replies

0
Re: How to create an attribute in a data node
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
OK let me preface this with--I could easily be wrong about this: So take the following with a grain of salt:In XFA, an attribute is actually a sibling of the child elements in the SOM hiearchy--your experience seems to bear that out. I tried manually adding a custom attribute to the XML in Designer and then tried to subsequently change its value. Even though the custom attribute existed, I could not change it through scripting--Acrobat said there was no such attribute, even though it was plainly...

Views

545

Likes

0

Replies

0
Re: Change order of events
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
Hi,You haven't explained how you currently hide the button. The way I would handle it is to use the preSubmit event with the following script on the button.this.presence = "hidden"; //javascriptor $.presence = "hidden" //formCalcGood luck!Stephen

Views

420

Likes

0

Replies

0
Re: Office 2010 & LiveCycleDesigner ES 8.2
Avatar
Ignite 20
Level 7
kingphysh
Level 7

Likes

41 likes

Total Posts

288 posts

Correct reply

35 solutions
Top badges earned
Ignite 20
Give Back 200
Ignite 10
Give Back 100
Give Back 50
View profile
kingphysh
- Adobe LiveCycle
I'm not sure in your business organization, if this is possible or allowed by your IT. On my business PC, I would do a "repair" install of Designer and Acrobat. But, of course, I set the rules here.

Views

498

Likes

0

Replies

0