classes/hypeJunction/Prototyper/Prototype.php
public function setFieldValidationStatus($action = '', $shortname = '', Elements\ValidationStatus $validation = null) {

		if (!isset($_SESSION['prototyper_validation'][$action])) {
			$_SESSION['prototyper_validation'][$action] = array();
		}

		$_SESSION['prototyper_validation'][$action][$shortname] = array(
			'status' => $validation->getStatus(),
			'messages' => $validation->getMessages()
		);
	}
public function setFieldValidationStatus($action = '', $shortname = '', Elements\ValidationStatus $validation = null) {

		if (!isset($_SESSION['prototyper_validation'][$action])) {
			$_SESSION['prototyper_validation'][$action] = array();
		}

		$_SESSION['prototyper_validation'][$action][$shortname] = array(
			'status' => $validation->getStatus(),
			'messages' => $validation->getMessages()
		);
	}
Save validation status of the field

@param string                    $action     Action name
@param string                    $shortname  Field name
@param Elements\ValidationStatus $validation Status
@return void