By default SharePoint’s Form Web Parts are disabled.

How to resolve this issue?
Go to your SharePoint admin center
Click settings.
Scroll down to locate the section of Custom Script
Select Allow users to run custom script on self-service created sites

Click OK.
Note: It takes up to 24 hours for the change to take effect.

Turn scripting capabilities on and off
Please like & share: