Document Title with multiple fields

Document Title with multiple fields

Have you ever considered adding additional fields to a document title? Let's take a sales invoice as an example. It should include the customer's name (which is present by default) and tax ID.

What method will you use? Here's an intriguing framework customization feature that can accomplish this without the use of coding.

The steps are as follows:

  1. Ensure that you have a field that will be used to create the document's title.
  2. Adding this field name to the view settings of the doctype for the title completes the first setup.
  3. If you want to add anything further, 4. Add the field links in the field's default format, which is field name.

Here is an illustration of how it appears.

b. The multifield title for the chosen doctype will be produced as a result.

This can be taken a step further by building a custom field with the combined values of other fields and generating an entirely new field. The optimal use case is quickly and efficiently constructing addresses for unique doctypes without the usage of special scripts.

The field configuration will appear as shown.

For the purpose of updating the field by altering its source fields, we are employing options for adding values. (Uses default settings)

Moreover, data should not be the field type. (May be HTML or read-only)

The result of the aforesaid arrangement is shown here.