[Phplib-users] OOHform quirck
Brought to you by:
nhruby,
richardarcher
|
From: Marko K. <Mar...@mc...> - 2002-09-18 12:58:09
|
Hi,
I added a reset button to my form like this:
$f->add_element(array('type'=>'reset',
'value'=>'Reset',
'name'=>'resetname'));
later it gets outputted via:
echo $f->ge('resetname');
But unfortunately after pressing a SUBMIT type button in my form the reset
button appears without the text 'Reset' as at the beginning. Looks like
Reset resetted its own content...
The HTML output looks like this:
<input name='resetname' type=reset value=''>
Any idea?
Marko
|