How would I remove the close/save button on a custom section.
Thanks!
Like
Just put this code under diff
//This is for Save Button
{
"operation": "merge",
"name": "SaveButton",
"values": {
"visible": false
}
},
//This is for Cancel Button
{
"operation": "merge",
"name": "DiscardChangesButton",
"values": {
"visible": false
}
},
//This is for Close Button
{
"operation": "merge",
"name": "CloseButton",
"values": {
"visible": false
}
},
Adding to the Fulgen's answer, because of the combined mode you would need to do this both in edit page schema and in section schdema (e.g. UsrTestSection1Page and UsrTestSection1Section) Also you can just remove the buttons instead of making them invisible:
{
"operation": "remove",
"name": "CloseButton"
},
{
"operation": "remove",
"name": "SaveButton"
},
{
"operation": "remove",
"name": "DiscardChangesButton"
}