Display C5 Form Block entry data on a success page
Permalink
I am unable to figure out how to display the form info back to the user when a concrete5 form block is used and the form submit button is clicked. Once the user clicks the submit button on the form, that info is stored in the DB and the controller redirects to a success page I have specified. I want to display the form info back to the user on the success page but not sure how or what best practices can be used.
I know there is a "Data Display" add-on, but want to write my own code because I also have to fire off an email on the success of the form with additional info.
Does anybody have any ideas or solutions that can be used?
Thanks...
I know there is a "Data Display" add-on, but want to write my own code because I also have to fire off an email on the success of the form with additional info.
Does anybody have any ideas or solutions that can be used?
Thanks...
Hi Jordan,
looking for something similar: My users have to login to fill and submit a form, and I would like to add the user into the dataset created. So, on another page, I would like to present all user-specified entries.
Would be happy for suggestions how to solve my problem.
Lovic
looking for something similar: My users have to login to fill and submit a form, and I would like to add the user into the dataset created. So, on another page, I would like to present all user-specified entries.
Would be happy for suggestions how to solve my problem.
Lovic
ProForms has a review mode available. Also has an included list block that can be filtered by logged in user as well.
http://www.concrete5.org/marketplace/addons/proforms/...
http://vimeo.com/70573874
Not shamelessly plugging. Just trying to help.
ChadStrat
http://www.concrete5.org/marketplace/addons/proforms/...
http://vimeo.com/70573874
Not shamelessly plugging. Just trying to help.
ChadStrat
Thanks for your reply. I really like the add-on. Nevertheless, registered users should see all their entries in a list and edit single entries if necessary.
Lars
Lars
Correct. ProForms has a list block that can list by user and has a "click to edit" option you can enable.
ChadStrat
ChadStrat
So last question: every registered user can only see his own entries and the admin can see them all?
Thanks in advance!
Lars
Thanks in advance!
Lars
If you require people to be logged in to use this form, then it might be a little more feasible because you can query the btFormAnswerSet table on uID (and show the most recent response for just that one person).
I don't think it's possible otherwise, unless you modify the form block's functionality to include some kind of identifying information about each response that can be passed around in the querystring or the user's session.