Re: Embperl::Form::Validate bug

2006-10-11 Thread 'Kathryn Andersen'
On Wed, Oct 11, 2006 at 04:35:04PM +0200, Gerald Richter wrote: > > Line 362 of Embperl/Form/Validate.pm > > > > my $default_language = $pref -> {default_language}; > > > > should be > > > > my $default_language = $pref -> {default_language} || > > $self->{default_language} ; > > > > Yes, thi

RE: Embperl::Form::Validate bug

2006-10-11 Thread Gerald Richter
> Line 362 of Embperl/Form/Validate.pm > > my $default_language = $pref -> {default_language}; > > should be > > my $default_language = $pref -> {default_language} || > $self->{default_language} ; > Yes, this make sense. It's updated in the SVN. > > But it doesn't say how one should form th

Embperl::Form::Validate bug

2006-10-10 Thread Kathryn Andersen
I've been trying out Embperl::Form::Validate, (Embperl version 2.2.0) and I've found what appears to be a bug with error messages. If one does not give a $pref argument, and one does not give -msg values in the RULES array, then all you get for an error message is the id value of the error message

Re: Embperl::Form::Validate bug

2002-11-11 Thread Ilia Lobsanov
Gerald, the JS code for Radio would go something like this: for ( var i = 0; i < radio_element.length; i ++ ) { if ( radio_element[i].checked ) return true; } the JS code for Select would go something like this: if ( select_element.selectedIndex != 0 ) return true; ilia. On Wed, Oct 16, 20

Re: Embperl::Form::Validate bug

2002-10-15 Thread Gerald Richter
> there seems to be a bug in the way Embperl::Form::Validate generates the > client-side javascript code for the radio inputs. The JS code is using > "value" property, which is not accurate for a Radio object. > Yes, radio buttons not supported so far, since they have to be handled totaly diffe

Embperl::Form::Validate bug

2002-10-15 Thread Ilia Lobsanov
there seems to be a bug in the way Embperl::Form::Validate generates the client-side javascript code for the radio inputs. The JS code is using "value" property, which is not accurate for a Radio object. ilia. - To unsubscribe,