(self,
                  name=None, type=None, kind=None, id=None, nr=None,
                  by_label=False,  # by_label is deprecated
                  label=None)
Return value of control.

        If only name and value arguments are supplied, equivalent to

        form[name]
Return value of control.
Return value of control .
def get_value(self,
                  name=None, type=None, kind=None, id=None, nr=None,
                  by_label=False,  # by_label is deprecated
                  label=None):
        """Return value of control.

        If only name and value arguments are supplied, equivalent to

        form[name]

        """
        if by_label:
            deprecation("form.get_value_by_label(...)")
        c = self.find_control(name, type, kind, id, label=label, nr=nr)
        if by_label:
            try:
                meth = c.get_value_by_label
            except AttributeError:
                raise NotImplementedError(
                    "control '%s' does not yet support by_label" % c.name)
            else:
                return meth()
        else:
            return c.value
def get_value ( self , name = None , type = None , kind = None , id = None , nr = None , by_label = False , # by_label is deprecated label = None ) : if by_label : deprecation ( "form.get_value_by_label(...)" ) c = self . find_control ( name , type , kind , id , label = label , nr = nr ) if by_label : try : meth = c . get_value_by_label except AttributeError : raise NotImplementedError ( "control '%s' does not yet support by_label" % c . name ) else : return meth ( ) else : return c . value