Streams Platform: Is a Pyro 3 entry form (like Pyro 2) possible?
Created 6 years ago by finnito

Hey all,

I'm creating a bunch of small lessons (via streams) for users to read and would like to add a couple of text boxes at the bottom of the lesson for the user to answer a question and submit (a form?) them to be saved. I want to save their responses mainly so I can display their response if they open the lesson up again later and to be able to judge whether they have completed the lesson depending on whether they have submitted the relevant form or not.

I was thinking a way to do this could be like the Pyro 2 Entry Form (http://enlivenapp.com/pyro22docs/plugins/streams/entry-form) although this doesn't seem to be available from what I can tell.

Thanks!

ryanthompson  —  6 years ago

Absolutely - every time you make a stream for one a form builder will be generated for it - but you can also define your own form builder and set the model to whatever you want like this: protected $model = MyAwesomeModel::class;.