How do I disable the submit button on a record producer?

Gary Winslow
Mega Contributor

We no longer will provide a service in our catalog that was generated a record via a record producer.   We want to turn off the "submit" button but leave the item with instructions that redirect users to the new process.   

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

You cannot hide the button without a any manipulations of DOM elements. And that is absolutely not recommended. But you can search at the community for a proper code example. This question has been asked many times.

And with hiding the button you may also irritate users which would raise an incident and say "The form is broken, because the submit button is missing!".

The better user experience is to popup an info message when clicking the submit button.

View solution in original post

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

You cannot hide the button without a any manipulations of DOM elements. And that is absolutely not recommended. But you can search at the community for a proper code example. This question has been asked many times.

And with hiding the button you may also irritate users which would raise an incident and say "The form is broken, because the submit button is missing!".

The better user experience is to popup an info message when clicking the submit button.

We opted for a pop-up notice and scheduled the full shut down in the future.  Thanks!

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Would using a Content Item be a good alternative instead of the current Record Producer? Or do you have concerns that users have bookmarked the Record Producer for example?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Gaurav Shirsat
Mega Sage

Hi 

DOM manipulation is Unsupported  and Risky.

even chuck is also suggesting in similar Thread Like this

https://community.servicenow.com/community?id=community_question&sys_id=f1378b29db1cdbc01dcaf3231f96...

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat