Skip to main content

Hi All,

In the mobile fsm app, I have a list with rows with ‘Allow Modify’ set to true, so user can edit the values of that record.

I’m now looking for a way in mobile to set a Row on that List to Read-Only based on some conditions. The only (possible) solution so far is to set all the fields within that row (linkend screen), to read-only.

However I prefer that they can’t go that linkend screen at all, so ‘disable’ the ‘Allow Modify’ function.

Regards,

Hi @drooij 

The solution you found is the only one I know of.

We cannot conditionally control the ‘Modify’ function.

Cheers!


Hi @drooij,

As I understand it, you need to read only some items on the list screen based on certain conditions, and some items allow a click to go to the next screen for modification.

I think you can write a script for the tap event to prevent that list item from opening the edit screen.

 

But I’m not sure if this solution will work while you are using the ‘Modify’ option.

 


@Shneor Cheshin Thanks for the response

@Chethana, Thanks, by using a Tap Event instead, it should be possible indeed. Going to test if using a combination will work.

 

Edit: Can’t use a combination of ‘Modify’ function and a Tap script
 


Hi @drooij , 

Try to implement the edit function manually. Then you can create a custom script to check your validation and open the edit screen accordingly.

I think that’s the best solution in your case.


Reply