?>
</option>
                                                        <?php 
}
?>
                                                    </select>

                                                </div>

                                            </td>
                                        </tr>
                                        <?php 
$id = Request::get("id");
if (is_numeric($id) && $id > 0) {
    $documentcategoryObj = new DocumentCategory();
    $documentcategoryObj->set("id", $id);
    $result = $documentcategoryObj->getName();
    if (count($result)) {
        $row = $result[0];
        $id = $row['id'];
        $doc_type_id = $row['doc_type_id'];
        $name = $row['name'];
        $active = $row['active'];
    }
}
?>
                                        <tr>
                                            <td><label class="control-label" for="selectError">type of Document Category</label></td>
                                            <td><div class="input-group" style="width: 50%">
                                                    <span class="input-group-addon"></span>
                                                    <input type="text" name="name" class="form-control" placeholder="type of Document Category" required="">