Validation to ensure that the intent fields are filled in.