ID 2 added erb validation to input fields