Expand my Community achievements bar.

kingphysh
kingphysh
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi,I really don't quite understand what it is you want to accomplish. For dropdown boxes, there are pairs of values as in $.addItem("whatYouSee","rawValue").The $.boundItem(xfa.event.newText) will work on the "change" event of the dropdown box and return "rawValue" .   //but why use a script like th...

    Type

    Questions

    Views

    1.4K

    Like

    1

    Replies

    0
  • Hi, Some of your scripting is using "$" which only works in FormcalcYou haven't mentioned which events you're using. In order to get the rawValue of the dropdown box, use the "exit" event of the dropdown box.      var sNewSel = this.rawValue;       //Javascript  --  you can't use "$" in Javascript, ...

    Type

    Questions

    Views

    1.5K

    Likes

    0

    Replies

    0
  • Hi,A couple of things--I should have mentioned the 8 DDLs before.1) You have 8 DDLday--the script only loops through the first 7: (DDLday[0] thru DDLday[6]).   Either delete the 8th DDLday or change the script to:     for i = 0 upto 7 do2) You have a variable and a field with the same name: "availab...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • Hi,A few things to correct1) You must use square brackets -- My Fault -- not sure how that one got past me!          DDLday[i]2) DDLs can't have values the same for the items meaning change them to:      0 = N/A, 1= Day, 2= Eve, 3= Nite3) You only need the 1 script --don't place script on the NumNA ...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • Hi,The url you provided is not specific to your document--it is simply a link to acrobat.com--in other words, you need to go back and allow sharing of the document and post the url specific to the document.Cheers,Stephen

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • Hi,First, my inclination would be to name all the DDLs the same--but label them differently. You can certainly do it using separate names as you have them now. but there is an advantage in having them the same as you will see. In the example blow, I have them all named DDLday, OK? So LiveCycle will ...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • 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