Skip to main content

HI,

In mobile I am hiding few fields based on the drop down selection.

Can someone help me giving some basic syntax examples.

 

Like I need to hide X field based on Y fields drop down selection(Say Z).

 

Thanks In Advance,

Pinmaya

 

Hi ​@Pinmaya Kumar Singh 

Attach the script on the after-value change event.

Please see below

var filedVal= getControlValue("table","field");

if(filedVal == 'myValue')
{
setControlVisibility("table", "field", false);
}
else
{
setControlVisibility("table", "field", true);
}

 

Cheers!


Reply