Jump to content

Search page tile for autocomplete using API


Recommended Posts


I have a autocomplete field for frontend users I want to search page by their title(by 1st letters) match word in autocomplete field for example I have page structure like...........







So I want to search aaa, aab and abb when user type a and aaa, aab when aa  and when user type b it should return baa and bba . I thik we got the Idea.

I use $page->get('/item/')->children('title%='.$input->get->q); but it returns all the pages need help. THANKS

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...