Skip to content

Commit

Permalink
Update class.rex_xform.inc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
xong committed Jun 21, 2013
1 parent ccddbe1 commit ab068ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/basic/class.rex_xform.inc.php
Expand Up @@ -45,6 +45,7 @@ function rex_xform()
$this->objparams['form_show'] = true;
$this->objparams['form_name'] = 'formular';
$this->objparams['form_id'] = 'form_formular';
$this->objparams['form_class'] = 'rex-xform';
$this->objparams['form_wrap'] = array('<div id="rex-xform" class="xform">', '</div>'); // or: <div id="rex-xform" class="xform">#</div>

$this->objparams['form_label_type'] = 'html'; // plain
Expand Down Expand Up @@ -420,7 +421,7 @@ function getForm()

// -------------------- formOut
$formOut = $warningOut;
$formOut .= '<form action="' . $this->objparams['form_action'] . '" method="' . $this->objparams['form_method'] . '" id="' . $this->objparams['form_id'] . '" enctype="multipart/form-data">';
$formOut .= '<form action="' . $this->objparams['form_action'] . '" method="' . $this->objparams['form_method'] . '" id="' . $this->objparams['form_id'] . '" class="' . $this->objparams['form_class'] . '" enctype="multipart/form-data">';
$formOut .= $formFieldsOut;
$formOut .= $hiddenOut;
for ($i = 0; $i < $this->objparams['fieldsets_opened']; $i++) {
Expand Down

0 comments on commit ab068ae

Please sign in to comment.