web/formfields.py
changeset 3384 f76a38731bc1
parent 2680 66472d85d548
child 3385 68953ecddd2b
--- a/web/formfields.py	Wed Aug 05 08:40:20 2009 +0200
+++ b/web/formfields.py	Wed Aug 05 09:05:40 2009 +0200
@@ -425,17 +425,6 @@
     widget = TextInput
 
 
-class HiddenInitialValueField(Field):
-    def __init__(self, visible_field):
-        name = 'edit%s-%s' % (visible_field.role[0], visible_field.name)
-        super(HiddenInitialValueField, self).__init__(
-            name=name, widget=HiddenInput, eidparam=True)
-        self.visible_field = visible_field
-
-    def format_single_value(self, req, value):
-        return self.visible_field.format_single_value(req, value)
-
-
 class RelationField(Field):
     def __init__(self, **kwargs):
         kwargs.setdefault('sort', False)