Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

SharePoint Customized form - NEW FORM will not save

(1) ShareShare
ReportReport
Posted on by 131

I customized a SharePoint list form using Integrate > Customize forms.  I set up my form, it was working, now the "Save" button at the top of the NEW (CreateItemForm) no longer does anything, I press it and nothing happens, no submit, no errors.  The "Cancel" button works. I can save using the EDIT Form.  The problem seems restricted to the CreateItemForm.

Looking under "SharePointIntegration" everything looks fine and I didn't edit anything in that area.

ONSAVE

Again I want to stress, this form was working fine and now it does not save.  No big changes were made.

How do I fix this?

  • Tj7933 Profile Picture
    Tj7933 131 on at
    SharePoint Customized form - NEW FORM will not save
    HI,

    Sadly, the box with the Save code in it was not big enough for the screenshot to show the entire code.  I checked and that information is present for both Edit and Create screens.
     
    In the end I had to recreate the list, the forms, and the Power Automate flow to get things to work.
     
    The SharePoint list was saying the TITLE field was required when it was set to OPTIONAL.  No matter what I did I could not get the form to recognize that the title field was optional.   I checked all layers of the list and it was indicated optional, AND the field was set to optional within the customized form.  Yet, it still insisted that the field required a value.  PLEASE NOTE THAT THE LIST WAS WORKING FINE PRIOR TO THAT DATE.  
     
    If anyone knows why this would suddenly happen, it would be appreciated to know, as I do not need this to happen again.  Recreating the list, customized SharePoint form and Power Automate flow takes hours.  I also needed to transfer the data from the old list to the new list.
     
    TJ
  • Suggested answer
    mmbr1606 Profile Picture
    mmbr1606 10,444 on at
    SharePoint Customized form - NEW FORM will not save
    hey
     
     
    you are missing the FormName after the Submitform function
     
    should look something like this:
    If(
        App.ActiveScreen = CreateScreen,
        SubmitForm(CreateItemForm),
        If(
            App.ActiveScreen = EditScreen,
            SubmitForm(EditItemForm)
        )
    )
    
    if that helps please mark as verified answer
     
     
     
    cheers

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard