clarity icon indicating copy to clipboard operation
clarity copied to clipboard

Can't unmask form fields

Open leolll opened this issue 2 years ago • 15 comments

Things I've done to unmask form input fields:

  1. Added a parent CSS class selector for the the form. (doesn't work)
  2. Added input & select selectors as umasked (doesn't' work)
  3. Added data-clarity-unmask="true" to a parent div of the form (doesn't work)

Is this expected behavior?

The only think I haven't tried is adding data-clarity-unmask="true" to each individual form input. I'd have to modify the form plugin's code so I was trying to avoid that.

leolll avatar Feb 10 '23 23:02 leolll

@leolll ,Content in the input boxes and drop-down menus will be masked in all modes and can't be customized. Please refer Masking content | Microsoft Learn for more details.

ClaritySupport avatar Feb 14 '23 17:02 ClaritySupport

@leolll ,Content in the input boxes and drop-down menus will be masked in all modes and can't be customized. Please refer Masking content | Microsoft Learn for more details.

I think that it would be a good feature to allow unmask some input content on demand. We needed to review some inputs, and we ended up implementing a workaround to achieve the same result as if we had unmasked those inputs. I mean, every project could calculate the impact of such a actions.

But you rule !

academialab avatar Feb 15 '23 22:02 academialab

I agree, there are times when viewing a recording and seeing the inputs is very enlighting. Especially if the user had validation errors and abandoned the form.

leolll avatar Feb 15 '23 22:02 leolll

I understand credit card information being masked but why mask email, name, etc. Infact why mask input boxes at all. Doesn't make sense.

We want to be able to see text inputs for debugging purposes or for understanding who are dropping off our form and for what reason.

It would be great if Clarity can have a relook at this policy.

shyamal890 avatar Apr 19 '23 06:04 shyamal890

Utterly pointless - why mask all input fields and not allow them to be unmasked?!?! Doesn't make any sense whatsoever. The page the support post refers to above states: "The input box includes the following but not limited to...". Why bother listing specifics when the sentence prior to that states all input boxes! It would be far better if it actually work as per the documentation list, so only those listed on that "help" page were forced masked and not optional, but all other input fields are optional but default to masked.

peteralewis avatar Apr 21 '23 08:04 peteralewis

We needed to review some inputs, and we ended up implementing a workaround to achieve the same result as if we had unmasked those inputs. I mean, every project could calculate the impact of such a actions.

@academialab I'm in the same situation trying to review some input fields in clarity. What workaround did you implement? Please share. I'm not sure if you're allowed to share such workarounds here so can you please share it on telegram: @ bhalesh or facebook: @ bhlesh or email: bhalesh@ duck .com?

thebhalesh avatar May 24 '23 04:05 thebhalesh

I'm seeing the same issue. But it does seem like Clarity still shows the input values in the "events" tab for a given recording, is that right?

stevenqzhang avatar Jun 14 '23 10:06 stevenqzhang

@academialab - what is the workaround you implemented to see text entered? Our application has many filters and search boxes, and we are unable to understand exactly how a user is searching and using our product.

tdowns avatar Jun 20 '23 16:06 tdowns

@tdowns I don't think you'll get a response as they didn't respond to the previous request for insight.

My guess is they either changed the field type, name or similar to bypass the masking, or if Clarity is masking every single input field however it's named, not named, type, etc, then they may have implemented a JS field replacement solution, whereby it uses a hidden input field to store the user response and simulates an input field via a p tag in a div or similar, capturing focus and user typed input via the div and displaying it in the p tag. Or something similar using Vue.

A lot of effort to fix something broken in Clarity.

peteralewis avatar Jun 20 '23 20:06 peteralewis

this makes the whole thing useless for us

San-Jeevan avatar Mar 24 '24 13:03 San-Jeevan

We would need this feature to track the customer reported issues with their addresses by unmasking some of the input fields, if it's by design what is your work around to troubleshoot?

arecipe avatar Jun 12 '24 14:06 arecipe

It is by design and there is no work around.

Thanks, Clarity Support Team Visit our docs!: https://docs.microsoft.com/en-us/clarity @.@.> @.***

Confidentiality note: This e-mail, and any attachment to it, contains privileged and confidential information intended only for the use of the individual(s) or entity named in the e-mail. If the reader of the e-mail is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that reading it is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system.

From: arecipe @.> Sent: Wednesday, June 12, 2024 7:48 AM To: microsoft/clarity @.> Cc: Microsoft Clarity Support @.>; Comment @.> Subject: Re: [microsoft/clarity] Can't unmask form fields (Issue #345)

We would need this feature to track the customer reported issues with their addresses by unmasking some of the input fields, if it's by design what is your work around to troubleshoot?

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/clarity/issues/345#issuecomment-2163233476, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW5BXQ7HMMHNKPD6R4WXWO3ZHBNTFAVCNFSM6AAAAAAUYK5KPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGIZTGNBXGY. You are receiving this because you commented.Message ID: @.@.>>

ClaritySupport avatar Jun 12 '24 14:06 ClaritySupport

By design how can we track a customer reported issue? How are we supposed to find the related recordings? I assume clarity is used for this purpose!

arecipe avatar Jun 12 '24 15:06 arecipe

We don't support unmasking input fields as those are likely to contain sensitive data.

From: arecipe @.> Sent: Wednesday, June 12, 2024 8:01 AM To: microsoft/clarity @.> Cc: Microsoft Clarity Support @.>; Comment @.> Subject: Re: [microsoft/clarity] Can't unmask form fields (Issue #345)

By design how can we track a customer reported issue? How are we supposed to find the related recordings? I assume clarity is used for this purpose!

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/clarity/issues/345#issuecomment-2163265704, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW5BXQZNOZHCXNF4M6HC323ZHBPBTAVCNFSM6AAAAAAUYK5KPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGI3DKNZQGQ. You are receiving this because you commented.Message ID: @.@.>>

ClaritySupport avatar Jun 13 '24 09:06 ClaritySupport

I think what Microsoft are trying to say, is that they are responsible across all countries for any sensitive data that will be recorded and stored. I appreciate it should be down to the developers choice and that they would be sensible enough to ensure nothing sensitive was trackable, but legally I think the responsibility belongs with Microsoft, which they're not prepared to accept. Fair enough for a free product!

When clarity first released it used to have functionality where you could add an attribute that ensured a field didn't mask, this vaguely worked for a bit, but then was removed completely without giving a clear reason.

One way I've seen around it, is to use JS to mimic an input field, displaying it in a paragraph tag in a div box, in the same way you can style fields using fake replicas with the form input field hidden. That way Clarity won't mask it. It's a lot of work to bypass the issue though, although you could create a generic function that did this for all fields.

peteralewis avatar Jun 13 '24 10:06 peteralewis