} else { $strPID = str_pad($lPatientID, 5, '0', STR_PAD_LEFT); } $attributes = array('name' => 'frmEditP', 'id' => 'frmEditP'); echoT(form_open('hospice/patients/patient_rec/addEditPRec/' . $lPatientID, $attributes)); if ($bNew) { $strTitle = "Add New Patient"; $strButton = "Add Patient"; } else { $strTitle = "Update Patient Record"; $strButton = "Update"; } $clsForm->strStyleExtraLabel = 'width: 90pt;'; openBlock('Name', ''); echoT('<table class="enpView" >'); echoT($clsForm->strLabelRow('patientID', $strPID, 1)); // Title $clsForm->strStyleExtraLabel = 'width: 90pt; padding-top: 6px;'; $clsForm->strExtraFieldText = form_error('txtTitle'); echoT($clsForm->strGenericTextEntry('Title', 'txtTitle', false, $formData->txtTitle, 30, 30)); // First name $clsForm->strExtraFieldText = form_error('txtFName'); $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('First Name', 'txtFName', true, $formData->txtFName, 30, 30)); // Middle name $clsForm->strExtraFieldText = form_error('txtMName'); echoT($clsForm->strGenericTextEntry('Middle Name', 'txtMName', false, $formData->txtMName, 30, 30)); // Last name $clsForm->strExtraFieldText = form_error('txtLName'); echoT($clsForm->strGenericTextEntry('Last Name', 'txtLName', true, $formData->txtLName, 30, 30)); //----------------------
global $gbDateFormatUS, $genumDateFormat, $gstrFormatDatePicker; $clsForm = new generic_form(); $clsForm->strLabelClass = 'enpRptLabel'; $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $lEntryID = $clsEntry->lKeyID; $attributes = array('name' => 'frmClientStat'); echoT(form_open('clients/client_rec_stat/addEditStatusEntry/' . $lClientID . '/' . $lStatusID, $attributes)); echoT('<table class="enpView">'); $lMatchID = $bNew ? -1 : $clsEntry->lStatusID; echoT($clsForm->strTitleRow(($bNew ? 'Add new ' : 'Update ') . 'status for ' . $client->strSafeName, 2, '')); //--------------------------- // status category and entry //--------------------------- echoT($clsForm->strLabelRow('Status Category', $client->strStatusCatName, 1)); $clsForm->strExtraFieldText = form_error('ddlStatus'); echoT($clsForm->strGenericDDLEntry('Status', 'ddlStatus', true, $statDDL)); //--------------------------- // Packet status? //--------------------------- $clsForm->strExtraFieldText = ' (if checked, this status will be included in packet export)'; echoT($clsForm->strGenericCheckEntry('Packet Status?', 'chkPacket', 'TRUE', false, $bPacketStatus)); //-------------------- // status date //-------------------- echoT(strDatePicker('datepicker1', false)); $clsForm->strExtraFieldText = form_error('txtDate'); echoT($clsForm->strGenericDatePicker('Date', 'txtDate', true, $txtDate, 'frmClientStat', 'datepicker1')); echoT($clsForm->strNotesEntry('Notes', 'txtNotes', false, $txtNotes, 5, 46)); echoT($clsForm->strSubmitEntry('Submit', 1, 'cmdSubmit', 'text-align: left;'));
$clsForm->bValueEscapeHTML = false; $attributes = array('name' => 'frmTSTemplate', 'id' => 'frmAddEdit'); echoT(form_open('admin/timesheets/add_edit_tst_record/addEditTST/' . $lTSTID, $attributes)); openBlock('Time Sheets: ' . ($bNew ? 'Add New' : 'Edit') . ' Template', ''); echoT('<table class="enpView">'); //------------------------ // Template Name //------------------------ $clsForm->strStyleExtraLabel = 'width: 130pt; padding-top: 8px;'; $clsForm->strExtraFieldText = form_error('txtTemplateName'); $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('Template Name', 'txtTemplateName', true, $formData->txtTemplateName, 30, 80)); if ($bNew) { // Time Period $clsForm->strExtraFieldText = form_error('ddlTP'); echoT($clsForm->strLabelRow('Time Period', $formData->strTimePeriodDDL, 1)); // Start of Week $clsForm->strExtraFieldText = '<i>Applies to weekly time periods</i><br>' . form_error('ddlStart'); echoT($clsForm->strLabelRow('Start of Week', $formData->strStartSOWDDL, 1)); } else { // Time Period $clsForm->strStyleExtraLabel = 'padding-top: 3px;'; echoT($clsForm->strLabelRow('Time Period', $tst->enumRptPeriod, 1)); // Start of Week $clsForm->strExtraFieldText = '<br><i>(applies to weekly time periods)</i><br>'; echoT($clsForm->strLabelRow('Start of Week', ts_util\strXlateDayofWeek($tst->lFirstDayOfWeek), 1)); $clsForm->strStyleExtraLabel = 'padding-top: 6px;'; } //------------------------ // Time Granularity //------------------------
<?php global $genumDateFormat; $attributes = array('name' => 'frmEditPledge', 'id' => 'frmAddEdit'); echoT(form_open('donations/pledge_add_edit/addEdit/' . $lPledgeID . '/' . $lFID, $attributes)); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $clsForm->strStyleExtraLabel = 'width: 100pt;'; openBlock('Pledge', ''); echoT('<table>'); //------------------------------- // Record ID //------------------------------- echoT($clsForm->strLabelRow('Pledge ID', $bNew ? '<i>new</i>' : str_pad($lPledgeID, 5, '0', STR_PAD_LEFT), 1)); //------------------------------- // Commitment Amount //------------------------------- $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6pt; '; $clsForm->strExtraFieldText = ' <i>Amount pledged for each pledge payment</i>' . form_error('txtCommit'); $clsForm->strTxtControlExtra = ' style="text-align: right;" '; $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('Pledge Amount', 'txtCommit', true, $formData->txtCommit, 10, 20)); //------------------------------- // Payment Frequency //------------------------------- $clsForm->strExtraFieldText = form_error('ddlFreq'); echoT($clsForm->strLabelRow('Payment Frequency', $formData->strDDLFreq, 1)); //------------------------------- // # of payments
<?php global $genumDateFormat; $attributes = array('name' => 'frmEditPledge', 'id' => 'frmAddEdit'); echoT(form_open('donations/pledge_add_edit/addEditPayment/' . $lPledgeID . '/' . $lGiftID . '/' . $dtePledge, $attributes)); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $clsForm->strStyleExtraLabel = 'width: 100pt;'; openBlock('Pledge Payment', ''); echoT('<table>'); //------------------------------- // Pledge ID //------------------------------- echoT($clsForm->strLabelRow('Pledge ID', str_pad($lPledgeID, 5, '0', STR_PAD_LEFT) . ' ' . strLinkView_Pledge($lPledgeID, 'View pledge record', true), 1)); //------------------------------- // Gift ID //------------------------------- if (is_null($lGiftID)) { $strGiftID = 'n/a'; } else { $strGiftID = str_pad($lGiftID, 5, '0', STR_PAD_LEFT); } echoT($clsForm->strLabelRow('Gift ID', str_pad($lGiftID, 5, '0', STR_PAD_LEFT), 1)); //------------------------------- // Commitment //------------------------------- echoT($clsForm->strLabelRow('Commitment', $pledge->strACOCurSymbol . ' ' . number_format($pledge->curCommitment, 2) . ' (' . $pledge->enumFreq . ') ' . $pledge->strFlagImg, 1)); //------------------------------- // Campaign/Account
<?php global $gdteNow; $attributes = array('name' => 'frmActivity', 'id' => 'rptActivity'); echoT(form_open('hospice/reports/activity/runActivity', $attributes)); openBlock('Volunteer Activity Report (Non-Patient Visit)', ''); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; echoT('<table width="500" border="0">'); //------------------------ // year ddl //------------------------ $lYear = (int) date('Y', $gdteNow); $strDDL = '<select name="ddlYear" id="rptYear">' . "\n"; for ($idx = 0; $idx < 15; ++$idx) { $strDDL .= '<option value="' . $lYear . '">' . $lYear . '</option>' . "\n"; --$lYear; } $strDDL .= '</select>'; echoT($clsForm->strLabelRow('Year', $strDDL, 1, '')); $clsForm->strStyleExtraLabel = 'text-align: left; width: 50pt;'; echoT($clsForm->strSubmitEntry('View Report', 1, 'cmdSubmit', '')); echoT('</table>' . form_close('<br>')); closeblock();
$attributes = array('name' => 'frmAcctLoc', 'id' => 'acctOpts'); echoT(form_open('hospice/super/accounts/locSelect', $attributes)); openBlock('Accounts by Location', ''); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $clsForm->strStyleExtraLabel = 'width: 80pt;'; echoT('<table width="500" border="0">'); /* //------------------------ // Year //------------------------ $strYearDDL = '<select name="ddlYear">'."\n"; $lYear = (int)date('Y'); for ($idx=1; $idx<=20; ++$idx){ $strYearDDL .= '<option value="'.$lYear.'">'.$lYear.'</option>'."\n"; --$lYear; } $strYearDDL .= '</select>'."\n"; echoT($clsForm->strLabelRow('For the year', $strYearDDL, 1, '')); */ //----------------------------- // Location //----------------------------- echoT($clsForm->strLabelRow('Location', $ddlLocation, 1, '')); // $clsForm->strStyleExtraLabel = 'text-align: left; width: 100pt;'; echoT($clsForm->strSubmitEntry('View Accounts', 1, 'cmdSubmit', '')); echoT('</table>' . form_close('<br>')); closeblock();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; if ($bNew) { $strCProgID = '<i>new</i>'; } else { $strCProgID = str_pad($lCProgID, 5, '0', STR_PAD_LEFT); } $attributes = array('name' => 'frmEditCProg', 'id' => 'frmAddEdit'); echoT(form_open('cprograms/cprog_add_edit/addEdit/' . $lCProgID . ($bClone ? '/' . $lCloneSourceID : ''), $attributes)); openBlock($strBlockLabel, ''); echoT('<table class="enpView">'); if ($bClone) { // source program ID echoT($clsForm->strLabelRow('Original Client Program ID', str_pad($lCloneSourceID, 5, '0', STR_PAD_LEFT), 1)); // source program ID echoT($clsForm->strLabelRow('Original Program Name', '<b>' . htmlspecialchars($strSourceProgName) . '</b><br><br>', 1)); } // program ID echoT($clsForm->strLabelRow('Client Program ID', $strCProgID, 1)); //---------------------- // Program Name //---------------------- $clsForm->strStyleExtraLabel = 'width: 120pt; padding-top: 8px;'; $clsForm->strExtraFieldText = form_error('txtProgramName'); $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('Program Name', 'txtProgramName', true, $formData->txtProgramName, 50, 255)); //---------------------- // Enrollment Label //----------------------
echoT(form_open('creports/add_edit_crpt/add_edit/' . $lReportID, $attributes)); //------------------- // Name //------------------- $clsForm->strExtraFieldText = form_error('txtName'); $clsForm->strID = 'addEditEntry'; $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 7pt; width: 90pt;'; echoT($clsForm->strGenericTextEntry('Report Name', 'txtName', true, $formData->strName, 40, 255)); //------------------- // Notes //------------------- $clsForm->strStyleExtraLabel = 'padding-top: 3pt;'; echoT($clsForm->strNotesEntry('Notes', 'txtNotes', false, $formData->strNotes, 3, 40)); //------------------- // Report Type //------------------- if ($bNew) { echoT($clsForm->strGenericDDLEntry('Report Type', 'ddlCRpt', true, $formData->strCRptTypeDDL)); } else { echoT($clsForm->strLabelRow('Report Type', $formData->strRptType, 1)); } //------------------- // Private? //------------------- $clsForm->strExtraFieldText = '<i>If checked, only you (and admins) have access to this report.<br>' . 'If public, all users can run the report, but only you and admins can modify it.</i>'; $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 3pt;'; echoT($clsForm->strGenericCheckEntry('Private?', 'chkPrivate', 'TRUE', false, $formData->bPrivate)); echoT($clsForm->strSubmitEntry('Add Report', 1, 'cmdSubmit', 'text-align: center;')); echoT('</table>' . form_close('<br>')); echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>'); closeBlock();
$clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; if ($bNew) { $strProviderID = '<i>new</i>'; } else { $strProviderID = str_pad($lProviderID, 5, '0', STR_PAD_LEFT); } $attributes = array('name' => 'frmEditGrant', 'id' => 'frmAddEdit'); echoT(form_open('grants/provider_add_edit/addEdit/' . $lProviderID, $attributes)); openBlock(($bNew ? 'Add new ' : 'Edit Existing ') . 'Funding Provider', ''); echoT('<table class="enpView">'); // program ID echoT($clsForm->strLabelRow('Provider ID', $strProviderID, 1)); //---------------------- // Granting Organization //---------------------- $clsForm->strStyleExtraLabel = 'width: 100pt; padding-top: 8px;'; $clsForm->strExtraFieldText = form_error('txtGrantOrg'); $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('Provider/Grantor', 'txtGrantOrg', true, $formData->txtGrantOrg, 50, 255)); //---------------------- // Grant Name //---------------------- // $clsForm->strExtraFieldText = form_error('txtGrantName'); // echoT($clsForm->strGenericTextEntry('Grant Name', 'txtGrantName', true, $formData->txtGrantName, 50, 255)); /* //------------------------------- // Accounting country of Origin
echoT($clsGF->strGenericTextEntry('Address', 'txtAddr1', false, $clsChapter->strAddr1, 30, 80)); echoT($clsGF->strGenericTextEntry('Address 2', 'txtAddr2', false, $clsChapter->strAddr2, 30, 80)); echoT($clsGF->strGenericTextEntry('City', 'txtCity', false, $clsChapter->strCity, 30, 40)); echoT($clsGF->strGenericTextEntry($gclsChapterVoc->vocState, 'txtState', false, $clsChapter->strState, 30, 40)); echoT($clsGF->strGenericTextEntry('Country', 'txtCountry', false, $clsChapter->strCountry, 30, 40)); echoT($clsGF->strGenericTextEntry($gclsChapterVoc->vocZip, 'txtZip', false, $clsChapter->strZip, 12, 25)); echoT($clsGF->strGenericTextEntry('Phone', 'txtPhone', false, $clsChapter->strPhone, 30, 50)); echoT($clsGF->strGenericTextEntry('Fax', 'txtFax', false, $clsChapter->strFax, 30, 50)); $clsGF->strExtraFieldText = form_error('txtEmail'); echoT($clsGF->strGenericTextEntry('Email', 'txtEmail', false, $clsChapter->strEmail, 30, 80)); echoT($clsGF->strGenericTextEntry('Web Site', 'txtWebSite', false, $clsChapter->strWebSite, 30, 100)); echoT($clsGF->strGenericTextEntry('Default Area Code', 'txtDefAC', false, $clsChapter->strDefAreaCode, 16, 10)); echoT($clsGF->strGenericTextEntry('Default ' . $gclsChapterVoc->vocState, 'txtDefState', false, $clsChapter->strDefState, 16, 40)); echoT($clsGF->strGenericTextEntry('Default Country', 'txtDefCountry', false, $clsChapter->strDefCountry, 16, 40)); $clsGF->strStyleExtraLabel = 'padding-top: 2px;'; echoT($clsGF->strLabelRow('Default Date Format', $clsChapter->strDateFormatRadio, 1)); $clsGF->strStyleExtraLabel = 'padding-top: 8px;'; echoT($clsGF->strLabelRow('Default Accounting Country', $clsChapter->strACORadio, 1)); $clsGF->strExtraFieldText = form_error('ddlTZ'); echoT($clsGF->strLabelRow('Time Zone', $clsChapter->strTimeZoneDDL, 1)); // vocabulary $clsGF->strExtraFieldText = '<br><i>Display for zip code, postal code, etc.</i>' . form_error('txtVocZip'); echoT($clsGF->strGenericTextEntry('Voc. for Zip/Postal Code', 'txtVocZip', true, $clsChapter->txtVocZip, 50, 80)); $clsGF->strExtraFieldText = '<br><i>Display for State, Province, etc.</i>' . form_error('txtVocState'); echoT($clsGF->strGenericTextEntry('Voc. for State/Province', 'txtVocState', true, $clsChapter->txtVocState, 50, 80)); $clsGF->strExtraFieldText = '<br><i>Display for Job Skills, etc.</i>' . form_error('txtJobSkills'); echoT($clsGF->strGenericTextEntry('Voc. for Job Skills', 'txtJobSkills', true, $clsChapter->txtJobSkills, 50, 80)); echoT($clsGF->strSubmitEntry('Save', 2, 'cmdSubmit', 'width: 90pt;')); echoT('</table>'); closeBlock(); echoT(form_close('<br><br>'));
$attributes = array('name' => 'frmWinningBid', 'id' => 'winningBid'); echoT(form_open('auctions/packages/addEditPackageWinner/' . $lPackageID . '/' . $lDonorID, $attributes)); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $clsForm->strStyleExtraLabel = 'width: 100pt;'; openBlock('Auction Package Winner: <b>' . $package->strPackageSafeName . '</b>', ''); echoT('<table>'); // Winner if ($pbInfo->bBiz) { $strNameLink = ' <i>(business)</i> '; } else { $strNameLink = ' '; } echoT($clsForm->strLabelRow('Winning Bidder', $pbInfo->strSafeNameFL . $strNameLink . $pbInfo->strLink, 1)); //------------------------------- // Winning Amount //------------------------------- $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6pt; '; $clsForm->strExtraFieldText = form_error('txtPackageName'); $clsForm->strID = 'winnerAmnt'; $clsForm->strTxtControlExtra = ' style="text-align: right;" '; $clsForm->strTextBoxPrefix = $auction->strCurrencySymbol; $clsForm->strStyleExtraValue = 'vertical-align: middle; '; $clsForm->strExtraFieldText = form_error('txtAmount'); echoT($clsForm->strGenericTextEntry('Winning Amount', 'txtAmount', true, $formData->txtAmount, 8, 20)); /* //------------------------------- // Payment Received? //-------------------------------
<?php global $genumDateFormat; $attributes = array('name' => 'frmEditGift', 'id' => 'frmAddEdit'); echoT(form_open('donations/add_edit/addEditGift/' . $lGiftID . '/' . $lFID, $attributes)); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $clsForm->strStyleExtraLabel = 'width: 100pt;'; openBlock($bSponPayment ? 'Sponsorship Payment' : 'Donation', ''); echoT('<table>'); //------------------------------- // Record ID //------------------------------- echoT($clsForm->strLabelRow('Donation ID', $bNew ? '<i>new</i>' : str_pad($lGiftID, 5, '0', STR_PAD_LEFT), 1)); //------------------------------- // Amount //------------------------------- $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6pt; '; $clsForm->strExtraFieldText = form_error('txtAmount'); $clsForm->strTxtControlExtra = ' style="text-align: right;" '; $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('Amount', 'txtAmount', true, $formData->txtAmount, 10, 20)); //------------------------------- // Accounting country of Origin //------------------------------- $clsForm->strExtraFieldText = form_error('rdoACO'); echoT($clsForm->strLabelRow('Accounting Country', $formData->strACORadio, 1)); //------------------------------- // Accounts / Campaigns
$clsForm->bValueEscapeHTML = false; openBlock(($bUpdate ? 'Update ' : 'Add new ') . strLabelViaContextType($enumContextType, true, false) . ' ' . ($bImage ? 'Image' : 'PDF document'), ''); $attributes = array('name' => 'frmUpload'); if ($bUpdate) { echoT(form_open('img_docs/upload_image_doc/edit/' . $lImageDocID, $attributes)); } else { echoT(form_open_multipart('img_docs/upload_image_doc/add/' . $enumContextType . '/' . $enumEntryType . '/' . $lFID, $attributes)); } $clsForm->strStyleExtraLabel = 'padding-top: 9px;'; //---------------------- // file selection //---------------------- echoT('<table class="enpView">'); if ($bUpdate) { if ($bImage) { echoT($clsForm->strLabelRow('Image', $strImageTag, 1)); } } else { $clsForm->strExtraFieldText = form_error('userfile'); echoT($clsForm->strLabelRow($bImage ? 'Image file (jpg/gif/png)' : 'Document (pdf)', '<input type="file" name="userfile" size="80" />', 1)); } //---------------------- // date of image/doc //---------------------- echoT(strDatePicker('datepicker1', true)); $clsForm->strExtraFieldText = form_error('txtDate'); echoT($clsForm->strGenericDatePicker(($bImage ? 'Image' : 'Document') . ' Date', 'txtDate', true, $formData->txtDate, 'frmUpload', 'datepicker1')); //---------------------- // tags //---------------------- if ($lNumTags == 0) {
echoT(form_open('hospice/reports/calendar_report/runCalReport', $attributes)); openBlock('Calendar Report', ''); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; echoT('<table width="500" border="0">'); //------------------------ // Year //------------------------ $strYearDDL = '<select name="ddlYear">' . "\n"; $lYear = (int) date('Y'); for ($idx = 1; $idx <= 20; ++$idx) { $strYearDDL .= '<option value="' . $lYear . '">' . $lYear . '</option>' . "\n"; --$lYear; } $strYearDDL .= '</select>' . "\n"; echoT($clsForm->strLabelRow('For the year', $strYearDDL, 1, '')); //----------------------------- // Type of volunteer activity //----------------------------- $strActivityDDL = '<select name="ddlActivity"> <option value="patient" selected>Patient Visit</option> <option value="other">Non-Patient Volunteer Activity</option> </select>'; echoT($clsForm->strLabelRow('Activity', $strActivityDDL, 1, '')); $clsForm->strStyleExtraLabel = 'text-align: left; width: 100pt;'; echoT($clsForm->strSubmitEntry('View Report', 1, 'cmdSubmit', '')); echoT('</table>' . form_close('<br>')); closeblock();
} else { $strLID = str_pad($lLocID, 5, '0', STR_PAD_LEFT); } $attributes = array('name' => 'frmEditP', 'id' => 'frmEditP'); echoT(form_open('hospice/super/location_rec/addEditLoc/' . $lLocID, $attributes)); if ($bNew) { $strTitle = "Add New Location"; $strButton = "Add Location"; } else { $strTitle = "Update Location Record"; $strButton = "Update"; } $clsForm->strStyleExtraLabel = 'width: 80pt;'; openBlock('Location', ''); echoT('<table class="enpView" >'); echoT($clsForm->strLabelRow('locationID', $strLID, 1)); // Location name / banner name $clsForm->strExtraFieldText = form_error('txtLocName'); $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('Location Name', 'txtLocName', true, $formData->txtLocName, 50, 80)); $clsForm->strExtraFieldText = form_error('txtLocBannerTag'); echoT($clsForm->strGenericTextEntry('Banner Tag Line', 'txtLocBannerTag', true, $formData->txtLocBannerTag, 50, 80)); // Address echoT($clsForm->strGenericTextEntry('Address 1', 'txtAddr1', false, $formData->txtAddr1, 40, 80)); echoT($clsForm->strGenericTextEntry('Address 2', 'txtAddr2', false, $formData->txtAddr2, 40, 80)); echoT($clsForm->strGenericTextEntry('City', 'txtCity', false, $formData->txtCity, 40, 80)); echoT($clsForm->strGenericTextEntry('State', 'txtState', false, $formData->txtState, 40, 80)); echoT($clsForm->strGenericTextEntry('Zip', 'txtZip', false, $formData->txtZip, 20, 40)); echoT($clsForm->strGenericTextEntry('Country', 'txtCountry', false, $formData->txtCountry, 20, 80)); // Phone / Fax / Email / Web echoT($clsForm->strGenericTextEntry('Phone', 'txtPhone', false, $formData->txtPhone, 20, 40));
global $gbDateFormatUS, $gstrFormatDatePicker; $attributes = array('name' => $viewOpts->strFormName, 'id' => $viewOpts->strID); echoT(form_open('reports/pre_gift_ack/showOpts/' . $enumAckType, $attributes)); openBlock('Gift Acknowledgment / ' . $strLabel, ''); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->strStyleExtraLabel = 'width: 100pt;'; $clsForm->bValueEscapeHTML = false; echoT('<table width="900" border="0">'); //------------------------------- // Accounting country of Origin //------------------------------- $clsForm->strStyleExtraLabel = 'vertical-align: middle; width: 120pt; '; echoT($clsForm->strLabelRow('Accounting Country', $formData->strACORadio, 1)); $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6px;'; $clsForm->strStyleExtraValue = 'vertical-align: top;'; echoT($clsForm->strLabelRow('Time Frame', $dateRanges, 1)); /* //---------------------- // report start //---------------------- $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6pt; '; echoT(strDatePicker('datepicker1', false)); $clsForm->strExtraFieldText = form_error('txtSDate'); echoT($clsForm->strGenericDatePicker( 'Start', 'txtSDate', true, $txtSDate, 'frmGiftAckRpt', 'datepicker1'));
$attributes = array('name' => $viewOpts->strFormName, 'id' => $viewOpts->strID); echoT(form_open($frmLink, $attributes)); openBlock($viewOpts->blockLabel, ''); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->strStyleExtraLabel = 'width: 90pt;'; $clsForm->bValueEscapeHTML = false; echoT('<table border="0">'); //-------------------------------- // Time Frame //-------------------------------- $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6px;'; $clsForm->strStyleExtraValue = 'vertical-align: top;'; echoT($clsForm->strLabelRow('Time Frame', $dateRanges, 1)); //-------------------------------- // Group By (for client recs) //-------------------------------- $strDEGroup = '<input type="radio" name="rdoGroup" value="individual" ' . ($strRdoGroup == 'individual' ? 'checked' : '') . '>Individual ' . '<input type="radio" name="rdoGroup" value="staffGroup" ' . ($strRdoGroup == 'staffGroup' ? 'checked' : '') . '>Staff Group <br>'; $strIndent = ' '; //-------------------------------- // Data Entry //-------------------------------- $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 4px;'; $strDESource = '<input type="radio" name="rdoSrc" value="client" ' . ($strRdoSrc == 'client' ? 'checked' : '') . '>Client Records<br>' . $strIndent . $strIndent . 'grouping: ' . $strDEGroup . '<input type="radio" name="rdoSrc" value="enroll" ' . ($strRdoSrc == 'enroll' ? 'checked' : '') . '>Client Programs: Enrollment Records<br>' . '<input type="radio" name="rdoSrc" value="attend" ' . ($strRdoSrc == 'attend' ? 'checked' : '') . '>Client Programs: Attendance Records<br>'; echoT($clsForm->strLabelRow('Data Source', $strDESource, 1)); // echoT($clsForm->strLabelRow('Group By', $strDEGroup, 1)); $clsForm->strStyleExtraLabel = 'text-align: left;'; echoT($clsForm->strSubmitEntry('Run Report', 2, 'cmdSubmit', 'text-align: center;')); echoT('</table>' . form_close('<br>'));
// activity date //---------------------- echoT(strDatePicker('datepicker1', false, 2000)); $clsForm->strExtraFieldText = form_error('txtDate'); echoT($clsForm->strGenericDatePicker('Date of vol. activity', 'txtDate', true, $formData->txtDate, 'frmHrsLog', 'datepicker1')); /*------------------------------- Start Time -------------------------------*/ $clsForm->strExtraFieldText = form_error('ddlStart'); echoT($clsForm->strGenericDDLEntry('Start Time', 'ddlStart', true, $formData->lStartTime)); /*------------------------------- Duration -------------------------------*/ $clsForm->strExtraFieldText = form_error('ddlDuration'); echoT($clsForm->strGenericDDLEntry('Duration', 'ddlDuration', true, $formData->enumDuration)); /*------------------------------- Activity -------------------------------*/ $clsForm->strExtraFieldText = form_error('ddlActivity'); echoT($clsForm->strLabelRow('Activity', $formData->strVolActivity, 1)); // job code for shift echoT($clsForm->strLabelRow('Job Code', $strDDLJobCode, 1)); /*------------------------------- Notes -------------------------------*/ $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 2pt; '; $clsForm->strExtraFieldText = form_error('txtNotes'); echoT($clsForm->strNotesEntry('Notes', 'txtNotes', false, $formData->strNotes, 3, 34)); echoT($clsForm->strSubmitEntry('Save activity info', 2, 'cmdSubmit', '')); echoT('</table></form>'); closeBlock();
<?php $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; echoT(form_open('accts_camp/campaigns/xferCampaignSubmit/' . $lCampID)); $attributes = new stdClass(); $attributes->lTableWidth = 800; $attributes->lUnderscoreWidth = 300; openBlock('Transfer Campaign', '', $attributes); echoT('<table class="enpView">'); echoT($clsForm->strLabelRow('campaignID', str_pad($lCampID, 5, '0', STR_PAD_LEFT), 1)); echoT($clsForm->strLabelRow('Campaign Name', $strCamp, 1)); echoT($clsForm->strLabelRow('Current Account', $strAcct, 1)); $strDDL = ''; foreach ($accts as $acct) { $lKeyID = $acct->lKeyID; if ($lKeyID != $lAcctID) { $strDDL .= '<option value="' . $lKeyID . '" >' . $acct->strSafeName . '</option>' . "\n"; } } $clsForm->strStyleExtraLabel = 'width: 80pt; padding-top: 8px;'; echoT($clsForm->strGenericDDLEntry('New Account', 'ddlAcct', true, $strDDL)); echoT($clsForm->strSubmitEntry('Transfer Campaign', 2, 'cmdSubmit', 'text-align: left;')); echoT('</table>' . form_close('<br>')); closeBlock();
echoT(form_open('volunteers/events_add_edit/eventUpdate/'.$lEventID, $attributes)); */ $attributes = array('name' => $strForm, 'id' => 'frmAddEdit'); echoT(form_open('volunteers/events_add_edit/addEditEvent/' . $lEventID, $attributes)); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strEntryClass = 'enpView'; if ($bNew) { $strEventID = '<i>new</i>'; } else { $strEventID = str_pad($lEventID, 5, '0', STR_PAD_LEFT); } echoT('<table>'); $clsForm->strStyleExtraLabel = 'width: 100pt; padding-top: 2px;'; $clsForm->bValueEscapeHTML = false; echoT($clsForm->strLabelRow('Event ID', $strEventID, 1)); $clsForm->strStyleExtraLabel = 'width: 100pt; padding-top: 8px;'; $clsForm->strID = 'addEditEntry'; $clsForm->strExtraFieldText = form_error('txtEvent'); echoT($clsForm->strGenericTextEntry('Event Name', 'txtEvent', true, $formData->strEventName, 53, 255)); echoT($clsForm->strNotesEntry('Note', 'txtNote', false, $formData->strDescription, 4, 50)); echoT($clsForm->strNotesEntry('Location', 'txtLocation', false, $formData->strLocation, 4, 50)); echoT($clsForm->strGenericTextEntry('Contact', 'txtContact', false, $formData->strContact, 53, 255)); echoT($clsForm->strGenericTextEntry('Phone', 'txtPhone', false, $formData->strPhone, 53, 80)); $clsForm->strExtraFieldText = form_error('txtEmail'); echoT($clsForm->strGenericTextEntry('Email', 'txtEmail', false, $formData->strEmail, 53, 200)); echoT($clsForm->strGenericTextEntry('Web Link', 'txtWebLink', false, $formData->strWebSite, 53, 200)); if ($bNew) { echoT($recurringOpts); } echoT($clsForm->strSubmitEntry('Save Event', 2, 'cmdSubmit', ''));
echoT(form_open('financials/deposits_add_edit/addDeposit', $attributes)); openBlock('Add a New Deposit', ''); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->strStyleExtraLabel = 'width: 100pt;'; $clsForm->bValueEscapeHTML = false; echoT('<table width="900" border="0">'); //------------------------------- // Notes //------------------------------- echoT($clsForm->strLabelRow('Notes', 'You will be able to select donations to be included in this deposit.<br> To qualify, a donation must: <ul style="list-style-type: square; display:inline; margin-left: 0; padding: 0pt;"> <li style="margin-left: 20px;">be within your timeframe</li> <li style="margin-left: 20px;">not an in-kind donation</li> <li style="margin-left: 20px;">not included in another deposit</li> </ul>', 1)); //------------------------------- // Recent Deposits //------------------------------- if ($lNumDeposits == 0) { echoT($clsForm->strLabelRow('Recent Deposits', '<i>No previous deposits</i>', 1)); } else { $strOut = ''; foreach ($deposits as $deposit) { $strOut .= $deposit->strCountryName . ' ' . $deposit->strFlagImg . ' ' . date($genumDateFormat, $deposit->dteStart) . ' - ' . date($genumDateFormat, $deposit->dteEnd) . ' by ' . htmlspecialchars($deposit->strCFName . ' ' . $deposit->strCLName) . ' ' . '(' . number_format($deposit->lNumGifts) . ' entries) ' . strLinkView_DepositEntry($deposit->lKeyID, 'View deposit record', true) . '<br>'; } echoT($clsForm->strLabelRow('Recent Deposits', $strOut, 1)); }
<?php echoT(form_open('reports/pre_clients/bDay_run')); if ($lNumLocations == 0) { echoT('<br><i>There are no client locations defined in your database.</i><br><br>'); return; } openBlock('Client Birthdays', ''); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->strStyleExtraLabel = 'width: 90pt;'; $clsForm->bValueEscapeHTML = false; echoT('<table width="800" border="0">'); // location selection $clsForm->strStyleExtraLabel = 'width: 80pt; padding-top: 8px;'; $strOut = '<select name="ddlLoc"> <option value="-1" selected>All locations</option>' . $ddlLocs . '</select>'; echoT($clsForm->strLabelRow('Location', $strOut, 1)); // month selection $strOut = '<select name="ddlMonth">' . "\n"; for ($idx = 1; $idx <= 12; ++$idx) { $strOut .= '<option value="' . $idx . '">' . strXlateMonth($idx) . '</option>' . "\n"; } $strOut .= '</select>' . "\n"; echoT($clsForm->strLabelRow('Birthdays in', $strOut, 1)); echoT($clsForm->strSubmitEntry('Run Report', 2, 'cmdSubmit', 'text-align: center;')); echoT('</table>' . form_close('<br>')); closeblock();
<?php if ($bMultiEntry) { return; } // shouldn't be here! if ($lNumTables == 0) { echoT('<br><i>Sorry, there are no tables available for transfer. Please create a new table first.<br><br></i>'); return; } $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $attributes = array('name' => 'frmXferField', 'id' => 'frmXferField'); echoT(form_open('admin/uf_fields/xfer1/' . $lTableID . '/' . $lFieldID, $attributes)); openBlock('Transfer a field to another personalized table', ''); echoT('<br><table class="enpView">'); echoT($clsForm->strLabelRow('Field Name', htmlspecialchars($ufield->pff_strFieldNameUser), 1)); // source table echoT($clsForm->strLabelRow('Source Table', htmlspecialchars($strUserTableName), 1)); // destination table $clsForm->strExtraFieldText = form_error('ddlTables'); echoT($clsForm->strLabelRow('Destination Table', $strDDL, 1)); $clsForm->strStyleExtraLabel = 'text-align: left;'; echoT($clsForm->strSubmitEntry('Transfer', 2, 'cmdSubmit', 'width: 100pt; text-align: center;')); echoT('</table>' . form_close('<br>')); echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>'); closeBlock();
<?php global $genumDateFormat; $attributes = array('name' => 'frmEditAuction', 'id' => 'frmAddEdit'); echoT(form_open('auctions/auction_add_edit/addEditAuction/' . $lAuctionID, $attributes)); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $clsForm->strStyleExtraLabel = 'width: 100pt;'; openBlock('Silent Auction', ''); echoT('<table>'); //------------------------------- // Record ID //------------------------------- echoT($clsForm->strLabelRow('Auction ID', $bNew ? '<i>new</i>' : str_pad($lAuctionID, 5, '0', STR_PAD_LEFT), 1)); //------------------------------- // Auction Name //------------------------------- $clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 4pt; '; $clsForm->strExtraFieldText = form_error('txtAuctionName'); $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('Auction Name', 'txtAuctionName', true, $formData->txtAuctionName, 40, 255)); //------------------------------- // Date of auction //------------------------------- $clsForm->strExtraFieldText = form_error('txtADate'); echoT($clsForm->strGenericDatePicker('Date of Auction', 'txtADate', true, $formData->txtADate, 'frmEditAuction', 'datepickerFuture')); //------------------------------- // Contact //-------------------------------
echoT('<br><i>There are no questions in this test!</i><br><br>'); return; } $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $attributes = array('name' => 'frmEditPPTest', 'id' => 'frmAddEdit'); echoT(form_open('cpre_post_tests/client_test_results/addEditTestResults/' . $lTestLogID . '/' . $lClientID . '/' . $lPPTestID, $attributes)); openBlock('Pre/Post Test Results: ' . htmlspecialchars($pptest->strTestName), ''); echoT('<table class="enpView">'); //-------------------------- // Test name //-------------------------- echoT($clsForm->strLabelRow('Test Name', htmlspecialchars($pptest->strTestName), 1)); //-------------------------- // Pre/Post-test score //-------------------------- $lNumCorrectPre = $lNumCorrectPost = 0; foreach ($QandA as $QA) { if ($QA->bPreTestRight) { ++$lNumCorrectPre; } if ($QA->bPostTestRight) { ++$lNumCorrectPost; } } $strPreTestScore = number_format($lNumCorrectPre / $lNumQuests * 100, 1) . ' %'; $strPostTestScore = number_format($lNumCorrectPost / $lNumQuests * 100, 1) . ' %'; echoT($clsForm->strLabelRow('Pre-test score', $strPreTestScore, 1));
<?php $attributes = array('name' => 'frmRptOptsSUDE', 'id' => 'rptOptsSUDE'); echoT(form_open('hospice/reports/su_data_entry/opts', $attributes)); openBlock('Monthly Data Entry Report', ''); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $clsForm->strStyleExtraLabel = 'width: 100pt; padding-top: 6px;'; echoT('<table width="500" border="0">'); //------------------------ // starting month //------------------------ $clsForm->strExtraFieldText = form_error('txtMonth'); echoT($clsForm->strLabelRow('For the month', '<input type="text" value="' . $txtMonth . '" name="txtMonth" size="8" id="month1">', 1, '')); $clsForm->strStyleExtraLabel = 'text-align: left; width: 100pt;'; echoT($clsForm->strSubmitEntry('View Report', 1, 'cmdSubmit', '')); echoT('</table>' . form_close('<br>')); closeblock();
} echoT($strDuplicateWarning); if ($bNew) { echoT(form_hidden('lLocationID', $client->lLocationID)); echoT(form_hidden('lStatusCatID', $client->lStatusCatID)); echoT(form_hidden('lVocID', $client->lVocID)); } if ($bNew) { $strTitle = "Add New {$strClientVName}"; $strButton = "Add {$strClientVName}"; } else { $strTitle = "Update {$strClientVName}"; $strButton = "Update {$strClientVName}"; } openBlock($strTitle, ''); echoT('<table class="enpView">' . $clsForm->strLabelRow($clsClientV->vocs[0]->strLocS, $clsLocation->strLocation, 1)); echoT($clsForm->strLabelRow('clientID', $strClientID, 1)); //---------------------- // name //---------------------- $clsForm->strStyleExtraLabel = 'width: 120pt; padding-top: 8px;'; $clsForm->strExtraFieldText = form_error('txtFName'); $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry("{$strClientVName} First Name", 'txtFName', true, $formData->txtFName, 20, 30)); echoT($clsForm->strGenericTextEntry("{$strClientVName} Middle Name", 'txtMName', false, $formData->txtMName, 20, 30)); echoT($clsForm->strGenericTextEntry("{$strClientVName} Last Name", 'txtLName', false, $formData->txtLName, 20, 30)); //---------------------- // birthdate //---------------------- echoT(strDatePicker('datepicker1', false)); $clsForm->strExtraFieldText = form_error('txtBDate');
$attributes = array('name' => 'frmPastDueRpt', 'id' => 'pastDueRpt'); echoT(form_open('reports/pre_spon_past_due/run', $attributes)); openBlock('Sponsor Past Due', ''); echoT('<table border="0">'); $clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $clsForm->strStyleExtraLabel = 'width: 100pt;'; //------------------------------- // Accounting country of Origin //------------------------------- $clsForm->strStyleExtraLabel = 'vertical-align: middle; '; echoT($clsForm->strLabelRow('Accounting Country', $formData->strACORadio, 1)); //------------------------------- // Past Due Duration //------------------------------- $clsForm->strStyleExtraLabel = ''; echoT($clsForm->strLabelRow('Past Due Duration', 'At least <select name="ddlPastDue"> <option value="1">1</option> <option value="2" selected>2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> </select> months past due', 1)); //------------------------------- // Include inactive?
$clsForm = new generic_form(); $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; if ($bNew) { $strItemID = '<i>new</i>'; } else { $strItemID = str_pad($lICatID, 5, '0', STR_PAD_LEFT); } $attributes = array('name' => 'frmIItem', 'id' => 'frmAddEdit'); echoT(form_open('staff/inventory/inventory_items/addEditItem/' . $lICatID . '/' . $lIItemID, $attributes)); openBlock(($bNew ? 'Add' : 'Update') . ' Inventory Item', ''); echoT('<table class="enpView">'); echoT($clsForm->strLabelRow('itemID', $strItemID, 1)); //---------------------- // Category Breadcrumb //---------------------- echoT($clsForm->strLabelRow('Category', htmlspecialchars($strBreadCrumb), 1)); //---------------------- // Item name //---------------------- $clsForm->strStyleExtraLabel = 'width: 100pt; padding-top: 6px;'; $clsForm->strExtraFieldText = form_error('txtItem'); $clsForm->strID = 'addEditEntry'; echoT($clsForm->strGenericTextEntry('Item', 'txtItem', true, $formData->txtItem, 30, 255)); //---------------------- // Serial # a //---------------------- $clsForm->strExtraFieldText = form_error('txtSNa');