Hi Eduardo,
In the earlier screenshot "Capture1", you have to check the "Initialize" option and put the Default value(value1) on the Checkbox widget, and include below script in "Visible" option on the Text widget;
as this script validates during the page load.
"[[List]]" == "value1"
If you wanted to make the Text widget visible/invisible based on the selected option of Checkbox box widget,
Please include a JS widget on the WI, which listens to the value variable of Checkbox, i.e 'List' and include below script in it.
Based on the requirement, you could update the IF condition to compare multiple item selections.
function displayTextwidget(){//alert("function displayTextwidget");
var selected_val = id_list.getSelectedValue();
var val =JSON.parse(selected_val);
//alert(val);
for(i=0;i<=val.length;i++)
{
// "value1" is the value of custom list
if(val[i]=="value1")
{
//alert("MESA checked");
id_select.setVisible(true);
break;
}
else
{
alert("MESA unchecked");
id_select.setVisible(false);
}
}
}displayTextwidget(); Hope this helps.
Regards,
Murali
Fujitsu RunMyProcess Support