Versions Compared

Key

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

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


The field has a drop-down calendar - "date picker".


Format

The date format  "dd-MM-yyyy"


Parameters 

Default

The initial date value.

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

Page Properties
hiddentrue


Related issues 



The date field in a Page Header

The Date picker