How to hide Save and submit button in form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 05:02 AM
Hi Team ,
We create a custom form and need to hide the save and submit button ,Please guide
below is the screen shot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 05:47 AM
@String Checkout below community post
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 05:54 AM - edited 08-05-2023 05:54 AM
Hi @SANDEEP28 thanks for your quick reply .
am using scope application and code is not going to if condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 06:24 AM
@String add below code for submit button and make sure "Isolate script " checbox is uncheck on the client script.
function onLoad() {
g_form.addInfoMessage("Hiding Submit button");
var buttons = document.getElementsByClassName("form_action_button header action_context btn btn-default");
for (var i = 0; i < buttons.length; i++) {
if (buttons[i].id == 'sysverb_insert') {
buttons[i].hide();
}
}
}
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 06:31 AM