removeElement()
clonefish->removeElement() - remove an element from the form.
Description
class clonefish {
boolean removeElement( string $name )
}
Removes an element from the form.
Return values
Returns FALSE if the element cannot be removed (not found), returns TRUE if the element was successfully removed.
Examples
<?php
$removed = $clonefish->removeElement( 'elementname' );
if ( $removed )
echo 'element removed';
else
echo 'element not found';
?>
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 formslearn more
