Figured out how to store the values from the different inputs in an array