How to display the responses of a form in a page

Posted by Community Admin on 03-Aug-2018 20:33

How to display the responses of a form in a page

All Replies

Posted by Community Admin on 07-Oct-2011 00:00

Hello,

I want to display the responses to a form (or a selection) on a page in my site.
How can I do that?
I found somewhere a hint that I should use the FormsManager class.
But no idea how to proceed. What is the easiest way to display a list.

Thanks, Jaap

Posted by Community Admin on 12-Oct-2011 00:00

Hi Jaap,

You can create a user control an easily get the from entries using our API like this:

var manager = FormsManager.GetManager();
var form = manager.GetFormByName("sf_myform");        
var entries = manager.GetFormEntries(form.EntriesTypeName);
where "sf_myform" is the sample name fro developers (please note it upon from creation) of the form.

All the best,
Boyan Barnev
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 12-Oct-2011 00:00
This thread is closed