Saving Form Widget Data
In this episode we are going to be setting up everything so that we can save the data that we are passing through our October CMS form widget.
In the last episode we have set up our custom form widget, and displayed it on our form page. And now we have to prepare everything so that we can save the data that is coming through it.
First we need to create
Actor model and then a pivot table that is going to connect our actors and movies. Next we will see how to prepare the variables that we are going to pass to our form widget, so that we can dynamically populate it and save it correctly to our database.
Along the way we are also going to learn a few new things, like how to debug our application, creating table accessors etc. It's a bit longer episode so I'm covering a lot of stuff.
Like This Video?
Consider supporting me on Patreon.
...or you can share this video, that also helps ;)