Subject: | on* handling in CGI::FormBuilder::Source::File |
...::Source::File does not properly handle javascript event handlers
like onclick, onchange, etc. This appears to be because the line is not
taken verbatim like it is for things that start with 'js'. A simple fix
for this would be to change line 134 from:
if ($term =~ /^js/ || $term eq 'messages') {
to:
if ($term =~ /^js/ || $term =~ /^on/ || $term eq 'messages') {
This would allow any on* handlers to be stored and passed through properly.
thanks,
Matt Follett