Expand my Community achievements bar.

kingphysh
kingphysh
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • One last thought:for (i = nInstance; i<nCount+1; i++)

    Type

    Questions

    Views

    788

    Likes

    0

    Replies

    0
  • Hey,Just a thought. I think your "if" isn't needed. The "for" checks that. And, for(i=0; i<nInstance; i++)orfor(i=1; i<nInstance+1; i++)is what you need, right?StephenPS .count returns an integer of the number of instances--not zero based. If there are 5 instances, it returns 5 not 4.

    Type

    Questions

    Views

    790

    Likes

    0

    Replies

    0
  • Hi,You're using the xfa.resolveNode() method to locate and determine the nCount however, you aren't using it for adding the instance. If your script can't find its way without xfa.resolveNode() then maybe it can't find its way to addInstance(1) without xfa.resolveNode()So, try:xfa.resolveNode("Board...

    Type

    Questions

    Views

    834

    Like

    1

    Replies

    0
  • Hi,The "Underline" appearance setting is just the bottom <ui> border. If you have changed the field type from another type, using "Type" in "Field Tab", the <ui> border color may have carried over and you may have a white on white situation. Go into the Custom dialog of the Appearance and check your...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • Hi Radzmar--One of the things I really like about a floating field is that it expands and occupies only the amount of space required to display the value assigned to it (it is very format friendly). And, as you point out, it eliminates the need for the Concat() function (which makes my suggestion a ...

    Type

    Questions

    Views

    771

    Likes

    0

    Replies

    0
  • Hi,If all you need is to simply number a set of subforms, one way is to add a script to the initialize event of a field in the subform like:     $ = Concat("Item #",$.parent.index + 1)So what you are doing is,      finding the index of the subform (remember indexes are zero-based) and      adding 1 ...

    Type

    Questions

    Views

    772

    Likes

    0

    Replies

    0
  • The script needed for each total field calculation.The only thing different between them is the "6" is changed for each category (i.e. personal leave is "0"). Select FormCalc in script editor. This definitely works in your form--guaranteed!.    var oDays    = _IndvSubForm.count    var totHrs    = 0 ...

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • Looks like there are 2 subForms that have hours that need to go into the total (Consecutive and Individual)--unless you are only doing one of those.When you add a day, what subform(s) get added? The IndvSubForm? or ConsecSubForm? or both?If both, wrap those 2 Subforms in another Subform and have tha...

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • Gabriel,Please open your Hiearchy Pallet and click all the + so everything is visible. Try to expose as much as you can--open it wider if it helps. Then take a screen shot of it and post it here.Stephen

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • Hi,The script can't find the subform--probably the name is wrong. Maybe use: LeaveCatSubForm[i-1].DataDropDownList2  There are various ways to determine the correct SOM reference. At the top of the script editor (look in the image you posted at the top) you'll see the SOM fof the object you are edit...

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0
Sort by
  • Recently earned
  • Unearned first
  • A-Z
  • Z-A
Ignite 20 8/10/21 Earned by 758 People
Give Back 200 8/10/21 Earned by 248 People
Ignite 10 8/10/21 Earned by 2,007 People
Give Back 100 8/10/21 Earned by 432 People
Give Back 50 8/10/21 Earned by 815 People
Ignite 5 8/10/21 Earned by 4,873 People
Give Back 25 8/10/21 Earned by 1,688 People
Ignite 3 8/10/21 Earned by 8,902 People
Give Back 10 8/10/21 Earned by 4,136 People
Give Back 5 8/10/21 Earned by 8,163 People
Give Back 3 8/10/21 Earned by 13,154 People
Give Back 8/10/21 Earned by 31,758 People
Ignite 1 8/10/21 Earned by 36,433 People
Validate 10 4/28/21 Earned by 649 People
Validate 1 4/28/21 Earned by 15,270 People
Boost 5 4/26/21 Earned by 6,022 People
Boost 3 4/26/21 Earned by 9,029 People
Boost 25 4/26/21 Earned by 1,513 People
Boost 10 4/26/21 Earned by 3,390 People
Boost 1 4/26/21 Earned by 19,531 People
Applaud 5 4/26/21 Earned by 5,225 People
Applaud 25 4/26/21 Earned by 1,061 People
Affirm 5 4/26/21 Earned by 1,052 People
Affirm 3 4/26/21 Earned by 1,571 People
Affirm 25 4/26/21 Earned by 370 People
Affirm 10 4/26/21 Earned by 641 People
Affirm 1 4/26/21 Earned by 5,724 People
Unlock Earned by 96 People
Unlock 2 Earned by 7 People
Establish Earned by 2,863 People
Validate 25 Earned by 148 People
Validate 50 Earned by 35 People
Validate 100 Earned by 23 People
Validate 250 Earned by 13 People
Validate 500 Earned by 7 People
Validate 1000 Earned by 5 People
Validate 2000 Earned by 3 People
Applaud 50 Earned by 476 People
Applaud 100 Earned by 213 People
Applaud 250 Earned by 64 People
Show more