required messages for input fields will now show up correctly