In accounts module edit view , I have email field .
I have one function which changes the display as eg: "ashXXX@test.com" in detail view although in database its saves as "firstname.lastname@example.org"
When I edit the record , the email field is displaying as "email@example.com" and I am not able to use the function in editview and display as "ashXXX@test.com" but its works for detail view.
I have function which check if X is present save the old email address else change....
For custom email field its working, as under account the field is as relationship field this problem is occuring.
Any suggestion will do...........
I am using sugarversion 6.4.x let me know in case of any other info required.