Collect data from submitted form