Resume Supported Form like Tax submission or Visa Application form

I want to make a huge form with almost 10 tables. Initially I want to create a small table like project_entry. after that I want to add lots of separate details in individual table like pre_sale_design, project_documents, project_sourcing, project_pricing, project_ai_files, project_images, project_etc..... Each table have one to one relationship. How can i achieve in filament 3. what is the best way to do this. like wizard or any other things. As I can initially think that firstly creating a project with very basic information then view the project row. after then checking is there any row available in other table or not. if other table have not a related row then update the form orherwise create the form
5 Replies
ZedoX
ZedoX14mo ago
Since data is split into multiple db tables, I would create a form for each db table, if you want all the forms could be on the same page too. (This is my personal opinion) Alternatives are like you suggested a wizard
shojibflamon
shojibflamonOP14mo ago
but wizard have a problem that I have to add submitAction at the end of the step. But I want to make each step for each table. Another thing is how can I add all form in a single page. Do you have any suggestion to do that. Actually 10 separate table data have to create in different time.
shojibflamon
shojibflamonOP14mo ago
Thanks I am tying. but is there any way to do it using wizard
Arko
Arko14mo ago
Doesn't seem like it You could however mimic a wizard, where you just have some tabs (can use Filaments tab component: https://filamentphp.com/docs/3.x/support/blade-components/tabs) where each tab contains one form. Then when one form is submitted, you just open the next tab
Want results from more Discord servers?
Add your server