Try our conversational search powered by Generative AI!

Getting EPiServer XForms stats without a webcontrol



 Is it possible to get access to the stats from the XForms without using the xformstatistics webcontrol doing the rendering?


Mar 25, 2009 20:11

You can access all the result by using some thing from this

IList<XFormData> data = Xform.GetPostedData(ActivePage.PageGuid, DateTime.MinValue, DateTime.MaxValue);
                List<XFormData> only = new List<XFormData>();
                string tmp="";
                foreach (XFormData d in data)
                    tmp = d.GetValue("OnlyLang");
                    if (CurrentPage.LanguageID.Equals(tmp))



Mar 25, 2009 21:20
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.