Skip to main content
Question

Mobile Screen Restriction Script

  • December 19, 2024
  • 1 reply
  • 20 views

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

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

 

 

 

1 reply

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1168 replies
  • December 19, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings