This event occours when the search form is submitted. Ex. in order to prevent some searches or to validate any search params if( strlen({name}) <= 0) { sc_error_message(" Please fill the name field before submit your search "); }