Andres Rormoser
|
| Posted: 02/09/2006, 4:43 AM |
|
I can put translated resources into my HTML code, but how can i insert these resources in
my ASP Events Page? I tried somethig like this:
if CodigoCount <> 1 then
Presupuesto.Errors.AddError "{res:Presupuesto}"
end if
But it didn't work.
Thanks, Andres Rormoser
|
|
|
 |
Walter Kempees
|
| Posted: 02/09/2006, 7:53 AM |
|
There are some hints in the Tips-and-solutions Forum.
This is how I did it (PhP) for Event on Validate, trapping an error:
// -------------------------
// Write your own code here.
// -------------------------
global $CCSLocales;
if ($formname->date_from->GetValue() > $formname->date_to->GetValue() ){
$formname->{Errors}->addError(CCSLocales->GetText('Period_incorrect');
}
//End Custom Code
|
|
|
 |
|