Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this message> 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
Post Follow-up to this messagemay 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
Post Follow-up to this messageOn 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.