The default value for the text field uses the default value property, which automatically occupies the text field when the user or organization creates a new record.
To set the default value for the text field using the formula. We need to enter the desired default text value. The text that we enter in the default value formula field can be as simple or as our requirement.
If you want to learn how to set the default value for the text field in Salesforce, you have come to the right place.
How to Set the Default Value for Text Field in Salesforce
Here, we will learn how to set the default value for the text field in Salesforce.
Let’s take an example related to the Lead Source default value that understands the scenario clearly.
Suppose I work in a company that uses Salesforce. The company runs an online webinar, The company member notices that most of the leads come from the same source. For this, we want to save our type so we generate an automatically occupied field with a default value.
Many of the leads come from these webinars. So, for this, we set the default value for the lead source detail fields to “Webinar” whenever a new lead is created.
Here are the following steps:
1. Login to the Salesforce account –> Go to the Gear Icon –> Click on the Setup option.

2. Now click on the Object Manager tab that is present on the nav bar.