M
M
Maxim Spiridonov2015-04-25 07:41:52
Laravel
Maxim Spiridonov, 2015-04-25 07:41:52

How to implement the creation of a record in the database in 3 steps on laravel?

It is necessary to implement the creation of an entry in the database in 3 steps. Let's say that it will be a step-by-step registration.
Step 1 - general information.
Step 2 - uploading an avatar.
3 step confirmation of any additional data.
I thought for a long time about how to implement this, but stopped only at the sessions. That is, after the 1st step, you can write to the session that the step has been completed and skip to the 2nd step, and so on. I think this is a bad decision, maybe you can throw a good idea.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vyacheslav Plisko, 2015-04-25
@AmdY

Sessions, hidden fields, javascipt+ajax.

J
JSmitty, 2015-04-27
@JSmitty

Have a separate model for pending registrations? In sight there is an online store that does just that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question