- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2018 05:58 AM
Hello guys,
Could you give me any idea, preferely an onLoad client script, which could hide the search field on a List collector?
See screenshot. "No_filter" attribute is good to remove the filter, but I want to remove that search box also. Thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2018 10:27 AM
Hi,
You need to use DOM manipulation. Right click the field something as below & then select inspect.
Look for the id
& then use it in onLoad() client script with below snippet.
function onLoad() {
//Type appropriate comment here, and begin script below
document.getElementById('replace_it_with_id_you_get').style.display="none";
}
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2018 09:38 AM
Use your browser's object inspector and find the name/class of that search box. Then use $("#searchBoxThingy").hide(); in your script. I haven't tried but it seems like it would work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2018 10:27 AM
Hi,
You need to use DOM manipulation. Right click the field something as below & then select inspect.
Look for the id
& then use it in onLoad() client script with below snippet.
function onLoad() {
//Type appropriate comment here, and begin script below
document.getElementById('replace_it_with_id_you_get').style.display="none";
}
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2018 01:58 AM
Thank you! it worked. The final solution was to remove both "search" id lines
document.getElementById('u_data_type_select_0_search_row').style.display="none";
document.getElementById('u_data_type_select_1_search_row').style.display="none";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2020 11:04 PM
Hi, I know this is an old post, but do you know how i can make this work in Onchange client script?
The variable visibility is dependent to another variable.
Thanks