Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5726 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I wonder if this would be a useful tweak. I added a test to see if someone had deleted characters from the end. It doesn't work if they reposition the cursor before deleting, but it works if someone just typed the wrong letter, then deleted it.

If [ Length ( account::password ) > Length (account::mask) ]

Set Field [ account::password;

Case ( IsEmpty ( account::mask ) ; "" ; Left ( account::password; Length ( account::mask )) ) ]

Else

Set Field [ account::password; Case (

IsEmpty ( account::mask ) ; "" ; account::password & Right ( account::mask ; 1 ) ) ]

Set Field [ account::mask; Left ( "••••••••••••••••••••••••••••••••••••••••••••••••••••" ; Length ( account::password ) ) ]

End If

Mask_wDelete.png

Edited by Guest
  • 3 weeks later...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.