PEAR Manual
Prev |  | Next

# HTML_QuickForm::elementExists()

HTML_QuickForm::elementExists() -- Checks if element is in the form

## Synopsis

    require_once 'HTML/QuickForm.php';

``boolean HTML_QuickForm::elementExists` ([string $element = `NULL`])`

## Description

Returns `TRUE` if element is in the form, `FALSE` otherwise.

## Parameter

string `$element`

  form name of element to check

## Throws

throws no exceptions thrown

## Note

since 1.0

This function can not be called statically.

Prev | Home | Next
HTML_QuickForm::createElement() | Up | HTML_QuickForm::errorMessage()