You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for creating Piraha CMS. I have been using it for the last month and it's been great!
The only issue I have encountered so far is how to handle forms. I would like to be able to create and submit a form inside a custom block, and ideally, receive the parameters inside CustomBlock.cshtml.
The idea is to have the ability to create and manage form submissions within a block.
I'm looking forward to your reply. Thank you!
The text was updated successfully, but these errors were encountered:
Well, there are an infinite number of solutions to this problem :) But if I would build a form module I would:
Add a custom DbContext with tables to keep form responses for a specific form "id"
Create the form within the block (or reference a pre-defined form from a block)
When submitting the form from webapplication I would post it to a custom controller with the form "id" (could be reused from block id if the form is created on the block itself).
This way I could add a isolated view in the Manager UI where all submissions for all forms could be listed, but I could also add links to the submissions from the block itself when editing the page.
This is just one suggestion though. Let me know if you'd like to collaborate on a more generic solution or if you're only interested in building something custom for you own application.
Hello everyone,
First of all, thank you for creating Piraha CMS. I have been using it for the last month and it's been great!
The only issue I have encountered so far is how to handle forms. I would like to be able to create and submit a form inside a custom block, and ideally, receive the parameters inside CustomBlock.cshtml.
The idea is to have the ability to create and manage form submissions within a block.
I'm looking forward to your reply. Thank you!
The text was updated successfully, but these errors were encountered: