Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: [PEAR] QuickForm + "soft" rules.
On 5/27/05, Justin Patrin <papercrane@gmail.com> wrote:
> On 5/27/05, Edward Grace <ej.grace@imperial.ac.uk> wrote: 
can 
t 
atting 
ld not 
hence 
r 
ll 
ails 
nt to 
would 
e the 
the 
>=20
> Sounds like a great idea. In fact, it's a *little* like the
> preValidationCallback option I added to my SubForm element. I'll see
> if I can find a few minutes to see if I can hack something up.
>=20

Hmmm.....well my quick look didn't turn up anything easy. If anyone
else can get this working it would be great. Or a feature request for
QF would be good.

--=20
Justin Patrin

Report this thread to moderator Post Follow-up to this message
Old Post
Justin Patrin
06-06-05 01:56 AM


Re: [PEAR] QuickForm + "soft" rules.
> Hmmm.....well my quick look didn't turn up anything easy.

That's the same conclustion I came to..  I was just hoping someone with more
PHP "mojo" would see an easier way! ;-)

> If anyone
> else can get this working it would be great. Or a feature request for
> QF would be good.

I will add this,

-ed

Report this thread to moderator Post Follow-up to this message
Old Post
Edward Grace
06-06-05 01:56 PM


Re: [PEAR] QuickForm + "soft" rules.
may be it works ..  I have just started using quickform .. so not very sure 
. but here is an idea for the hack ...

Addrule as usual .. and when the form is sent back for correction .. check i
f that is the "ONLY" error in the form .. if that is so .. freeze that eleme
nt .. and don't add that rule this time ...

possible ?

Jas

Edward Grace <ej.grace@imperial.ac.uk> wrote:
> Hmmm.....well my quick look didn't turn up anything easy.

That's the same conclustion I came to.. I was just hoping someone with more
PHP "mojo" would see an easier way! ;-)

> If anyone
> else can get this working it would be great. Or a feature request for
> QF would be good.

I will add this,

-ed

--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Report this thread to moderator Post Follow-up to this message
Old Post
Jaskirat Singh
06-06-05 01:56 PM


Re: [PEAR] QuickForm + "soft" rules.
On 6/6/05, Jaskirat Singh <jaskirat_singh@yahoo.com> wrote:
> may be it works ..  I have just started using quickform .. so not very su=
re .. but here is an idea for the hack ...
>=20
> Addrule as usual .. and when the form is sent back for correction .. chec=
k if that is the "ONLY" error in the form .. if that is so .. freeze that e=
lement .. and don't add that rule this time ...
>=20
> possible ?

Sure it is and I could fairly easily make some code which alters the
form in this way but I was looking for an easy solution to allow the
rule itself to do this so that it could be a component of QuickForm.

>=20
> Jas
>=20
> Edward Grace <ej.grace@imperial.ac.uk> wrote: 
>=20
> That's the same conclustion I came to.. I was just hoping someone with mo=
re
> PHP "mojo" would see an easier way! ;-)
>=20 
>=20
> I will add this,
>=20
> -ed
>=20
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>=20
>=20
>=20
>=20


--=20
Justin Patrin

Report this thread to moderator Post Follow-up to this message
Old Post
Justin Patrin
06-06-05 08:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Pear archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:48 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.