$theinput->setAttribute("disabled", "disabled"); $theinput->setAttribute("class", "uneditable"); $theform->addField($theinput); $theinput = new inputField("recordid", $therecord["recordid"], "record", false, NULL); $theinput->setAttribute("readonly", "readonly"); $theinput->setAttribute("class", "uneditable"); $theform->addField($theinput); $theinput = new inputCheckbox("primary", $therecord["primary"]); $theinput->setAttribute("disabled", "disabled"); $theform->addField($theinput); $theinput = new inputCheckbox("defaultshipto", $therecord["defaultshipto"], "default ship to"); $theinput->setAttribute("disabled", "disabled"); $theform->addField($theinput); } //endif - tabledefid $thetable->getCustomFieldInfo(); $theform->prepCustomFields($db, $thetable->customFieldsQueryResult, $therecord); $theform->jsMerge(); //============================================================== //End Form Elements include "header.php"; ?> <div class="bodyline"> <?php $theform->startForm($pageTitle); ?> <div id="rightSideDiv"> <fieldset> <legend>Attributes</legend>