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

Urgent need:Account name field autofill in account standard object

For example


user inputs

First Name:aa

Last Name:bb


then the Account name field is filled up automatically  aa+bb if user saves tat it possible or not


Are those FirstName and LastName fields on the account object? or they differ.


you can try out that using Workflow .. else trigger is the option


Are those FirstName and LastName fields on the account object?

Yes FirstName and LastName fields are same account object


My assumption here is that you have created two cutom fields First Name and Last Name and you want to save First Name + Last Name in the Account Name standard field. The best way is to create a workfow. Set evaluation criteria to Every time a record is created or edited, specify workflow action as New field update and Use a formula to set the new value.


Hope this helps.


If you are talking about account object, then yes.


User type firstname and lastname (both are standard fields), and account name will be automatically set to firstname+lastname. No workflow or trigger is needed.