web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Attribute cannot be NU...
Power Pages
Answered

Attribute cannot be NULL error on mutistep form

(1) ShareShare
ReportReport
Posted on by 19
Hello,
 
I get this error when I try to select next on a a multistep forms. The red box is covering a field name.
 
At one point I tried to set the field to business recommended and use the option in power pages to set recommended fields to required. Which is when this started happening. I have since scrapped the idea, unchecked the box, and made the field optional. However, I'm still getting this error.
 
Any ideas?
Categories:
I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    8,361 Super User 2025 Season 2 on at
    Its most likely the portal cache, but as there can be other caching involved and sessions with a multistep form......
     
    Make sure the Browser Cache has been cleared, open your browsers console <F12>, and then in your Browser right click the Reload button this should give you 3 options choose the 3rd option (something like empty cache and hard reload) - the 3rd option is only available when the Browser debug/console has been opened.
     
    Make sure the Portals Cache has been cleared, try one or all of the following:
    • re-Preview the Site from the Designer
    • login to the Portal as User with the Administrators Web Role assigned to them, and then click the clear cache button  at <your site url>/_services/about   (and if that doesn't work do the same but click the Clear Config button)
    • Go to the Portals Admin (https://admin.powerplatform.microsoft.com/resources/portals) and Purge the Cache on the your portal (under the 3 dots in the row)
    • Go to the Portals Admin (https://admin.powerplatform.microsoft.com/resources/portals) and Manage on the your portal (under the 3 dots in the row) and then off the Site Actions choose Restart Site
     
    If still an issue, go to the Multi Step Form in the Portal/Power Pages Management app and delete the Session records that are stored against it. (and then re-clear the Portals Cache)
     
  • Verified answer
    GhostPickle Profile Picture
    19 on at
    I found the cause of my issue. I have business rules that set the that field to required on the dynamics side. I wasn't aware that business rules impacted Power Pages at all, but apparently using them to make fields required does and displays the message in my post. Making the rules form specific caused the issue to go away.
     
    Hopefully this saves someone from a headache down the road.  
  • Fubar Profile Picture
    8,361 Super User 2025 Season 2 on at
    A form level Business Rule at the moment shouldn't affect the portal, but a server-side one will.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard