Added name attributes to input fields so that jquery validation will work.