Understand date field

Understand date field

The date field enables your users to enter a date value. It features a date picker that enables your users to select a date. Alternatively, they can type the date value. The selected/typed date value appears as per the date format set in your app's settings.

Experience while entering data

  • When a user accesses your form from a web browser: Clicking in the date field's input area will open the date picker. The current date comes highlighted. Your user can select the required date in a few clicks.
  • When a user accesses your form from a phone or tablet: Tapping in the date field's input area will open a calendar that auto-selects the current date. Your user can select the required date by individually selecting the month, date and year, and then tapping Done.

Features

You can perform the following customizations for the user experience of the date field on a form:

Refer to this section to learn about customizations of the date field in reports.

Allowed days

You can customize the date field such that it accepts a date that falls on an allowed day of the week. Learn how

For example, you may allow your users to select a date that falls on a Monday or Wednesday.

  • When a user accesses this date field from a web browser, dates that do not fall on a Monday or Wednesday will appear greyed out and will be disabled in the calendar. If a user types a date that does not fall on an allowed day, form submission will fail and the user will be prompted a follows:
    1. The Invalid entries found message will appear in a pop-up window.

    2. Clicking Okay will close this pop-up window and display a message below that date field.

  • When a user accesses this date field from a phone or tablet, they won't see any indication for days that are not allowed. However, if they select a date that does not fall on an allowed day, form submission will fail and the user will be prompted a follows:
    1. The Invalid entries found message will appear in a pop-up window.
    2. Clicking Dismiss will close this pop-up window and display a message below that date field.

Initial value

Initial value for a date field refers to the date value that comes set when your users access your forms to submit an entry. Learn how to set initial value for date fields

Setting an initial value will not prevent your users from editing it and entering a different date. If you want the date field to be set with the current date when your users access your form, you must add a form workflow.

Other field properties

Report-level customizations

By default, when your users access a date field in reports, they see the Full Date. You can customize the appearance of the date values as follows:

  • Set the Display Option: You can enable your users to view one of the following values: Full DateDay of month, Month, Year, Week Day (Monday, Tuesday, etc.), or Month & Year.

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com