×
Menu
Index

4.1.6. date / read_date

 
Element for dates. BOA will add an infobutton for a popup calendar. With the date field there is a build in client side validation.
 
 
Date field with infobutton to popup a calendar.
 
 
Sample of the popup calendar.
 
 
{
"display": "Date:",
"tooltip": "This is the date of the sale",
"fieldname": "datum",
"length": 8,
"inputtype": "date",
"block": 1,
"newline": true,
"labelwidth": 3,
"fieldwidth": 3,
}
 
  • display: text to display in front of the datebox.
  • tooltip: tooltip to display as help text.
  • fieldname: field to use for the date.
  • lenght: max. lenght of the text to be entered. If lenght is zero, there is no maximum.
  • inputtype: multiline.
  • block: to which block this belongs.
  • newline: to start at a new line.
  • labelwidth: number of columns to be placed before the element.
  • fieldwidth: number of columns to define the width of the textbox.