added global variables access in a form theme

Adding global vars access to form themes