I'm currently trying to replicate the functionality of Connected App's Consumer Secret. Just as a reference, the field looks like this when you first open a Connected App (Setup > Apps > Connected Apps):
And when the field is clicked on, it looks like this:
I want to be able to replicate this for a custom Encrypted Text field. I found this method of putting this Hyperlink that references the value from the text field in a formula:
Unfortunately, this does not work with Encrypted Text fields, which are not allowed in formula fields. I know an alternative would be to create a VisualForce page and use JS to hide it behind a link, but I'm leaving that as a last resort.
Is there any other know way of replicating that functionality on the Encrypted Text field?
Let me know if any other information is needed, and thank you in advance!