CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Calcualted field lost with on-validate

Print topic Send  topic

Author Message
fmbma

Posts: 58
Posted: 05/28/2004, 12:15 PM

I have a label that is calculated with the form "before show " event. I also have an on-validate event for the form that tests a different field. If the form returns with an error, the calculated amount is 0. any ideas? CCS 2.2.3.60, ASP 3.0
thx,
Fred
View profile  Send private message
peterr


Posts: 5971
Posted: 05/28/2004, 12:20 PM

Could you please test this without the On Validate event? This way I'd check if this happens only when using Before Show or if it is related to On Validate.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
fmbma

Posts: 58
Posted: 05/28/2004, 12:28 PM

The field calculates correctly without the on validate. It is a label - the value is not saved in the database but is just used for display. When I add the on-validate, and the error fires by adding a message with form.errors.adderrors, the page returns with the error message, but the calculated label is 0. I tried moving the calculation to the before show event of the label, but still didn't work.

Fred
View profile  Send private message
peterr


Posts: 5971
Posted: 05/28/2004, 12:44 PM

I checked with our support and they would like to see your page (or code sample). You can contact CCS support at http://support.codecharge.com.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

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.