Support Topics Documentation Slack YouTube Blog

Search function in Javascript app

Hello, I’m creating a web(JS) app where you can add car models to Backendless database and then search in database and show results on webpage. I’ve created “Adding an object to database” function but don’t know how to create search. Is it possible to search in a database by html input and then show results in my web app?

Hello,

Searching in the database would mean using the Data Retrieval API. There are multiple way to retrieve data. In your case, when a user types in a value in an HTML input, your code would need to “transform” that input into an API request that retrieves the data. Btw, have you looked into UI Builder for developing the app?

Regards,
Mark

Thanks, I will see a UI Builder!