Hello
I am using Laravel/Bootstrap
In the view I show the last name:
But I am interested in showing the first and last name.
Is there any way to concatenate the first name and last name?
Thanks
Hello
I am using Laravel/Bootstrap
In the view I show the last name:
But I am interested in showing the first and last name.
Is there any way to concatenate the first name and last name?
Thanks
No, there is no configuration currently to do that. What you can do is create another field and update the field with the concatenated first name and last name; that way, you can select it for display.
When i create another field and update the field with the concatenated first name and last name i get an error when viewing the published page:
Class “App\Models\DB” not found
What could be wrong? Is there supposed to be a DB.php file in my project folder “app\Models”?
Since in my case there was DB.php file, i run “php artisan make:model DB” and this solved my issue. The concatenated fields result can now display.