Expand my Community achievements bar.

tadobeee
tadobeee
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • I got it to work on a single element.  The code (for an element named 'Docket_Year' was as follows:xfa.resolveNode(Docket_Year.somExpression + ".ui.#textEdit.border.getElement('edge',2).color").value = BlackCode.value;where BlackCode.value is '0,0,0'.I also got it to work in a function.  I can call ...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • Thanks,I've tried the following.  I think I'm close, but haven't gotten any of these to work yet.eval("xfa.resolveNode('form1.#subform["+ MySubformNum + "]." + MyFieldRef + ".ui.oneOfChild.border.getElement('edge',3).edge.color').value = '" + BlackCode.value + "';");eval("xfa.resolveNode('form1.#sub...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • I have a text box in a form that only has the bottom border shown.  That box gets activated and deactivated programmatically (using a function) depending on whether some other checkboxes are checked.  When the text box is active, it is set to access='open' and I want the bottom border to change from...

    Type

    Questions

    Views

    4.8K

    Like

    1

    Replies

    10
  • Thanks, I think I'm heading in the right direction.Although I'm finding that if I use .somExpression, then my JavaScript doesn't work.  It will only work if I remove the bracketed numbers from the .somExpression manually.  Any idea what I'm doing wrong?  Sound like using the SOM works for you.Emily

    Type

    Questions

    Views

    448

    Likes

    0

    Replies

    0
  • I previously asked a question about how to programmatically change the background color of just the box of a checkbox object.  The code (which worked great) was as follows:xfa.resolveNode("form1.page1.cb.ui.#checkButton.border.fill.color").value = "255,255,0";I now need to do something similar for o...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    3
  • I would like to know how to dynamically change the fill color of a checkbox.  When I use the following code, I change the color of the entire object (including the text).  I just want to change the color of the little box.this.fillColor = "255,255,0";Any insight?Thanks,Emily

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    1
  • Thanks, that's a big help.I have a related, but different problem.  I am trying to do something similar, but in the context of a user-defined function.  So, for instance, say I had an entire column of percentage inputs.  I want a script to make sure they are all between 0 and 100.So I wrote a functi...

    Type

    Questions

    Views

    395

    Likes

    0

    Replies

    0
  • I have a number of objects that have the same name, so that they end up being automatically indexed by LiveCycle.  For instance, I might have as checkbox names:ImmunizationYes[0]ImmunizationYes[1]ImmunizationYes[2]ImmunizationYes[3]ImmunizationYes[4]andImmunizationNo[0]ImmunizationNo[1]ImmunizationN...

    Type

    Questions

    Views

    967

    Likes

    0

    Replies

    3
  • Most helpful once again.  Thanks Dallas.Again, for those of you as slow as I am, I had one thing that might save you some time...  I kept getting an error on the "for" statement.  I figured out that I had to put hard returns after the ";" symbols, so that it read as follows:for (var i = 0;i < single...

    Type

    Questions

    Views

    576

    Likes

    0

    Replies

    0
  • That worked great!For those of you trying this out, I might save you a few minutes of scratching your head (if you're as slow as I am) by telling you to make sure that you have the script where you call the function set to JavaScript instead of FormCalc.  Kept throwing me errors.And the function scr...

    Type

    Questions

    Views

    490

    Likes

    0

    Replies

    0
Top badges earned by tadobeee
Customize the badges you want to showcase on your profile