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

...

user selects the date using a drop-down

...

Image Removed

 

Image Removed

 

The initial value of the control can be set by using the defaultValue attribute. The format of the value is

...

calendar

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"

...

The same format is used for minDate and maximumDate fields.

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

 

Tip
titleAX

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 in ("header-controls","kb-how-to-article") and type = "page" and space = "TU"
labelskb-how-to-article header-controls

...

hiddentrue

...


Parameters 

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. 

Image Added

Date field

Image Added

Date picker


Image Added

DateTime field


Image Added

Time picker

Explore the Mobile WMS App

Page Tree
rootMobile WMS App