Razor after submit
Render a Razor file after submit.
From "Edit templte files" you can create a razor file rendered after submit.
File name : aftersubmit.cshtml (stored in the template folder /Portals/[id]/OpenForm/Templates/[templatename])
This is ussefull for executing custom server side code after form submitting ( create user, call api, ....)
You can access all form variable from the @Model variable
@{
// custome business logic in c#
}
@Html.Raw(Model.FeedBackMessage)
ObjectInfo.Print(Model) @* for showing available information*@
Updated over 6 years ago