S
S
Sergei2020-09-14 10:24:42
Laravel
Sergei, 2020-09-14 10:24:42

How to make two sign up forms for different customer types in laravel 7?

Good day to all, tell me in which direction to move. I am doing a market place project, do I need to implement two registration forms, one for buyers, the second for sellers, so that the latter, after registration, have access to the account for editing fields, and buyers have access to completed questionnaires? I made one registration form not difficult, but how to add a second one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-09-14
Semenov

Yeah... it's obviously too early for you to learn Laravel) if such basic things make you write such a question...
Of course, asking questions is not ashamed and even useful, it's normal at the start, but what does Laravel 7 have to do with it? You need to learn the php base. Preferably taking into account the new versions of php-7+
Next, you just need to study a few examples "How to create a php form" "how to submit a php form" "how to submit a php ajax form"
By studying different examples, you will understand the principle of how submitting a form from html works and this one the question will disappear by itself
And you will understand that the number of forms on the page can be any, moreover, the same form can be used to register both the user and the administrator by adding just one parameter (for example, the role that will be used for verification in the code)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question