Skip to main content
Solved

FSM Mobile Hide Value

  • December 9, 2024
  • 1 reply
  • 32 views

Pinmaya Kumar Singh
Do Gooder (Partner)
Forum|alt.badge.img+5

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

 

Best answer by Shneor Cheshin

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!

1 reply

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • Answer
  • December 10, 2024

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!