add ID for the hidden

This commit is contained in:
sparkyx 2007-09-04 17:08:59 +00:00
parent 91c7211a68
commit 486ec74fe9

View file

@ -137,7 +137,7 @@ class widget {
}
// Hidden field
if (strtoupper($this->type)=="HIDDEN") {
$r='<INPUT TYPE="HIDDEN" name="'.$this->name.'" value="'.$this->value.'">';
$r='<INPUT TYPE="HIDDEN" id="'.$this->name.'" name="'.$this->name.'" value="'.$this->value.'">';
if ( $this->readonly==true) return "";
return $r;
}