Concept question how to create a decision questionair
Good morning, I started using filament last month and gradually I am getting further and further along. CRUDS, MorphToMany, etc all works. Now I have a question how to proceed with the following. So for now it is not really a technical question, but more a question about a concept. I would like to run a survey. And depending on a boolean, the next question will come. Example, Question: I have my customer data at hand: If YES, then go to the next question, if no, then there will be another question. But I don't have a concept for front ends like this. Could someone push me in a direction? Documentation, tutorial, example. Everything is welcome
2 Replies
Have a look at the Wizard component, it's probably a good place to start:
https://filamentphp.com/docs/3.x/forms/layout/wizard
Also make sure to explore dependant fields:
https://filamentphp.com/docs/3.x/forms/getting-started#dependant-fields