function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mramaprasad.ax1826mramaprasad.ax1826 

have two date fields date1 and date2 on contact. When a user enters date1(1/28/2014) field, i want to poplate date2 feiled (date1 value _+ 1 year ) before hitting save button. The date 2 field should also be able overwritten. How can we achieve this

puneet-mishrapuneet-mishra
I think this is not possible with Salesforce Standard pages as you wont able to populate another field without hitting Save button, 
Can do with custom contact visualforce page.
mramaprasad.ax1826mramaprasad.ax1826
Thanks for the response. Do you have any info about how to do it with custom page? Also, how about Apex code or trigger? Thanks Malini