How to show it is required in table?

|
esmbd 2022-08-04 18:38:01
i need filancher website site
parmarnirav570 2022-08-04 18:40:45
What type of site do you want? Dm me
AlgorithmeTakam 2022-08-04 19:12:03
Hello guys i will like to have some ideas on what to do concerning this situation

-i will like to use a single table (user table) that can take in every information (name,email,password,address,phone number,,nationality)
-but i want the user to see only name ,email,password fields to fill in during sign up
-the admin alone can then open the list of users and he can enter the remaining informations (phone number , nationality)

please give me an idea on how i could make this possible

i am actually new to this world of laravel

Laradev 2022-08-04 19:41:27
While Registering a new user, make the the only field you want user to fill in present, then style your database to make the admin-fillable fields nullable
Laradev 2022-08-04 19:45:08
Or during user registration use ->$request->only(‘the field you want user to fill’) and during database design make the other fields nullable
web design 2022-08-04 19:55:19
How to show it is required in table?
web design 2022-08-04 19:55:30
I want to validate the fields in a table so that they are not empty, and required.
web design 2022-08-04 19:55:42
If empty, (It’s required.) should appear near that field.
web design 2022-08-04 19:56:01
laravel_discuss-132154.jpg

web design 2022-08-04 19:56:15
Here is my code, It shows an alert, but I want to show an It’s required. next to the field instead of an alert.
web design 2022-08-04 19:57:02
<table>
@foreach($competitions as $competition)
<form action=””>
<td class=”align-middle”>
<p><input type=”text” class=”form-forecast” required name=”” id=”” aria-label=””></p>
<p><input type=”text” class=”form-forecast” required name=”” id=”” aria-label=””></p>
</td>
<td class=”align-middle”>
<p><button type=”submit” class=”btn btn-sm btn-secondary”>Registration</button></p>
</td>
</form>
@endforeach
</table>
web design 2022-08-04 19:57:24
I’m a newbie. I have been coding my website for 2 weeks, and now the job is going to be finished, But I don’t know how to make a simple one. Please help me to make a simple one.
som1221 2022-08-04 19:58:52
hello every one while migrating new table i got an error IlluminateDatabaseQueryException

SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘sessions’ already exists (SQL: create table sessions (id varchar(255) not null, user_id bigint unsigned null, ip_address varchar(45) null, user_agent text null, payload longtext not null, last_activity int not null) default character set utf8mb4 collate ‘utf8mb4_unicode_ci’) . any one can help me plz

web design 2022-08-04 20:00:18
Answer my question
baymax_star 2022-08-04 20:04:18
[FORHIRE] [REMOTE] [FULLTIME]
Hello, everyone.
I am a professional web/app engineer with 6+ years of experience in Javascript and PHP frameworks. I have already developed many web and app projects with React, Node, Vue, Angular and PHP, CI, Laravel, and Python.
I am familiar with Android/iOS app development using react native and ionic.
Also, I am an expert in web scrapping with Python and PHP, Node.js.
I have strong experience in developing blockchain projects including smart contract development and front-end development using Solidity, Web3.js, etc.

My main skills are following:

– Frontend:
React/Redux.js, Redux-Saga, Redux-Thunk, React-Bootstrap, Material-UI
Typescript, Next.js, Nuxt.js, Django, Golang
Vue.js/VueX, Vuetify
Angular 1-10
PSD to HTML && Figma to HTML && XD to HTML, Bootstrap 4, Tailwind CSS, LESS/SASS/SCSS, Responsive UI

– Backend:
PHP, CI, Laravel, Cake PHP
Node/Express.js
Python, Django

– Blockchain:
Developing NFT marketplace
Developing De-Fi apps like pancakeswap and uniswap
Token development (ERC20, ERC223, ERC721, ERC 1155)
Smart contract development, testing, and deployment (Solidity, Rust, Solana, Truffle framework)
Web3.js, Ethers.js
Ethereum & Binance smart chain(BSC), Avalanche, Polygon

– Mobile App:
Android, iOS
React Native, react native cli, expo cli
Ionic

– Web Scrapping:
Python/Selenium, Node.js, PHP

– Database:
SQL, MySQL, SQLite, MongoDB, MariaDB, PostgreSQL, NoSQL

I can work over 40+ hours per week and if you want more, I can work in full time without weekend rest. Also my communication is very quick so that I can reply your message in short time.
I hope I work with all clients in long term.
If you are looking for senior web and app developer, please contact me anytime.
I am always ready for you 🙂

Sarah_karmoshe 2022-08-04 20:30:03
Hello
I make a laravel api for flutter android application,
I want to use firebase notification and store it in the database (my Sql)
Now , i know how to send notification but i ‘m asking about storing it .
Can any one help me please ??
Thanks in advance
Notopl 2022-08-04 20:41:35
hello
send it by client every time in Splash.
and store that in users.firebase_token column in api.
ailiya518 2022-08-04 21:30:36
Efforts are not to impress anyone, nor to show anyone, but to get what we deserve in return.
Hisham 2022-08-04 21:35:04
What is the best practice for authentication in laravel
Anand Tujare 2022-08-04 21:47:40
There’s no best practice per say…

There are multiple options try them out then u can use which u like

Anand Tujare 2022-08-04 21:48:06
1. Laravel ui.. with –auth flag

2. Laravel Jetstream

Hisham 2022-08-04 21:48:21
What about api
Anand Tujare 2022-08-04 21:49:06
For api u can use passport
Hisham 2022-08-04 21:49:58
I have annoying problem with passport
Anand Tujare 2022-08-04 21:50:00
U can also use Sanctum …
Anand Tujare 2022-08-04 21:50:10
As in???
Hisham 2022-08-04 21:50:56
After every migrate:fresh i should install the client keys agin
Hisham 2022-08-04 21:51:50
Is that normal ?
Anand Tujare 2022-08-04 21:51:56
Oh yes .. that one…
Anand Tujare 2022-08-04 21:52:06
U can create a seeder for that
Anand Tujare 2022-08-04 21:53:23
That way u won’t need to recreate the passport keys again n again
thekiharani 2022-08-04 22:19:09
Hi,

What is the best way to pass the $request data to (say) model’s created event without saving them anywhere?

etekumoses 2022-08-04 22:51:24
Hey devs
etekumoses 2022-08-04 22:52:21
i have a question how do i calculate percentage for each candidate
etekumoses 2022-08-04 22:52:52
if i jave such a table
|