IROText

From FiFormsWiki

Jump to: navigation, search

class iROText extends iInput

Simple read-only iInput. Just outputs the value as text.

(Note: if you want the value to be returned to the server on submit, you will need to combine this with an iHidden input.

Contents

Properties


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


iROText

Constructs a new iROText object.

Syntax: iROText($dbField,$caption)


Parameters

$dbField - Name of bound database field

$caption - (optional) Field caption. If omitted, set to the dbField name.

Returns

A new iROText object

Personal tools