You would have to extend the example of course to provide the correct pattern for potentially every country, which would be a lot of work, and there would still be no foolproof guarantee that the users would enter their numbers correctly. First of all, Navigate to routes folder and open web.php file. The list attribute specifies the ID of a element, which in turn contains one