Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

Power Apps NewForm Function (6 Practical Examples)

If you want an Edit form in Power Apps to create a new record instead of changing an existing one, the NewForm function is what you need. It takes the form control and switches it to create mode, so the fields show their default values and the next save adds a new row to your SharePoint list.

Without it, the form keeps showing the old item, and Save quietly overwrites it.

In this tutorial, I’ll show you how to use the power apps newform function with six tested examples: a + New button, why Item gets ignored, prefilled defaults, a heading and button that follow the mode, saving several requests in a row, and a guard against losing unsaved typing.

Power Apps NewForm Function Syntax

NewForm takes exactly one argument, the name of an Edit form control:

NewForm( FormName )
ParameterRequiredTypeDescription
FormNameYesEdit form controlThe form to switch to FormMode.New.

Return value: none. NewForm only changes the form’s Mode to FormMode.New. The form then ignores its Item property and fills every card with the default values of its data source.

The next SubmitForm creates a record, whether the form is connected to a SharePoint list or a Dataverse table.

Because it changes app state, NewForm works only in behavior formulas of a canvas app, such as a button’s OnSelect, a screen’s OnVisible or a form’s OnSuccess. It doesn’t query data, so delegation never applies.

The save itself is SubmitForm’s job, which I cover in how to submit a form to a SharePoint list.

Pro Tip: In Power Apps, NewForm works on the Edit form control. A Display form only shows records, so it has nothing to create.

When to Use the NewForm Function in Power Apps

  • A “+ New” button or icon above a gallery of SharePoint items.
  • A form screen that should open empty when people arrive from a menu, using OnVisible.
  • A data-entry screen where people log several records in a row without leaving the form.
  • One form that handles both new and existing items, switching with NewForm and EditForm.
  • Custom SharePoint list forms, where the NewForm.aspx button opens your app; see how to customize SharePoint list forms with Power Apps.

Example 1: Switch an Edit Form to New Mode With a Button

I built a Power Apps help desk screen called scrFnNewForm with an Edit form named frmNfReq (Insert > Edit form). It’s connected to our IT Help Requests list on the SPGuides site and shows four fields:

ColumnTypeValue in request 1
TitleSingle line of textApps request 11/14/2026
CategoryChoice (Hardware, Software, Access, Network)Software
AssetTagSingle line of text(blank)
ErrorDetailsMultiple lines of text(blank)

Insert a button named btnNfNew with the text “+ New request”. Select it, pick OnSelect in the property dropdown left of fx, and type the formula in the formula bar. To test, press Play (Preview) in the top-right corner, or hold Alt and click the button.

NewForm formula typed in the OnSelect property of a modern button in Power Apps Studio
NewForm(frmNfReq)

A label named txtNfMode shows the current mode in its Text property:

"Form mode: " & Switch(
    frmNfReq.Mode,
    FormMode.New, "New",
    FormMode.Edit, "Edit",
    "View"
)
Power Apps preview showing Form mode New after clicking the + New request button

How does this work?

Before the click, the form was in its default Edit mode, the label read “Form mode: Edit”, and the cards showed request 1. One click switched it to FormMode.New: the label changed to “Form mode: New” and all four fields emptied out. Switch compares frmNfReq.Mode with each FormMode value and returns readable text.

Example 2: See Why NewForm Ignores the Item Property

This one confuses a lot of makers. My form’s Item property points at request 1, so in Edit mode the form shows that record:

LookUp('IT Help Requests', ID = 1)

I wanted a label to read frmNfReq.Item, but Studio refused: “Name isn’t valid. ‘Item’ isn’t recognized.” So one label repeats the LookUp, and two more show the list defaults and the Title box value:

"Defaults: Title '" & Defaults('IT Help Requests').Title & "', Category '"
    & Defaults('IT Help Requests').Category.Value & "'"
"Title box now shows: '" & frmNfReq.Updates.Title & "'"
Preview where the form fields are empty in New mode while Item still points to request 1

How does this work?

After NewForm, the first label still said “Item points to: Apps request 11/14/2026”, yet the form was empty. Item didn’t change; Power Apps just stopped reading it. The cards took Defaults('IT Help Requests') instead, which returned “Title ”, Category ”” because the list sets no defaults. The Updates label read “Title box now shows: ””.

Example 3: Prefill Default Values Only for New Items in Power Apps

Blank isn’t always the best start. I want every new request to begin with a Title prefix and the Hardware category, while existing requests keep their saved values.

Select the Title card, click Unlock to change properties on the Advanced tab, and change its Default property:

If(
    frmNfReq.Mode = FormMode.New,
    "Demo NewForm - ",
    ThisItem.Title
)
Title data card Default property with an If formula that checks FormMode.New

Then unlock the Category card and set its Default the same way:

If(frmNfReq.Mode = FormMode.New, {Value: "Hardware"}, ThisItem.Category)
New request form in preview with the Title prefix and Hardware category already filled in

How does this work?

In Power Apps, each card’s Default runs again when the mode changes. In New mode, the If returns the prefix and a {Value: "Hardware"} record, the shape a choice column expects.

After NewForm, Title showed “Demo NewForm – ” and Category showed Hardware; in Edit mode, request 1 still showed its own values.

