Home > Blockchain >  Multiform Wizzard /Stepper save data in laravel php?
Multiform Wizzard /Stepper save data in laravel php?

Time:03-06

I need to design a form using (multiform wizard or stepper) that saves Data in different tables, Suppose a user fills three forms and saves the data in three different tables, the next time when user login the form should start from the 4th stage, and the user can also edit the save form, the tables are different it does not save in one table how to design such multiform in laravel?

CodePudding user response:

It is easy, Assume you have already data in database and also have preapred either a html page with 4 form(as many you want), if your forms are all placed in one page then query all the data from the database using DB object or elequent model(maybe from one table or different) then pass the data to view, after that fill the input fields using value="{{ $data->name }}" attribute, for saving each form you can send each form separatly via post method

this wizard utility is differ to design and needs, if you have further help feel free comment below

  • Related