Added 'required' to elements