Grab group and event values from user input.