Enable a form Submit button after operator interaction

You can ensure that the form's Submit button becomes active after an operator has entered data into the form. Using the IsSubmitEnable property prevents an operator from submitting a form prematurely because it does not contain data, or because the data is not valid.

Procedure

  1. In either the Designer or Visual Studio:
    1. Open or create an existing form.
    2. From MainForm.xaml, open the MainPage.xaml.cs file.
  2. In the code behind, add the following custom code: IsSubmitEnabled = false
    The Submit button will now become enabled after the operator performs an action.
  3. To add code-designed forms to a workflow, see Configure a Form activity.