Sorry for the late reply. Here is some code you can use. This function will return the number of entries that the currently logged in user has mad for a specific form. Put this into functions.php
function count_user_submissions($form_id) {
global $current_user;
get_currentuserinfo();
$search_criteria["field_filters"][] = array("key" => "status", "value" => "active");
$search_criteria["field_filters"][] = array("key" => "created_by", "value" => $current_user->ID);
$sorting = array();
$paging = array('offset' => 0, 'page_size' => 999999 );
$leads = GFAPI::get_entries($form_id, $search_criteria, $sorting, $paging);
return count($leads);
}
Then, in your template file you could do something like this.
if (count_user_submissions($form_id) < 1) {
echo do_shortcode( "[stickylist id='$form_id']");
}
You need to change “$form_id” above to the ID of the form. The above shows the form only is the user has made no entries in the form.