Skip to main content

Hi Team,

 

I want to restrict or alert the user from doing some specific action in mobile.

How I can restrict it through mobile client script.

 For example I want to alert or restrict the user once he tries to select and drop down and try to save it based on some unchecked condition.

On the below screen,

Like he cant scrap and save it when the from part need checkbox is unchecked.(Alert or Restrict).

 

 

 

 

 

 

 

Regards,

Pinmaya

 

 

 

Hi ​@Pinmaya Kumar Singh 

There are many options.

  • You could disable or hide the save button.
  • You could execute a validation script on the save button.
  • You could display a message on the screen as long as the conditions are not fulfilled.
  • So it depends on the use case and what exactly you wish to achieve.

Look at

  • Adding an item to the mobile screen.
  • Functions like setControlVisibility/setControlEnabled('BUTTON_SAVE',false);

Cheers!


Reply