adds query param to sub-item builder, empty check to search form builder