Submit button as UI macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 06:08 PM
I have a Submit button using this UI macro but doesn't work when clicked on the button. Any suggestions on how to fix this? Same code works for other catalog items.
<?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>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 06:20 PM
May I ask where are you seeing the Submit button?
Also, don't we have a Submit button on catalog forms already?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 08:15 PM
I added a custom field and calling the ui macro. I want to display Submit instead of order

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 02:40 AM
I'm not sure what's the complete requirement, but there's an easier way to display Submit button instead of Order.
Open your catalog item form (back-end) -> Click Portal Settings tab -> Set Request method field to Submit -> Hit Save
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 08:38 AM
That only works in service portal, I have service management page. Tried that no luck