Created a validation_elements method in the base class for the action pages.