Skip to main content
Question

Can we mask the data in fsm for some fields


Forum|alt.badge.img+8

I want to mask some of the field content in FSM. Does anybody have any idea to do that?

6 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1131 replies
  • August 1, 2024

Hi @TDCMANIRUL 

Can you please elaborate? What is ‘mask’?

Cheers!


Forum|alt.badge.img+8
  • Author
  • Do Gooder (Customer)
  • 20 replies
  • August 2, 2024

Hi @Shneor Cheshin ,

I want to hide the data for a field on the screen. For Example, if we have field called ‘Name’, can we mask the data for this field as ‘*********’?


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1131 replies
  • August 4, 2024

Hi @TDCMANIRUL 

You can run an SQL script for that.

UDATE <TABLE>

SET NAME = ‘******’

Cheers!


Forum|alt.badge.img+8
  • Author
  • Do Gooder (Customer)
  • 20 replies
  • August 8, 2024

Hi @Shneor Cheshin ,

 

I do not want to update the data in the database. Wanted to mask while displaying the data.


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1131 replies
  • August 8, 2024

Hi @TDCMANIRUL 

In general, I would say that is not possible. 

However, if this is critical need some creative thinking here.

One option is to hide the control. Why show a control with no meaningful value?

setControlVisibility('table', 'control', false);

Another idea can be masking the data in a client script.

setControlValue('table', 'control', '*****');

Then on the save event, you will need to check if there are any values of ‘*****’ and decide what to do with it. Probably avoid saving them.

 

Cheers!


Forum|alt.badge.img+9
  • Hero (Employee)
  • 96 replies
  • August 13, 2024

Hi @TDCMANIRUL ,

If the users are required to enter data, but not see it afterwards like a password. You could try setting screen metadata for the field to use the type of passwordbox.  This will hide what is put into the field, but it will also hide the data as they enter it.  As long as its ok not to see the data when it is entered, this may be another option, and it  will not cause FSM to update the field with asterisks. Then you could have other screens where the data is un-hidden for users that would need to see it.

Cheers,

Morris 


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