Is ajax (i.e. asynchronous load) search doable or not?

Confluence User - 05 May, 2022

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!

datalists;userviews

3


06 May, 2022
confluenceUser
confluenceUser

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.

07 May, 2022
confluenceUser
confluenceUser

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. 

09 May, 2022
confluenceUser
confluenceUser

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.  

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print