IDateText

From FiFormsWiki

Jump to: navigation, search

class iDateText extends iInput

Displays a 3-part input to enter month/day/year and store in a date field

Contents

Properties

$day The day part of the date
$month The month part of the date
$year The year part of the date


Properties inherited from iInput: $caption $currentRec $dbField $error $errorMsg $formatStr $formatStrRO $otherTags $readOnly $section $value $valueToSave

Method Detail

Methods inherited from iInput

  • checkRO
  • drawInput
  • getValueToSave
  • hide
  • iInput
  • throwError


iDateText

Constructs a new iDateText object

Syntax: iDateText($dbField,$caption)


Parameters

$dbField - Bound date or date/time database field

$caption - Field caption

Returns

A new iDateText Object

Personal tools