O4WDatePicker routine
Description
Creates an input "date picker" control on the web page at the current location, using <text> as the default date (in external format). If <size> is specified, it defines the size (in characters) of the associated textbox on the web page. If <euroFlag> is set to “1”, then dates are interpreted and displayed in European format. If <euroFlag> is seto to “-1”, then dates are interpreted and displayed in YYYY-MM-DD format. If <delimChar> is specified, it is the delimiter character to use between the month, day, and year segments of the date. <Name> specifies the name of the date picker control, which is used when setting or querying it. This control can also be addressed through style sheets individually by <ID>; if <style> is specified, the style is applied to the control that is generated. Note that <style> can be either the name of a style (as created by one of the O4W style functions, or as defined in an included style sheet), or it can be the returned value from one of the O4W style functions.
Syntax
O4WDatePicker( text, size, euroFlag, delimChar, name, id, style )
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
text | A formatted date. | |
size | Size in characters of the text box portion of the date picker. | |
euroFlag | Boolean. Set to TRUE to indicate a European date format. | |
delimChar | The character, if any, to use as a separator for the date parts. | |
name | The name of the date picker. This is the input name tag. | |
id | The name of the date picker for style purposes. | |
style | When specified, the style is applied to the text box that is generated. Note that style can be either the name of a style (as created by one of the O4W style functions, or as defined in an included style sheet), or it can be the returned value from one of the O4W style functions. |
See Also
O4WTimePicker routine