Pro Tip: Defaults aren’t rules. Users can still clear the field, so keep required columns and form validation checks in place.

Example 4: Change the Form Heading and Button Text by Mode

Jordan Ellis on our help desk uses the same Power Apps form for new and existing tickets, and wanted to always know which one he’s looking at. A label above the form shows a mode-aware heading:

If(frmNfReq.Mode = FormMode.New, "New IT help request", "Edit IT help request")

The save button’s Text follows the same idea, and its OnSelect submits the form:

If(frmNfReq.Mode = FormMode.New, "Create request", "Save changes")
SubmitForm(frmNfReq)
Form heading and button text in Edit mode next to the same form after NewForm runs

How does this work?

The If function checks frmNfReq.Mode. In Edit mode, the heading read “Edit IT help request” and the button “Save changes”. After NewForm, they changed to “New IT help request” and “Create request”. Now nobody using the app has to guess whether Save will create or overwrite.

Example 5: Create a SharePoint Item and Start the Next One

In Power Apps, a successful SubmitForm drops a new-mode form back into Edit mode. For data entry, I want the form ready for the next ticket right away. I entered two test requests:

TitleCategoryAssetTag
Demo NewForm – Monitor flickeringHardwareSPG-MN-0311
Demo NewForm – Docking station not chargingHardware(blank)

The form’s OnSuccess property shows a message, then calls NewForm again:

Notify(
    "Created request #" & frmNfReq.LastSubmit.ID
        & ": " & frmNfReq.LastSubmit.Title,
    NotificationType.Success
);
NewForm(frmNfReq)
OnSuccess property of the Edit form with Notify and NewForm in the formula bar
Green banner with the new SharePoint item ID while the form is back in New mode

How does this work?

SubmitForm created the item, then OnSuccess ran. The Notify function read the LastSubmit property first and showed “Created request #26: Demo NewForm – Monitor flickering”. Then NewForm reset the form to New mode with the prefix, and the second request saved as #27.

Order matters here. After NewForm ran, my label showed “LastSubmit ID: (blank)”, because NewForm clears LastSubmit. So Notify has to come first.

Each saved request is a normal SharePoint item, so a Power Automate flow with the SharePoint “When an item is created” trigger still runs for #26 and #27.

Example 6: Stop NewForm From Wiping Unsaved Changes

Someone edits a request, clicks “+ New” by accident, and loses the changes. The form’s Unsaved property should catch that. My first try was the obvious guard:

If(
    frmNfReq.Unsaved,
    Notify("You have unsaved changes. Save or reset the form first.", NotificationType.Warning),
    NewForm(frmNfReq)
)
Unsaved warning shown in New mode although nothing was typed in the form

It misfired. Right after NewForm, Power Apps already reported Unsaved as true with nothing typed, so every second click warned. In my test, Unsaved went back to false only after ResetForm. The fix checks Unsaved in Edit mode only:

If(
    frmNfReq.Mode = FormMode.Edit && frmNfReq.Unsaved,
    Notify(
        "You have unsaved changes. Save or reset the form first.",
        NotificationType.Warning
    ),
    NewForm(frmNfReq)
)
Unsaved changes warning in Edit mode after text was typed into the Title box

How does this work?

In New mode with nothing typed, the click ran NewForm with no banner. In Edit mode, I typed ” – Teams too” into the Title, and the click showed the yellow warning. The mode stayed Edit and my typing stayed. “Reset form” then discarded it.

NewForm vs DefaultMode

Both put a form into New mode, but at different times:

FeatureNewForm(frmNfReq)DefaultMode = FormMode.New
What it isBehavior functionForm property
When it appliesEach time the formula runsWhen the form first loads
After a successful saveForm goes to Edit modeForm goes to Edit mode

In an earlier test in this app, a form with DefaultMode New and no Item showed “No item to display” after a save. So even a new-only form needs NewForm again, in OnSuccess or when you navigate to the form screen.

Common Mistakes with the Power Apps NewForm Function

  • Not in a Text property. NewForm in a label’s Text shows “Behavior function in a non-behavior property. You can’t use this property to change values elsewhere in the app.” Use OnSelect, OnVisible or OnSuccess.
  • ResetForm leaves New mode. My “Reset form” button switched the label from New back to Edit and brought request 1 back. To clear and stay in New mode, call NewForm.
  • You can’t read Item. frmNfReq.Item in a label gives “Name isn’t valid.” Use the same formula as the Item property, or frmNfReq.Updates for what’s typed.
  • Changing screens doesn’t clear the form. Call NewForm in the form screen’s OnVisible, or before Navigate, like this: NewForm(EditForm); Navigate(EditScreen, None).
  • NewForm discards typing without asking. That’s why Example 6 checks Unsaved first. To clear single inputs outside a form, see how to clear a text input in Power Apps.

Wrapping Up

The Power Apps NewForm function switches an Edit form to New mode: Item is ignored, defaults fill the cards, and SubmitForm creates a row. Call it from a + New button, in OnVisible, or in OnSuccess to keep entering records.

See all Power Apps functions for the rest of the series, and the NewForm function on Microsoft Learn for the official definition.

Other Power Apps functions you may find useful: