getElementByName()

clonefish->getElementByName() - returns a reference to a form element.

Description

class clonefish {
  mixed getElementByName( string $name )
}

Returns a reference to an element object. Returns FALSE, if the element was not found.

Examples

<?php

$element 
$clonefish->getElementByName'elementname' );

?>

form validation for developers!

clonefish is a proven, mature form generator class that helps PHP developers to create, validate and process secure, flexible and easy-to-maintain forms
learn more
Bookmark and Share