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
More information
Last updated
Was this helpful?