Implemented form with required and autofocus attributes