How to configure a date field to show today's date in the Customers app?

Updated on September 17, 2021 07:48AM by Admin

Using the Master Layout feature, you can add and configure the sections and attributes. In the case of the Date field, you can add the date in two ways i.e, Static and Dynamic. If you want to show today’s date, you have to select Dynamic. Let’s go through the steps to show today’s date in the Customers app.

Steps to configure

  • Log in and access the Customers app from the universal navigation bar.
  • Select Settings from the App Header.
Customers app
 
  • From the Settings page, click on the Customize App → Master Layout → Customers from the left navigation panel.
Customize app
 
  • Drag and drop the “Date” attribute from the Palette panel on the right-hand side.
Palette
 
  • Click on the added Date attribute, you will be redirected to the Inspector section.
Inspector
 
  • You can change the name of the attribute in the Custom Section.
  • Here, enter the attribute name as the Current date.
Current date
 
  • Now, enable the Default Value under the Default Behaviour section.
default value
 
  • You can view the Static and Dynamic in the Type dropdown.
type
 
  • If you select Static type, you can set the particular date in the Date Value.
static
 
  • If you want to view today’s date on the overview page, select Dynamic type so that you can set today’s date.
  • Click on the Custom Date button.
Dynamic
 
  • On the Function Editor pop-up window, select Today, so that the system date will get updated.
  • Click on the Create button.
Create
 
  • Click on the Save button to save the changes.
Save
 
  • On the Customer creation page, you can view the changes. You can view today’s date in the Current date attribute generated automatically.
result