Building Your First Form
This is a step-by-step tutorial for building your first form with UiPath Form Designer. The tutorial demonstrates building a generic form.
Tutorial
This tutorial is an example of a form assessing public opinion on environmental issues, composed of single choice and open-ended questions, and rating scales.
Prerequisites
Before you build your first form, make sure to have the UiPath.Form.Activities package installed.
To build a generic form:
-
Add a Sequence activity into your workflow.
-
Add a Create Form activity into the Sequence.
-
Select Open Form Designer. The UiPath Form Designer opens.
-
Add a Label/Header component in the form.
- Choose Header-Medium from the Label Size dropdown list.
- In the Content section type
Environmental Issues Survey.importantMake sure to save each component after editing it.
-
Drag and drop a Radio component in the form.
- Rename the Label as
Do you want to participate in the survey?. - In the Data tab, inside the Values section, add two values for the component. Type in the Label field
Yes. - Click the Add Another button and then type in the Label field
No.
- Rename the Label as
-
Add another Radio component into the form.
- Rename the Label as
How concerned are you about air pollution?. - In the Description section, type
You can choose one option only, to let the users know that they can choose one option only. - In the Data tab, inside the Values section, add four values for the component. Type in the Label field
Not at all concerned. - Click the Add Another button and then type in the Label field
Slightly concerned. - Click the Add Another button and then type in the Label field
Moderately concerned. - Click the Add Another button and then type in the Label field
Very concerned.
- Rename the Label as
-
Drag and drop a Text Area component in the form and rename the Label as
What is your opinion on how the government tries to reduce global warming?. -
Drag and drop a Number component in the form and rename the Label as
Please type in your age:. -
Save the form and run the workflow to test your first form.

See the About Form components page to learn more about types of components and how they work.
Preview your first form
To preview your form, click the Preview
icon, in the Form Designer ribbon.
To resize the display size (in pixels) of the form, go to the Form Display Size section and change the values for the Height and Width measurements.

To exit the Preview mode, click Exit Preview in the Form Designer ribbon.
Select and customize themes
To select a premade theme:
- In the Preview mode, go to the Themes panel.
- Select one of the existing premade themes.
To customize a premade theme:
- In the Preview mode, go to the Themes panel.
- Select Customize Current Theme.
- Customize the form and the primary button using the available options.
- Select Save Customization.
Sample Workflow
To check the complete workflows or to have a future reference, download the XAML examples