You can try the solution given on the link below. Please take note that they separated the selection by "OR" and not ";". You can try to modify the code and make the necessary adjustments.
Afterwards, You can use the second virtual field as the Email Field on your acknowledgement email.