Example #1
0
echo $form->error($pxForm, 'quantificationOther');
?>
                </div>
            </div>
        </div>

        <div class="px-column-center">
        	<div class="control-group">
                <div>
                    <?php 
echo $form->labelEx($pxForm, 'instrument', array('class' => 'px-label'));
?>
                </div>
                <div class="px-checkbox-list">
                    <?
                    $iList = PxInfoForm::getInstrumentList();
                    foreach ( $iList as $instrument) {
                        $checkedHtml = array_key_exists($instrument, $pxForm->instrument) ? 'checked="checked"' : '';
                        echo '<input type="checkbox" name="instrument[' . $instrument . ']" value="1"' . $checkedHtml . '/> '. $instrument . '<br/>';
                    }
                    ?>
                    <?php 
echo $form->textField($pxForm, 'instrumentOther');
?>
                    <?php 
echo $form->error($pxForm, 'instrumentOther');
?>
                </div>
            </div>
        </div>