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
DanielJimenezDanielJimenez 

Choose between existing or new record?

Hi all, quick question from a SFDC new guy. I'm building a wizard and would like to offer my users the ability to either choose an existing contact using lookup or to enter in specific information. I've got all the fields setup, a controller and a vf page. I've put a radio button in and I plan to just use JavaScript/CSS to change the fields displayed when the option is changed. In my controller I was going to do a null check and create/append data in fields if true. Does this sound like the most logical approach here?

 

Thanks for any advice!

Daniel