Updated error printing for form theme.