Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Collects

A date field is an input field for a date value.

The field has user selects the date using a drop-down calendar - "date picker".

Format

The date format 

Format

The displayed date formate is:

  • Controlled by Android language settings.
  • Device language is setup on enrollment but can only be controlled psysically, not through MobiControl or back-end,
  • Do not confuse with Mobile User Language which is controlled from the back-end.

The internal date format is: "dd-MM-yyyy"


Parameters 

Default

DefaultValue

The initial date value. If  the date field should be empty, the defaultValue should be set blank leaving a space in between, as follows Set_defaultValue(' ');

ClearOnClear

Will the field revert back to Default value when "Reset" is selected.

Label

The text shown above the date.

AcceptBarcode

Will the field accept scanned values or require manual entry.


MinDate

Lowest allowed value


MaxDate 

Highest allowed value


Optional

Is the field mandatory.


EanAi

If specified, the field accepts GS1 barcodes with the specified application identifiers.

A comma-separated list of GS1 Application Identifiers (e.g. "30,37") that the field will accept. 

tip

Image Added

title

Date field

AX

In AX the header is specified in the class Mob_GetReferenceData. Use addDefaultExpirationDateElement(..), addDefaultAnyDateElement(..), addDefaultDeliveryDateElement(..)  etc.
Alternative use addHeaderConfigurationElement(..) with type #InputTypeDate.

Code Block
languagec#
titleMob_GetReferenceData.addDefaultOrderFilter(..)
linenumberstrue
collapsetrue
void addDefaultOrderFilter(XmlElement linesElement)
{
    // List with warehouses
    this.addDefaultWarehouseElement(linesElement, 1, #ReferenceDataTable_WarehouseFilterList);

    // Delivery date control
    this.addDefaultDeliveryDateElement(linesElement, 2);
}


Filter by label (Content by label)
showLabelsfalse
max5
spacesTU
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "header-controls" and type = "page" and space = "TU"
labelskb-how-to-article header-controls

Page Properties
hiddentrue
Related issues 

Image Removed

The date field in a Page Header

Image Removed

The Date pickerImage Added

Date picker


Image Added

DateTime field


Image Added

Time picker

Explore the Mobile WMS App

Page Tree
rootMobile WMS App