1
0
-1

Hi all,


I am creating a small CRM and I want to use a text field as search. I have implemented it but have not found a way to perform the search (and update results) asynchronously, without loading the whole page. 

Is this doable somehow? Thanks!

  1. Anas Misbah Shami

    Can you explain how you are trying to achieve it.. share pic?

  2. Bastiana

    Where do you intend it to be? in a form or in a datalist?

CommentAdd your comment...

2 answers

  1.  
    1
    0
    -1

    Hi again, sorry for taking a while to respond.

    The way I am envisioning it is as follows, please see screenshot below:

    I already use the fulltextsearch marketplace plugin to be able to serch on multiple fields. I would like to be able to see filtered results as I type - for example, as I start typing a guardian last name (or for example from 3 characters onwards), the results showing on the table are filtered accordingly, without the need to press the Search button.

    I hope this make sense. 

    1. Anders

      Since you already have the filters in place, you could try using some custom JavaScript in your datalist header/footer to automatically submit the search after typing, for example https://stackoverflow.com/questions/41560336/auto-submit-form-after-x-characters.  

    CommentAdd your comment...
  2.  
    1
    0
    -1

    Hi, perhaps you can share what you already implemented? To load data dynamically without reloading the page, you could try to use the AJAX Subform or Ajax Cascading Drop-Down List.

      CommentAdd your comment...