June 15 @ 11 am CDT

Premiere Event

OR

June 23 @ 12 PM GMT

International Event

Facilitating Compliance, Productivity, and
Collaboration in Food & Beverage

88% Reduction of production issues in just 12 months

57% Reduction of production issues in the first 90 days

How Can We Help?
< All Topics
Print

What are the Date Time Widget Properties

Date Time Widget

The Date Time widget can be used to capture date and time during data collection on the mobile device workflow. To use the Date Time widget in your workflow, drag the widget from the left pane and drop it to the middle pane. Options available include Date time both (default), Date, Time, or Date Range.

Date Time Widget—Properties

Date Picker Type

Date Picker Type default value is Date time both. Date Picker Type property allows different types of input during data collection on your workflow. The four types are Date, Time, Date Time Both and Date Range.

Date—Select Date to allow you to choose date only when you complete your workflow. Time—Select Time to allow you to choose time only when you complete your workflow. Date Time Both—Select Date Time Both to allow you to choose both date and time when you complete your workflow. Date Range—Select Date Range to allow you to select a date range (from a particular date—to a particular date) when completing you workflow.

 

Date Format

Date Format default value is Empty. Date Format property can be customized to display the date in the specified format to the user. The default date format in Month, Day, Year, Hour, Minutes AM (PM). Example—January 14, 2021 9:55 AM  

The default date format in Month, Day, Year, Hour, Minutes AM (PM). Example—January 14, 2021 9:55 AM  

Additional Example—Date Format property set to MM/dd/yyyy HH:mm—displays 01/14/2021 10:08. Date Format property set to dd-MMMM-yyyy H:mm—displays 14-JANUARY-2021 10:14

Additional Example—Date Format property set to MM/dd/yyyy HH:mm—displays 01/14/2021 10:08. Date Format property set to dd-MMMM-yyyy H:mm

For more details on date format patterns, you can refer to the link below:

https://help.gooddata.com/cloudconnect/manual/date-and-time-format.html

Widget Layout

Widget Layout default value is Two Line. Use the Widget Layout property to set to name (label) and value to a single line or two lines. Example—Two Line layout displays the widget name (label) on one line and the value (to be filled in) on a second line. One Line layout displays the widget name (label) and the value to be filled in on a single line.

Widget Layout for Date Time Widget

Repopulate Value

Repopulate Value default value is No. Use the Repopulate Value property to automatically repopulate (ditto) the previously submitted value. Example—Yes will remember the previously entered value and automatically populate the field every time a new Workflow is opened for data collection (user can manually change and this will become the new repopulate value); No will display the field blank every time a new Workflow is opened for data collection.

Date Time Widget—Common Properties

Date Time Widget Common Properties include—Label, Font Size, Required, Unique, Unique Identifier, On Value Change, Hidden, Value Display Mode, Default Help Mode, Increase Indent By, Visibility Conditions and Validity Conditions. Reference Text Box Widget—Common Properties for definitions and examples

Visibility Conditions 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 workflow by the user.

Validity Conditions 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 workflow 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.”

Previous What are the GPS Widget Properties
Next What are the Timestamp Widget Properties
Table of Contents