Sara N
Sara N

Reputation: 1189

handle "Umbraco Forms" in umbraco 7.5

I'm a newbie in Umbraco , and cant understand some logics behind that.

I use Umbraco 7.5 and installed Umbraco Forms. Just want to know how can I write .Net code for postback of the code? If I can use the controlers(RenderMVCControllers and SurfaceControllers) , how can I use them? Or if I want to have post request to an API ?

I couldnt find a complete sample to have all these items. most of the samples doesnt use "Umbraco Form" . they create a view for the form, and uses surface controller to handle it.

Thanks for any help or hint.

Upvotes: 0

Views: 482

Answers (1)

Tim
Tim

Reputation: 4257

Forms has it's own controllers that handle post backs. If you want to extend what happens on post back, you can either use the built in work flows, which allow you to do things like send emails, submit to web services/APIs, or you you can write your own.

The documentation for the built in workflows can be found here: https://our.umbraco.org/documentation/products/umbracoforms/Editor/Attaching-Workflows/

An example custom workflow can be found here: https://our.umbraco.org/documentation/products/umbracoforms/developer/Extending/Adding-a-Workflowtype

Upvotes: 0

Related Questions