Fields with * are required.
errorSummary($model); ?> textFieldControlGroup($model,'Problemnumber',array('span'=>8)); ?> textFieldControlGroup($model,'Problemtitle',array('span'=>5,'maxlength'=>50)); ?> textAreaControlGroup($model,'Problemdescription',array('rows'=>6,'span'=>8)); ?> textAreaControlGroup($model,'Code',array('rows'=>6,'span'=>8)); ?> textAreaControlGroup($model,'Explanation',array('rows'=>6,'span'=>8)); ?> isNewRecord) echo $form->textFieldControlGroup($model,'AbbreviatedCode',array('span'=>5, 'value' => '0')); else echo $form->textFieldControlGroup($model,'AbbreviatedCode',array('span'=>5)); ?> textFieldControlGroup($model,'SolutionSteps',array('span'=>5,'maxlength'=>20)); ?> textFieldControlGroup($model,'SolutionTime',array('span'=>5,'maxlength'=>20)); ?> textFieldControlGroup($model,'SolutionWidth',array('span'=>5)); ?> textFieldControlGroup($model,'SolutionHeight',array('span'=>5)); ?> textFieldControlGroup($model,'SolutionValue',array('span'=>5,'maxlength'=>20)); ?>