This is useful in forms like user login form. When the user type is test field the text is masked with character "*" instead of text.
1. Take input text field(password) with instance "passwordInstance".
2. Add new layer, in the keyframe type the below script:
passwordInstance.password=true;