Creating Forms
Information on creating forms in Umbraco
Creating the view model
namespace MyFirstForm.Models;
public class ContactFormViewModel
{
public string Name { get; set; }
public string Email { get; set; }
public string Message { get; set; }
}Creating the view
Adding the controller
Adding the form to a template
Adding the form through the backoffice
Creating a macro
Adding the macro
More information
Last updated
Was this helpful?