IDs for hidden input fields

This commit is contained in:
Roland Gruber 2012-12-01 19:38:41 +00:00
parent 39a44c7991
commit 778e38f422
1 changed files with 1 additions and 1 deletions

View File

@ -2290,7 +2290,7 @@ class htmlHiddenInput extends htmlElement {
* @return array List of input field names and their type (name => type)
*/
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
echo '<input type="hidden" name="' . $this->name . '" value="' . $this->value . '">';
echo '<input type="hidden" name="' . $this->name . '" id="' . $this->name . '" value="' . $this->value . '">';
return array($this->name => 'hidden');
}