-123, 'element4' => 123456789.50, ]; protected function _doInsert() { $form = $this->_getNewForm(); if ($form->validate()) { $data = $form->getValues(); $form->getElement('dump')->setValue(nl2br(var_export($data, true))); } $this->_addFormItem($form); return $this; } protected function _getNewForm(array $options = []) { $form = new Qs_Form($this->_getFormOptions()); $form->addElement('hidden', 'action', ['value' => 'insert']); $this->_bindFormFields($form); return $form; } protected function _bindFormFields(Qs_Form $form) { $form->addElement('static', 'dump', ['label' => 'SUBMITTED VALUES']); $form->addElement('multiFile', 'optionalFiles', ['label' => 'Optional Files']); return $this; } }