
 Flip - 2011-11-24 15:18:46
While doing a LoadInputValues() function like so:
$form->LoadInputValues($form->WasSubmitted('button_submit'));
One of the values dissapeared. I have 3 inputs, 1 textarea, 1 text, 1 submit.
The properties of the textarea are like this:
[code]array(9) {
  ["NAME"]=>
  string(7) "feeling"
  ["TYPE"]=>
  string(8) "textarea"
  ["ROWS"]=>
  int(3)
  ["COLS"]=>
  int(50)
  ["VALUE"]=>
  string(7) "gagadhg"
  ["LABEL"]=>
  string(11) "Description"
  ["SubForm"]=>
  string(0) ""
  ["ClientValidate"]=>
  int(0)
  ["ServerValidate"]=>
  int(0)
}[/code]
After LoadInputValues() function VALUE changes to this:
[code]["VALUE"]=>
  string(0) ""[/code]
I traced it back to forms.php Line 3793 where the LoadInputValue() function is being called.
Now i'm not sure if i have discovered a bug here or i am doing something wrong. No special error message is displayed by the form_class like usual when something is wrong.