Created actions and added validations for fields