Submit button on Catalog Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2018 12:36 PM
I want to add a submit button to one catalog item and not display Order Item. I created a UI macro with code:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<div class="orderButton">
<a class="request_catalog_button addtlBtn" onClick="orderNow();">Submit</a>
</div>
</j:jelly>
I added a variable to the item. I checked the following boxes and and unchecked Use cart layout : The submit button shows up but would not do anything. If I uncheck No Order and No Order Now. The Order Now button shows up. If I click the Submit button now it works. How can I get the Submit button working without these Order button display?
- Omit price in cart
- No cart
- No order
- No order now
- No proceed checkout
- No quantity

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2018 12:47 PM
Do you want it to do the same things as "Order Item"? If that is the case perhaps it's easier to change the name of the Order Now button on that particular item? Found this in another thread:
You can write an On Load Catalog Client Script as below for the particular catalog item you need:
document.getElementById("oi_order_now_button").innerHTML='Submit';
https://community.servicenow.com/community?id=community_question&sys_id=c3b2c361dbd8dbc01dcaf3231f9619c5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2018 08:52 AM
This actually doesn't seem to work any more. At least not in Jakarta.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2018 01:12 PM
Yes, but the problem is they want the Submit button at the bottom of the form.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2018 01:53 PM
Please check below for solution to add submit button on catalog item
https://community.servicenow.com/community?id=community_question&sys_id=44b00765db98dbc01dcaf3231f9619c7
Regards,
Sachin