RE: Embperl::Form::Validate question

2008-07-08 Thread Gerald Richter
ur help. > Gaurav Talwar > > warnings: > Use of uninitialized value in numeric lt (<) at > /Embperl/Form/Validate.pm line 492. > Use of uninitialized value in concatenation (.) or string at > /Embperl/Form/Validate.pm line 392. > Use of uninitialized value in hash element

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

Re: Form::Validate and Internet Explorer

2006-04-04 Thread Florian 'cit' Adamsky
without 8-bits, I believe the logic needs to be > reversed - what isn't legal. I much prefer to do the check the way > Embperl::Form::Validate does it, but I have the advantage of not > having to support non-ASCII email addresses. I've check it without 8-bits, but without succ

Re: Form::Validate and Internet Explorer

2006-04-03 Thread Ed Grimm
sed - what isn't legal. I much prefer to do the check the way Embperl::Form::Validate does it, but I have the advantage of not having to support non-ASCII email addresses. Of course, you could always try saying IE isn't supported. ;> Ed On Mon, 3 Apr 2006, Florian 'cit&#

Form::Validate and Internet Explorer

2006-04-03 Thread Florian 'cit' Adamsky
Hello list, I've another problem! With Embperl::Form::Validate I generate a javascript and check if the e-mail address is valid. With firefox and mozilla it works very well, but the internet explorer (6.0.2) always say the e-mail address is not valid. Is the generated Javascript incompa

RE: Form::Validate Different rules for different submit buttons

2005-01-12 Thread Gerald Richter
> > Is it possible to use a different set of rules for form > validation depending on which of several submit buttons on > the form were pressed? > I'm guessing no. It seems I have to have Form::Validate do > the least common denominator checking, then do any furth

Form::Validate Different rules for different submit buttons

2005-01-11 Thread Derrick Spell
Is it possible to use a different set of rules for form validation depending on which of several submit buttons on the form were pressed? I'm guessing no. It seems I have to have Form::Validate do the least common denominator checking, then do any further processing server side afte

Re: Embperl::Form::Validate question

2003-03-15 Thread Gerald Richter
> > How can i in embperl 2.0b8 with Validate module check, if some rule > key ('user' in my example) is giving an error or not? > You need to use validate instead of messages: use Embperl::Form::Validate ; $validate = Embperl::Form::Validate->new(); $validate->

Embperl::Form::Validate question

2003-03-03 Thread Dimka
Hi, How can i in embperl 2.0b8 with Validate module check, if some rule key ('user' in my example) is giving an error or not? ### script start ### [- use Embperl::Form::Validate ; $validate = Embperl::Form::Validate->new(); $validate->add_rule([-key=>'user', -msg=

Re: Form Validate

2003-01-08 Thread Gerald Richter
> > After the form is validated, if it is successful, there are other functions > I would like it to call. For example, I want to disable the "Submit" button > after it is pressed, as to prevent duplicate submissions. Is there a way to > do this using form validate? &g

Form Validate

2003-01-04 Thread Justin Harrison
Hi, After the form is validated, if it is successful, there are other functions I would like it to call. For example, I want to disable the "Submit" button after it is pressed, as to prevent duplicate submissions. Is there a way to do this using form validate? My form has several co

Re: Form::Validate hang/leak

2002-12-23 Thread Gerald Richter
> As soon as I specify more than one or two tests the apache child > begins to fill my memory quite fast and spams my browser with > megabytes of output while doing so, which effectively forces me > to kill both of them. I tried with Embperl 2.0b8 and with > yesterdays CVS, the behaviour is identic

Form::Validate hang/leak

2002-12-07 Thread Andre Landwehr
Hi, today I tried out Form::Validate on my Apache 1, perl 5.8 installation. The features look really great, but I have one problem: As soon as I specify more than one or two tests the apache child begins to fill my memory quite fast and spams my browser with megabytes of output while doing so

Re: Embperl::Form::Validate bug

2002-11-11 Thread Ilia Lobsanov
16, 2002 at 08:34:34AM +0200, Gerald Richter wrote: > > > > 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 ob

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 hav

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 u

RE: Form Validate Error

2002-08-12 Thread Justin Harrison
Esh :-) When all else fails, try the obvious, eh? Thanks! Justin > -Original Message- > From: Gavin Carr [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 9:25 PM > To: [EMAIL PROTECTED] > Subject: Re: Form Validate Error > > > On Mon, Aug 12,

Re: Form Validate Error

2002-08-12 Thread Gavin Carr
On Mon, Aug 12, 2002 at 09:18:27PM -0400, Justin M. Harrison wrote: > Rules.pm: > > sub loginform { > return([ > [-key => 'username', > -name => 'username' Missing comma. :-) > -msg => "Username was not entered", > required=>1. > -msg => "Username was too short", >

RE: Form Validate Error

2002-08-12 Thread Justin Harrison
M. Harrison [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 9:18 PM > To: [EMAIL PROTECTED] > Subject: Form Validate Error > > > Hi, > > I am attempting to validate a submitted form via code called > in an imported object perl module. > > This is

Form Validate Error

2002-08-12 Thread Justin M. Harrison
Hi, I am attempting to validate a submitted form via code called in an imported object perl module. This is the error I am receiving: ERR: 24: Error in Perl code: Can't locate object method "validate_Username was not entered" via package "Embperl::Form::Validate::Default&