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?
This can be achieved via scripts only. Use the below steps:
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.