update method getVar to get in form theme