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 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

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
    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
    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
    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
    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
    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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard