Anirudh Malhotra
Anirudh Malhotra

Reputation: 161

Create a condition maker using jquery/javascript

I want to make a condition maker like in the picture I have tried multiple select input boxes. selectize select2 but nothing seems to fit the requirements.

Any help?

Upvotes: 7

Views: 1681

Answers (1)

abhijat_saxena
abhijat_saxena

Reputation: 961

What you're trying to build is known as a Query Builder.
There are lots of query builders whose tags and list of conditions can be customized based on your needs.

One of them is - https://querybuilder.js.org/ - which use jQuery and Bootstrap.
Demo - https://querybuilder.js.org/demo.html

Here's an Angular Query Builder (my personal favorite due to the amount of customization you can do in this widget) - https://zebzhao.github.io/Angular-QueryBuilder/demo/

Hope that helps.

Upvotes: 9

Related Questions