This sample allows you to use the the DateInputBox and TimeInputBox controls in
a scenario which requires more advanced end user functionality. You can enter exact,
approximate and null dates using a variety of methods.
This sample uses multiple instances of the DateInputBox, TimeInputBox, DateLabel
and TimeLabel controls to illustrate some of the complex input scenarios that may
be required of this advanced control. It initially presents you with a single date,
time combination and a button. The button initiates an additional dialog box
where you can select whether to enter an exact date (allowing only full dates) or
switch to the enhanced input box. If the enhanced mode is selected, you can enter
fuzzy dates such as months (for example 'May-2006'),
and years (for example '2006').
This scenario also allows for a 'from and to' scenario, where two date and time
combinations are used.
In the enhanced mode, you can enable the Approx setting when the input is an exact
time. The Approx checkbox
lets you flag that your input is not exact.
The following properties have been set: