def validateFormFieldsDictionary(cls, dictionary):
		from svnrepositorytree import SvnRepositoryTree
		from gitrepositorytree import GitRepositoryTree
		
		type = dictionary.get("type", "")
		
		if type == "none": return True, None
		elif type == "svn": return SvnRepositoryTree.validateFormFieldsDictionary(dictionary)
		elif type == "git": return GitRepositoryTree.validateFormFieldsDictionary(dictionary)
		elif type == "raw": return RawDirectoryTree.validateFormFieldsDictionary(dictionary)
		else: return False, { "field": "type", "message": "You must provide a valid directory tree type." }