How to add "Cancel button" after submitting a form in the portal ?

yasserbouat
Tera Guru

Hello dear community,

I created a catalog item in order to let users submit their request from the portal, and I want to add a cancel button that will display after submitting the form and when the request is still not approved, in order to let users cancel their request : 

yasserbouat_0-1741687365992.png


But I am not good at scripting, can someone please show me how to do it ?

Thanks,

1 ACCEPTED SOLUTION
7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@yasserbouat 

check these links

Cancel request from Service Portal

How can I add a Cancel button on Service Portal ?

Allow Users to Cancel their INC or RITM/REQ in Service Portal

In Service portal need to create 'Cancel' button after the request gets submitted 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@yasserbouat 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar thanks for your suggestions, but since I am not good at web coding, I am still looking for the steps to follow to acheive my requirement

@yasserbouat 

the links I shared should help you get started and even complete the requirement. You can also take help from some AI tool to enhance the code.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader