Create the model

  1. In the Mvc/Models folder, create a new class and name it CustomFormWidgetModel.
  2. Open the CustomFormWidgetModel.cs file and add the following form properties:

Was this article helpful?

Next article

Create the view