SharePoint Document Issues

How to Redirect SharePoint New and Edit Forms to a Custom Form

Huma Ashraf ChHuma Ashraf Ch Nov 3, 2026 868 views

Question details

Users need to bypass the default Power Apps forms in SharePoint Online and redirect the 'New Item' and 'Edit Item' actions to open custom-built HTML, JavaScript, or legacy classic forms.

How to Redirect SharePoint New and Edit Forms to a Custom Form
Product
SharePoint Online
Device & OS
not provided
Scenario
Customizing data entry interfaces for SharePoint lists or libraries using legacy scripting or third-party web forms.
Observed behavior
When users click on New Item or Edit Item, SharePoint automatically opens a Power Apps form instead of displaying the intended custom HTML or JavaScript form.
Before you start

Before proceeding, determine whether your SharePoint list is utilizing the Modern or Classic experience, as modern lists prioritize Power Apps while classic lists use traditional NewForm.aspx and EditForm.aspx pages.

Solution 1Recommended

Revert to Default SharePoint Forms via List Settings

Change the form settings to disconnect Power Apps and allow traditional SharePoint forms to handle New and Edit actions.

If a Power Apps form was previously customized and published to your list, SharePoint will force all New and Edit actions to use it. You must revert this setting to restore access to default or classic form routing.

1
Access List Settings

Navigate to your SharePoint list, click the gear icon (Settings) in the top right corner, and select 'List settings'.

2
Open Form Settings

Under the 'General Settings' column, click on 'Form settings'.

3
Select Default Form

Choose the option 'Use the default SharePoint form' instead of 'Use a custom form created in Power Apps'. Click OK to save.

Revert to Default SharePoint Forms via List Settings
Modern vs. Classic Rendering: Even after reverting, modern lists may still use modern default forms. To use HTML/JS customizations natively, you might need to force the list into the Classic experience.
Free Microsoft Office alternative

Boost Document Productivity with WPS Office

While SharePoint handles advanced list forms and enterprise web portals, you still need a reliable suite for your everyday document tasks. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, letting you edit Word, Excel, and PowerPoint files seamlessly without dealing with complex configurations.

  1. 1. Download WPS Office: Visit the official WPS website and click the download button for your operating system.
  2. 2. Install the Suite: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
  3. 3. Open Your Documents: Launch WPS Office and instantly open your existing Microsoft Office files with perfect formatting retention.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight installation with blazing-fast launch speeds.Familiar user interface requiring zero learning curve.Built-in PDF editing, conversion, and annotation tools.Free to use for daily professional and personal document processing.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Apps open instead of my custom form?

In modern SharePoint Online, Power Apps is the default engine for list forms. If a Power Apps form has been customized and published for that specific list, it overrides any legacy ASPX or HTML form settings.

Can I inject JavaScript directly into modern SharePoint list forms?

No, modern SharePoint restricts classic Script Editor or Content Editor web parts for security reasons. Customizing forms with code in the modern experience requires using the SharePoint Framework (SPFx) Form Customizer.

How do I switch my list from the modern experience back to classic?

Go to List Settings > Advanced settings, scroll down to the 'List experience' section at the bottom, and select 'Classic experience'. This restores compatibility with legacy JavaScript and HTML forms.

Are InfoPath forms still supported for New and Edit actions?

While InfoPath forms may still function in classic SharePoint environments, Microsoft has deprecated InfoPath. It is highly recommended to migrate your forms to Power Apps or SPFx for long-term support.