You need to sign in to do that
Don't have an account?

Password field
I was thinking of creating a custom text field that will act as a password field. I was wondering if there is a way that I can make it act like a password field and when a user inputs characters they will show as '*'
You can use Apex:OutputLabel to generate labels. (And I think something with $ObjectType to get the label corresponding to the field if you son't want to hard-code it).
Another option you might want to explore is Salesforce Encrypted Fields for your custom field. This is an option that has to be enabled for your org so you have to contact support to use it. But with this, InputField would do the masking automatically, and give you the normal label support etc...
All Answers
In a visualforce page, <apex:inputSecret>
Cool, so that works for the most part. The only thing is that The Field Name does not show up. Is there a way for that to appear?
You can use Apex:OutputLabel to generate labels. (And I think something with $ObjectType to get the label corresponding to the field if you son't want to hard-code it).
Another option you might want to explore is Salesforce Encrypted Fields for your custom field. This is an option that has to be enabled for your org so you have to contact support to use it. But with this, InputField would do the masking automatically, and give you the normal label support etc...
<apex:inputsecret label="Password" required="true"/>