Date Time

Date Time widget can be used to capture date and time in the mobile form.

To use this feature, just drag the ‘Date Time’ widget to the digital mobile screen in the middle.

Your forms can now capture only date, only time, both date and time, date range, etc. depending on your data requirement.

Properties of a Date Time

1. Label

You can change the name of the ‘Date Time’ using a label. It is ‘Date Time’ by default.

On the right panel, go to the label section and you can type the required text that you want. The same name will appear on the form.

2. Required

You can use this property to make that ‘Date Time’ mandatory to be filled.

Some fields in your form might be mandatory, while some might not be.

For example, ‘Date Time’ field can be set to ‘Yes’ in the required property when you want to make the field mandatory.

So, while filling out a form, the user will have to compulsorily fill out the ‘Date Time’ field, without which the form wouldn’t be submitted.

3. Unique Identifier

Every field will have a unique identifier. No two unique identifiers for fields will be the same.

Please note that ‘Unique Identifier’ property is just for reference purpose only. The user need not have to do anything to this property, it can be referred when there are fields created with the same names.

When you create two fields with the same names, it might get confusing when you are setting a condition and you wouldn’t know which field is which.

For example,

If you have created a field ‘address’ - and set a visibility condition to it saying the ‘address’ field will be only visible if you have entered the ‘Phone number.’

But if there are two fields that say ‘Phone Number’ - it will be difficult to set a visibility condition since both the fields have the same name.

Both of these fields ‘Phone Number’ will have different unique identifiers. You can check the unique identifier and then set the condition accordingly.

4. Visibility Conditions

Visibility Condition in the property for the ‘Date Time’ is used to specify a condition.

If you apply any visibility condition, it implies that the ‘Date Time’ field will only be visible if it satisfies the condition that you have set.

Visibility condition can be set by specifying the condition - you can do that by clicking ‘condition not specified.’

For example,

You might create a Date Time Field ‘Inspection End Date’ which will be only visible if the user chooses ‘Yes’ option in the earlier choice list ‘Did Inspection End on Different Date from That of a Start Date?’

Visibility conditions can help you control the type of input during the filling of a form by the user.


5. Validity Conditions

Validity Condition in the property for the ‘Date Time’ is used to specify a condition.

If you set any validity condition, it implies that the ‘Date Time’ will only be valid if it satisfies the condition that you have set.

It can be set by specifying the condition - you can do that by clicking ‘condition not specified.’

For example,

You might create a field ‘Inspection End Date’ which will be only valid if the user enters ‘Yes’ in the earlier field ‘Did the inspection long for more than a day?’

Otherwise, it would be invalid and show an error message.

Validations can help you control the type of input during the filling of a form by the user.

You can also customize an error message that you want to display by typing the message in ‘Validity Error Message.’ This message will be displayed when the validity condition does not match with the given input.

The error message could be “This field is applicable only if the inspection ends on a different date.”


6. Date Picker Type

The ‘Date Picker Type’ property will allow different types of input you want while filling up the form.

There are 4 types of basic inputs available:

  1. Date: If you select Date in Date Picker Type, then you will be able to choose only date type as input while filling up the form.
  2. Time: If you select Time in Date Picker Type, then you will be able to choose only time type as input while filling up the form.
  3. Date Time Both: If you select Date Time Both in Date Picker Type, then you will be able to choose both date and time as input while filling up the form.
  4. Date Range: If you select Date Range in the Date Picker Type, then you will be able to choose a range of dates (from a particular date - to a particular date) as input while filling up the form.

We are always here to help you at every step