transaction validations and form