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
Reece HancoxReece Hancox 

Page layout fields automatic input button, possible?

Hey guys,

I'm currently trying to implement a button or some type of system to make life much easier. Once you press this "so called" button, it will auto fill the other side with the same information. 

If left side "contact name", "Company Name" and "Bill to" has information displayed in it, i want a button or something similar i can click, which will then auto fill the right sides text boxes "Contact Name", "Company Name" and "Ship to" with the same information. Just saves alot of time when doing thousands of these daily.

Please see image attached to understand what i mean much better. :)User-added imageThanks alot!!!!
VinayVinay (Salesforce Developers) 
Hi Reece,

You can place button on top of layout but if you need on layout edit page then you need to build a custom code page.

Try using URL hacking to auto-populate values when you have a button click.

Vinay Kumar