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
Laura StanleyHubbardLaura StanleyHubbard 

Creating a pre-populated Field if a Picklist Value Selected

On the Account Object, I have a picklist field titled "Pay Frequency 2" with 6 picklist values including 'None'. Use case is when that picklist field says anything other than 'None' I need another field to appear on the account page titled "Pay Frequency 2 - 1st Period End Date" and populate with that picklist value. Should I use record types? Visualforce page? What's best practice? If VF page, can anyone supply code?
pconpcon
Yes, you will need to do this via Visualforce and the reRender option.  I would take a look at this post [1] and you can crib some information from that to reRender the part of your page that contains the other field you need to show.

[1] http://blog.deadlypenguin.com/blog/2012/07/09/dynamic-dependent-picklists-in-salesforce/