A project has a global variable (named $qval ) witch we need to update in the Edit Page, if a value was changed in a combo box.
The code is:
function Form_CustomValidate(&$CustomError) {
if($this->fieldname->FormValue == 2){
$GLOBALS["qval"] = "xyz";
}
}
However, even being sure that the field value is '2' , the $GLOBALS["qval"] does not change to "xyz".
Could some expert show what we are doing wrong ?