Adobe LiveCycle Designer hide label description of textfield

2.4k Views Asked by At

I have textfield with datasource binding (from Interface). Those fields are only shown depending on another field "zkz", which holds a 'X' or is empty.

So the value of the fields are only displayed when the zkz field has an 'X' and this works good. But the label description of the fields are still there even when the field is empty. How to hide the description also?

1

There are 1 best solutions below

2
On BEST ANSWER

This can be achieved via scripts only. Use the below steps:

  1. Select your text field in the hierarchy
  2. Call Script Editor by Ctrl-Shift-F5 if it's not visible
  3. In the script editor select event layout:ready
  4. Use following script to achieve conditional visibility of a field

    if( this.rawValue == 'value'){
    this.presence = "hidden";
    }
    else
    {
    this.presence = "visible";
    }
    

This Java script uses value of the same field as a condition, however you can use any other field on the form. Basic info can be get from here but better use Help of LiveCycle Designer.