question

SateeshKrl-0843 avatar image
0 Votes"
SateeshKrl-0843 asked JerryXu-MSFT commented

JSON sript for changing SAVE button to SUBMIT button in SharePoint onle List form

Hi all,

I have SharePoint online list and for new item creating we need to click on SAVE button in form but instead of SAVE we need SUBMIT button in that place.

I could do with PowerApps but due to license we need JSON sript.

Please privide the same to change.

Thanks.

office-sharepoint-onlinepower-query-not-supportedoffice-sharepoint-server-developmentoffice-sharepoint-server-customization
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @SateeshKrl-0843 ,

Have you tried the new JSON? Does it work for you?

0 Votes 0 ·
sadomovalex avatar image
0 Votes"
sadomovalex answered SateeshKrl-0843 commented

do you mean JS script? If yes you may check e.g. this link: Change SharePoint “Save” button to “Submit” in new item forms.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Using JSON..in SharePoint online list..

0 Votes 0 ·
JerryXu-MSFT avatar image
0 Votes"
JerryXu-MSFT answered JerryXu-MSFT edited

Hi, @SateeshKrl-0843 ,

For SharePoint Modern experience list form configuration, per my knowledge, we are not able to modify the existing button. We can add a button in the footer, however still there is no proper actions available for us to submit the item to update the list.

         {
             "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
             "elmType": "div",
             "children": [
                 {
                     "elmType": "img",
                     "attributes": {
                         "src": "<Img URL>"
                     },
                     "style": {
                         "position": "relative",
                         "top": "50%",
                         "left": "50%",
                         "width": "200px",
                         "height": "200px",
                         "margin-left": "-50%",
                         "margin-top": "0%"
                     }
                 }
             ]
         }


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

How to disply image in top of the SharePoint online list form using json, i can put txt but can not put image over there.

I want to keep company logo in top of the form.

0 Votes 0 ·

Hi,@SateeshKrl-0843 ,

You can try to add JSON to header to add a logo image. I update a sample JSON in the original reply for your reference

0 Votes 0 ·