- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 11:11 AM
Hii,
One of the UI action is visible only in the bottom of the form and while loading it just comes and disappears at the Top of the form, but not in Bottom of the form, How can i hide that in form. Its one custom application form not any OOB form
I could see one script for this is
function onLoad() {
//To autopopulate the Error message when condition
var owns = g_form.getValue('owns_manages_item_s');
if(owns == 'no'){
$$("button[id='submit_for_review']").each(function(item){
item.hide();
});
g_form.showFieldMsg('owns_manages_item_s',getMessage('owns/manages item(s)'),'error');
}else{
$$("button[id='submit_for_review']").each(function(item){
item.show();
});
}
}
UI action is submit_for_review
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2020 07:09 AM
try with ootb functionality .
Hide button on specific view
Doc link for further details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 11:40 AM
but i want it to be visible based one some conditions which are already in condition field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 11:43 AM
Okay, then what is the issue you are facing? are the conditions not matching?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 11:45 AM
that button showing only in the bottom of the page as screen shot attached i want to hide that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 11:54 AM
Hi,
If the button is showing at the bottom then it means the conditions are matching for it to be visible. You cannot have right conditions and still make it hidden. its contradictory.
May be the button at the top is hidden with some javascript code. Kindly check that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 11:55 AM
Thanks for reply Asif, I m not finding anything else than this script posted.. anywhere else i can for this.