myForm.clear() does not clear hidden input

Hello,

It looks like there may be a bug with the DHTMLForm. Below is my structure. After populating the form with values via javascript, I sometimes call myForm.clear(); Whenever this call is made, all the values in the displayed form are cleared, but the hidden input retains its value. Am I missing something or is this a bug?

Thanks,
Mike

[code]

[/code]