CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Bug with After Update and On Valitdate

Print topic Send  topic

Author Message
Tobias Ferdinand
Posted: 05/12/2004, 3:16 AM

Hello,
I have a Dataset-form. if I use a special textfield or something like to
Validate the input, I can add an error. So if the error occurred, "After
Update" won't be executed. I think that's right.

But when I use the general form- On Validate and do the same for one
field, the error is shown on the next site, but "After Update" was executed.

So do you think this is a bug or a feature? ;)

So long, I'll try now, to only use the last textfield to validate all my
things and hope it'll work.


Please don't reply to my Mail-Adresse, it's not working in the Moment,
but it'll in a few days.

--
Mit freundlichen Grüßen
Tobias Ferdinand

tobias-ferdinand.net
Tel. +49 30 / 8 17 99 650
Fax +49 30 / 8 17 99 649
Mail newsATwapdog.de
Web http://www.tobias-ferdinand.net
Tobias Ferdinand
Posted: 05/12/2004, 4:46 AM

Tobias Ferdinand wrote:

> Hello,
> I have a Dataset-form. if I use a special textfield or something like to
> Validate the input, I can add an error. So if the error occurred, "After
> Update" won't be executed. I think that's right.
>
> But when I use the general form- On Validate and do the same for one
> field, the error is shown on the next site, but "After Update" was
> executed.
>
> So do you think this is a bug or a feature? ;)
>
> So long, I'll try now, to only use the last textfield to validate all my
> things and hope it'll work.
>

OK, I think I found the error. Using the last textfield did'n work
first. Because I added the error to another textfield wich was above
this I used...
Now I added the error ($object->textfield->Errors->addError()) to the
textfield I just used and now it work's.
Seems like the errors of an element are counted directly after the
validation of an Element. And all errors added later aren't counted
anymore so "After Update" will be executed. I still think this is a bug!

For your info, I'm using Codecharge Studio 2.2.3.60, PHP with Templates
and perhaps not interesting, mysql 4.

Please don't reply to my Mail-Adresse, it's not working in the Moment,
but it'll in a few days.



--
Mit freundlichen Grüßen
Tobias Ferdinand

tobias-ferdinand.net
Tel. +49 30 / 8 17 99 650
Fax +49 30 / 8 17 99 649
Mail newsATwapdog.de
Web http://www.tobias-ferdinand.net

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.