How to Add a Form in Microsoft Power Pages
Add a Form
A Form is a data-driven component in Microsoft Power Pages used to collect information from site users. Forms displayed on pages are based on Dataverse table forms, which can be created in the Data workspace or through model-driven apps in Power Apps. These forms can be added to pages individually or paired with lists to build complete web applications.
How to Add a Form
- Open the Design Studio to modify the site's content and components.
- Navigate to the Pages workspace.
- Select the page you want to edit.
- Choose the section where you want to place the form.
- Hover over any editable canvas area and select the Form icon from the component panel.
- Choose whether to create a new form or use an existing form previously created by a maker.
Configure a New Form
When creating a new form, configure the following options:
| Option | Description |
|---|---|
| Choose a Table | Select the Dataverse table where the form data will be stored. |
| Select a Form | Choose one of the available Dataverse forms for the selected table. |
| Name Your Copy | Provide a name for your version of the form. |
| Data | Choose whether the form creates new records, updates existing records, or displays information in read-only mode. |
| On Submit | Configure success messages and redirect options such as another page or external URL. |
| CAPTCHA | Choose whether CAPTCHA is shown for anonymous users, authenticated users, or both. |
| Attachments | Enable and configure file attachment functionality for the form. |
Edit Text Fields on the Form
You can edit text fields such as form titles, email fields, and section headings directly within the Pages workspace.
- Hover over and select the text field from the canvas.
- Edit the content as required.
- Apply formatting such as Bold, Italic, or Underline.
Edit, Validate, and Delete Form Fields
Form fields are fully editable within the Pages workspace, allowing makers to customize validation, descriptions, and field behavior.
Edit a Form Field
- Select the field and choose Edit Field.
- Configure the field properties.
- Select Done to save your changes.
Available Field Options
- Update the field label or display name.
- Mark the field as required.
- Create custom validation error messages.
- Add field descriptions.
- Choose description placement above or below the field.
- Configure built-in validation rules.
- Create custom validations using Regular Expressions (Regex).
- Additional options may appear depending on the selected data type.
Delete a Form Field
- Select the field you want to remove.
- Open the ellipsis (...) menu.
- Select Delete.
Enable Attachments on a Form
Attachments allow users to upload files along with their form submissions. This feature is useful for applications, support requests, registrations, and document collection scenarios.
- Add a new form or edit an existing form.
- Select Attachments from the left panel.
- Enable the Enable Attachments toggle.
- Choose whether attachments are required.
- Allow single or multiple file uploads.
- Select the attachment storage option.
- Configure upload limits and supported file types.
Attachment Storage Options
- Notes: Store uploaded files directly in Dataverse.
- Azure Blob Storage: Store uploaded files in Azure Storage for better scalability.
Supported File Types
- Documents
- Images
- Audio Files
- Video Files
- Specific file extensions (comma-separated values)