public function adjustFormName($formName)
    {
        $this->_formName = $formName;
        // if no class name, add default class name. i.e. NewRecord => ObjName.NewRecord
        if ($this->function)
        {
        	if(strtolower(substr($this->function,0,3))!='js:'){
				$pos0 = strpos($this->function, "(");
				$len = strlen($this->function);
				if ($pos0 > 0)
					$pos = strrpos($this->function, ".", $pos0-$len);
				else 
					$pos = strrpos($this->function, ".");
				if ($pos > 0)
					$this->function = $this->_formName.".".substr($this->function, $pos+1);
			}
        }
    }