I want to add extra data fields (data) when form submit. That data should be adding automatically. I override OnFormHandledcan event,but I cant get record ID, some one know how we can get the recrodId in this event , or any suggestion?
as a exmaple when we submit form, we want to what is the user used browser.
I use this code to get browser details
public class FormsSupportController : UmbracoFormsController
{
protected override void OnFormHandled(Form form, FormViewModel model)
{
var web = Request.UserAgent;
var webBrowser = Request.Browser.Browser;
var webPlatform = Request.Browser.Platform;
var webVersion = Request.Browser.Version;
var webEcmaScriptVersion = Request.Browser.EcmaScriptVersion;
}
}
how to get record Id on form submission
Hi all,
I want to add extra data fields (data) when form submit. That data should be adding automatically. I override OnFormHandledcan event,but I cant get record ID, some one know how we can get the recrodId in this event , or any suggestion?
as a exmaple when we submit form, we want to what is the user used browser. I use this code to get browser details
Thanks
Hi,
Well you can make your own Workflow and there you can get the record.
-Joep
Hi Jope,
Thanks, Yes it's works.
-Ginuka
is working on a reply...