Adding Submit button to the right side bottom of the Catalog item ?

Ibaa_Shoheb
Tera Contributor

Hello All,

I am trying to add a Submit button in the catalog item.

I have added a UI Macro and the button appears to the left top corner. below snapshot for reference:

find_real_file.png

This should appear at the bottom of the request:

find_real_file.png

Below is UI Macro code written:

<?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="Submit">
<a class="request_catalog_button addtlBtn" onClick="Submit();">Submit</a>
</div>
</j:jelly>

Any idea how this can be achieved. Any leads would be appreciated. Thanks!

9 REPLIES 9

Ibaa_Shoheb
Tera Contributor

Great!. By setting the order to the highest value, I was able to get the button at the bottom of the request.

However, the button wont work when I try submitting the request. Do I need to write OnSumbit() client script for it? 

Can you Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks

My issue is not resolved yet. I need the submit button working. Once I click on submit, it should redirect me to the requested created page. 

 

Regards,

Shoheb Shaikh

Use action.setRedirectURL(URL);

 

Thank you,

Vishal