Skip to Content
avatar image
Former Member

Shading value section

Hi,

On the adobe form we have several input fields and drop down boxes. To shade them if it is display only we are using the code

this.fillColor = 255, 255, 255.

The problem is user does not want the caption part to be shaded, only the value part has to be shaded. Do you know any way to achieve this.

Thanks,

Aravind

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 30, 2010 at 11:39 AM

    example: TextField1.border.edge.color.value = "255,0,0";

    xfa.resolveNode("Subform1.Name.ui.#textEdit.border.fill.color").value = "153,204,255";

    come from here: http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf

    Otto

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 29, 2010 at 08:32 AM

    You can choose if you want to work with the field, the caption or both. There is a little arrow on the top right of the box. Otto

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Otto,

      Here I' am trying to provide shading using script. I' am trying to provide or remove shading for a field based on certain

      user actions on the form. So I' am using 'this.fillColor' code to do that, but caption is coming shaded.

      Let me know if you know any solution for this.

      Thanks,

      Aravind