You need to sign in to do that
Don't have an account?
sudhIr Narayan
Trim only 80 characters and save.
Hi,
I want to save only 80 character in a text field if user enters more than 80 i want to cut remaining and add only 80 characters please suggest me how to do this
Thanks
Sudhir
I want to save only 80 character in a text field if user enters more than 80 i want to cut remaining and add only 80 characters please suggest me how to do this
Thanks
Sudhir
All Answers
1. Edit the text field and make if of length 80. It will accept only 80 characters.
2. Override the standard edit/create page using a VF and in the controller trim the field content using substring(0, 79).
field is auto text name in custom object I am not able to provide lenght since its a auto text
Thanks
Sudhir