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
|
 |
 |
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 |
 |
 |
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
|
 |
 |
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 |
 |
 |
|