Logo Search packages:      
Sourcecode: zope-formulator version File versions  Download package

def Formulator::Form::ZMIForm::manage_move_field_down (   self,
  group,
  REQUEST 
)

Moves down a field in a group.

Definition at line 918 of file Form.py.

00918                                                     :
        """Moves down a field in a group.
        """
        field_ids = self._get_field_ids(group, REQUEST)
        if (len(field_ids) == 1 and
            self.move_field_down(field_ids[0], group)):
            message = "Field %s moved down." % field_ids[0]
        else:
            message = "Can't move field down."
        return self.formOrder(self, REQUEST,
                              manage_tabs_message=message)

    security.declareProtected('Change Formulator Forms',
                              'manage_move_group')


Generated by  Doxygen 1.6.0   Back to index