diff -r 7ca89f4468e4 -r 0c067de38e46 web/formfields.py --- a/web/formfields.py Thu Mar 12 18:41:26 2009 +0100 +++ b/web/formfields.py Thu Mar 12 19:39:34 2009 +0100 @@ -373,7 +373,7 @@ return None if targetschema == 'Password': return StringField(widget=PasswordInput(), **kwargs) - if eschema.has_format(rschema): + if eschema.has_metadata(rschema, 'format'): constraints = rschema.rproperty(eschema, targetschema, 'constraints') for cstr in constraints: if isinstance(cstr, StaticVocabularyConstraint):