I use Bootstrap 4.5, where it is possible to check the filling of the form, for example by inserting required.