validatedFormData

private fun validatedFormData(actionKey: String, validates: Boolean): FormResultData?

Collects the form data if it passes validation, or returns null when one of the stages failed it. The stage itself records the errors to show, in errorManager.