Subject: | textarea, single_select, and hidden issues +patch |
Attached is a patch that fixes three issues
1) textarea failes to use $index in one place
2) simple_select failes to generate option list during post if any validate_? failes
3) I'm having a problem with hidden on post claiming my value changed... I just made this a warning..... not sure if you want that... anyway
-- Chris
--- PerForm.pm.orig 2003-05-29 23:49:06.000000000 -0700
+++ PerForm.pm 2003-05-29 23:49:50.000000000 -0700
@@ -645,7 +645,7 @@
rows => $rows,
($wrap ? (wrap => 'wrap') : ()),
name => $name,
- value => $params->{$name},
+ value => $params->{$name.$index},
($error ? (error => $error) : ()),
index => $index,
}