You need to sign in to do that
Don't have an account?
sureshvepuri
Enter Date format only in a custom text field
Hi Community,
i have a custom text field but can i enter date format
only? How to write a validation rule please help me
with a sample code.
Thank you in Advance.
Refer to this Post
http://boards.developerforce.com/t5/Formulas-Validation-Rules/Phone-Validation-REGEX/td-p/324749
If you want only dates in there, any reason why you can't just make it a custom date field instead of a text field ?
You can.... convert dateformat to string.
Foe Eg: you have DATE IN Date__c then
textfiled = string.valueof(Date__c );