0
$fields_form = array(
'form' => array(
'legend' => array(
'title' => $this->l('Configure Settings'),
'icon' => 'icon-cogs'
),
'description' => $form_desc,
'input' => array(
array(
'type' => 'text',
'label' => $this->l('textfield1'),
'name' => 'username',
'size' => 50,
'class' => 'fixed-width-xxl',
'required' => true
),
array(
'type' => 'password',
'label' => $this->l('textfield2'),
'name' => 'password',
'size' => 50,
'class' => 'fixed-width-xl',
'required' => true,
),
),
'submit' => array(
'name' => 'submitconfigureoptions',
'title' => $this->l('Save'),
'icon' => 'process-icon-save',
'class' => 'btn btn-default pull-right'
),
)
);
我有四个输入文本字段的表单和一个提交button.So,提交表单我在输入文本字段中输入相同的值后,必须以页面刷新后的形式显示。显示相同的表单数据
在这种情况下,您可以将字段保存到本地存储并显示。如果你能提供你的代码,这将是有帮助的。 –