UI Action visible only in the bottom of the form

developer18
Tera Contributor

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

1 ACCEPTED SOLUTION
13 REPLIES 13

Willem
Giga Sage
Giga Sage

If you do not want to show it on the bottom of the form uncheck Form link on the UI Action:

find_real_file.png

 

asifnoor
Kilo Patron

Hi,

Edit the UI action and under that you see a checkbox "Form button" and "Form link". 

Uncheck them and it shall be fine.

developer18
Tera Contributor

find_real_file.png

Its a ui action and form button. Uncheck the 2 checkboxes (Form button and Form link)in the UI action and it shall not be visible.