Viewing 3 replies - 1 through 3 (of 3 total)
  • A box? Do you mean like a little x in the right side of the search input?

    You can always clear the search by backspacing.

    Thread Starter shangnich

    (@shangnich)

    I actually meant like a clear search form. When you search for something it is there unless you backspace and my clients don’t want to backspace.

    Would it have any other effect than clearing the search form of text, ie would it change any of the dropdown values to their default values as well?

    Visually I don’t think there’s room for another button in the default UI, but you could certainly add one of your own, possibly by using the Widgets > Meetings Top area. A little jQuery should make it work, eg

    $('button#my_reset_button').on('click', function(){
      //reset form
      $('#tsml #search input[name="query"]').val('');
      $('#tsml #search').submit();
    });

    I haven’t tested it but something like that should work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘clear search’ is closed to new replies.