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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / the form you are tryin...
Power Apps
Unanswered

the form you are trying to submit is in read only view mode . only editable form can be submitted

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

i cannot submit my data in the SP list because of this error
"the form you are trying to submit is in read only view mode . only editable form can be submitted"
Can someone help me solve this ? 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Could you tell me:

    • Are you using a button in the canvas app to submit records in from control?
    • What is the from control's DefaultMode property?
    • What is the button's OnSelect property?
    • Do you have "write" permission to this SharePoint List?

    First of all,please check the from control's DefaultMode property and set it to

     

    FormMode.New

     

    or

     

    FormMode.Edit

     

    Then,test the submit button again.

    Secondly,If the problem persists, please check your permissions to the data source.

    Add a label control and set it's Item property to:

     

    DataSourceInfo(YourSPlist,DataSourceInfo.EditPermission)

     

    If it is "false", it means you don't have edit permission for the data source.

    In addition,If you need further help, could you describe your app and requirements in detail?

    Best Regards,

    Bof

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-bofeng-msft . Thanks for the respond.

    i have 3 button in my form. which submit, edit, update.

    submit 
    Onselect Property: 
    if(formname.DisplayMode = Edit, submitForm(formname); viewForm(formname))

    edit
    Onselect Property: editForm(FormName)
    Visible Property: If(formname.DisplayMode = View, true)

    update
    Onselect Property:
    if(formname.DisplayMode = Edit, Update(datasource), {record})

    it is because of these buttons ?

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Did you get an error after clicking the "submit" button ("the form you are trying to submit is in read only view mode. only editable form can be submitted")?

    The "submit" button and the "edit" button look fine (except for some functions that have capitalization issues).

    I'm not sure what the function of the "update" button is? But I think it should not affect the function of submitting the form.

    Could you try to create a new edit from, and then use SubmitForm (formname) to try to submit the form?

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The submit button is worked properly and all the data is into sharepoint list. I used update button to update back a record in sharepoint list. when i clicked the update button and this error is appear

    FarahainFarhana_0-1601350302047.png

    thank you. any help will appreciated 

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Really weird,Maybe you can try to convert the form to edit mode before submitting Form_Labeller_SP1.

    Please try this code:

     

    If(
      ……&& Form_Labeller_SP1.DisplayMode=Edit &&……,
      SubmitForm(Form1);
      SubmitForm(Form2);
      EditForm(Form_Labeller_SP1);
      SubmitForm(Form_Labeller_SP1);
      UpdateIf(……)
    )

     

    In addition, you can also try to recreate Form_Labeller_SP1.

    Best Regards,

    Bof

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard