Skip to main content

Notifications

Community site session details

Community site session details

Session Id : KlMuYjborPpmkqs1Ok/TiM
Power Apps - Building Power Apps
Suggested answer

SharePoint Customized form - NEW FORM will not save

Like (1) ShareShare
ReportReport
Posted on 14 Jan 2025 14:35:59 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
    131 on 21 Jan 2025 at 14:15:19
    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
    11,549 Super User 2025 Season 1 on 21 Jan 2025 at 09:04:02
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,681 Most Valuable Professional

Leaderboard
Loading started