def validate_on_move(self):
    '\n        Validates the current page and its elements.\n\n        Can be overloaded to change the validating behavior of a derived\n        section. By default, this validation method is called on each\n        foward and backward move, as well as when participants jump\n        *from* the section, but not when they jump *to* the section.\n\n        Raises:\n            ValidationError: If validation fails.\n\n        See Also:\n            Use the individual methods :meth:`.validate_on_forward`,\n            :meth:`.validate_on_backward`, :meth:`.validate_on_jumpfrom`,\n            and :meth:`.validate_on_jumpto` if you want even more fine-\n            grained control over validation behavior.\n\n        .. versionchanged:: 2.1.0\n           Switched the default order of validation. Now, elements are\n           validated first, then the page itself is validated.\n\n        '
    if (not self.exp.current_page._validate_elements()):
        raise ValidationError()
    if (not self.exp.current_page._validate()):
        raise ValidationError()
Validates the current page and its elements.

Can be overloaded to change the validating behavior of a derived
section. By default, this validation method is called on each
foward and backward move, as well as when participants jump
*from* the section, but not when they jump *to* the section.

Raises:
    ValidationError: If validation fails.

See Also:
    Use the individual methods :meth:`.validate_on_forward`,
    :meth:`.validate_on_backward`, :meth:`.validate_on_jumpfrom`,
    and :meth:`.validate_on_jumpto` if you want even more fine-
    grained control over validation behavior.

.. versionchanged:: 2.1.0
   Switched the default order of validation. Now, elements are
   validated first, then the page itself is validated.
def validate_on_move(self):
    '\n        Validates the current page and its elements.\n\n        Can be overloaded to change the validating behavior of a derived\n        section. By default, this validation method is called on each\n        foward and backward move, as well as when participants jump\n        *from* the section, but not when they jump *to* the section.\n\n        Raises:\n            ValidationError: If validation fails.\n\n        See Also:\n            Use the individual methods :meth:`.validate_on_forward`,\n            :meth:`.validate_on_backward`, :meth:`.validate_on_jumpfrom`,\n            and :meth:`.validate_on_jumpto` if you want even more fine-\n            grained control over validation behavior.\n\n        .. versionchanged:: 2.1.0\n           Switched the default order of validation. Now, elements are\n           validated first, then the page itself is validated.\n\n        '
    if (not self.exp.current_page._validate_elements()):
        raise ValidationError()
    if (not self.exp.current_page._validate()):
        raise ValidationError()