restrictedChars = $restrictedChars;
parent::__construct($name, $title, $value, $form);
}
function Field() {
Requirements::javascript( 'sapphire/javascript/UniqueFields.js' );
if($this->maxLength){
$field = "id() . "\" name=\"{$this->name}\" value=\"" . $this->attrValue() . "\" maxlength=\"$this->maxLength\" />";
}else{
$field = "id() . "\" name=\"{$this->name}\" value=\"" . $this->attrValue() . "\" />";
}
return $field."id()."]\" id=\"".$this->id()."-restricted-chars\" value=\"".$this->restrictedChars."\" />";
}
}
?>