Required field is not appearing as required