Date Time

This control accepts datetime value as an input and optionally displays it in a literal or a relative date format.

Form Design Actions

Clicking on a control pops up a design actions menu with the following options:

  • Cut action cuts the control. Use the paste action to move the control to another location after cutting.
  • Copy action copies the control. Use the paste action to add the control to another location after copying.
  • Delete action deletes the control.
  • XML is used to view and edit the XML of the control.
  • Convert is used to change the content control into other control types.

Format
The Format lists the types of date time control.

Date: Only the date is available to select in the runtime. 

TimeOnly the time is available to select in the runtime.

Date and TimeBoth the date and the time is available to select in the runtime.

Design

Is Literal?
If the date time needs to be displayed as literal instead of in relative format (like a date time instead of saying two days ago), this option must be checked. If the default configuration for the date time format is specified in the application file, it overrides this option. Consult support service for further information.

Size
Large, Big, Medium and Small options are listed. Selecting one of these will shrink or fit the date time box into its container. 

Place Holder
Any text in this area will be written as faded in the date time box when it is empty. 

Hints

The text entered in this area pops up when you hover the field.

Rules

Required for Group

Enter any name into this area to specify a validation group for the related control. After that, when you enter this same validation group name into a Validation Group area on any action button of any task, it will be checked for validation whenever the action is selected on the form.


Format
Defines the way how the control will display the date and time. It can be displayed as only a date, only a time or both.

Dynamic Rules

The dynamic rules section allows specifying format and warning messages of any element and section. It consists of two parts, one of them is for formatting rules, and the other one is for validation rules.

  • Formatting rules allow you to change the formats (text colour, background colour, style) and visibility of control depending on a condition. 
    Further information can be found here.

  • Validation rules allow you to validate the data that the end user enters. 
    Further information can be found here.

Data

Bound XPath

XPath of the element. If set to empty, it uses the parent XPath.


Copyright © 2010 - 2023 Emakin. All rights reserved.