Creating a simple form
Created 8 years ago by idlethumbsHow do I create a simple form in Pyrocms?
I'd like to create forms to go on my site, that send emails on submission. Looking at the documentation in the UI section for forms I'm a little overwhelmed and not sure where the code demonstrated should go.
ryanthompson
—
8 years ago
@idlethumbs you can start but making a stream / form builder. Then bind it like this: https://github.com/anomalylabs/users-module/blob/master/src/UsersModuleServiceProvider.php#L110
After that just display it using the forms function like this: https://github.com/anomalylabs/users-module/blob/master/resources/views/login.twig
Streams Plugin -> Form: http://pyrocms.com/documentation/pyrocms/v3.1/the-basics/plugin#forms
Hey,
Not sure if you bought Pyro or not, but there are the Streams module and the Forms module that can do what you want. These are paid for modules though.