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

Text validation rule in salesforce
I am new to salesforce. Please help me out.Create a text validation rule to require username value to be 9 characters only.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Also, just to clarify, your logic would require all usernames to be exactly 9 characters. In case Deepak meant no longer than 9 characters he could use:
And usernames always have to be in the form on an email address, so by default you will be using characters "@" and ".". Plus two characters, i.e. xxxxx@a.a This could get tricky, you would only have 5 characters before the @.
All Answers
With regular text fields you can specify the length, though. And on other objects you can create validation rules that make sure user supplied data meets certain criteria, but again, not on the user object (is it special).
LEN( Username ) != 9
Just tested successfully in my org!
Also, just to clarify, your logic would require all usernames to be exactly 9 characters. In case Deepak meant no longer than 9 characters he could use:
And usernames always have to be in the form on an email address, so by default you will be using characters "@" and ".". Plus two characters, i.e. xxxxx@a.a This could get tricky, you would only have 5 characters before the @.