Questions tagged [chained-select]

Identification of (level 1) controls that should be selected by default when a main control (at root level) is selected. Then all of such (level 1) check box or radio controls should be selected at once. Now there may be more of such controls (level 2) when in such a condition they must get selected too. Level by level this becomes a chain of selections.

Identification of (level 1) controls that should be selected by default when a main control (at root level) is selected. Then all of such (level 1) check box or radio controls should be selected at once. Now there may be more of such controls (level 2) when in such a condition they must get selected too. Level by level this becomes a chain of selections.

33 questions
4
votes
4 answers

Disable options based on previous selects

I have four
Praveen Kumar Purushothaman
  • 164,888
  • 24
  • 203
  • 252
3
votes
1 answer

How to do Django Chained Select In Forms.py?

class Library(forms.ModelForm): author = forms.ChoiceField( widget = forms.Select(), choices = ([ ('Jk Rowling','Jk Rowling'), ('agatha christie','agatha christie'), ('mark twain','mark…
2
votes
0 answers

Chained selects in Wordpress via AJAX

I need to make two chained select inputs (country, city) in WP. (all is in locations taxonomy, country is a main category and city is a subcategory) in first select i listed all countries: $locations = get_terms( ‘locations’, array( ‘hide_empty’ =>…
Rodder888
  • 21
  • 1
2
votes
3 answers

jQuery and JSON: chained select from an array with multiple values

I have a JSON file (json/cities.json) which associates the states of my country to its cities in the following form: { "State #1": [ "City #1 from State #1", "City #2 from State #1", "City #3 from State #1" ], …
StillBuggin
  • 280
  • 1
  • 3
  • 14
2
votes
1 answer

Is there a Symfony2 form extension for a Country/Region/City selector?

Most things I build require someone select a country/state/city. I'd like to add a form type to symfony to easily add chained select fields for country/state/city. So, a user would pick a country and it'd filter the states; pick a state and it would…
joeyweb
  • 51
  • 1
  • 5
1
vote
0 answers

Django dependent/ chained drop down form

I am trying to add a chained drop down form to a project I'm creating. I've tried numerous solution's including django smart select and using jQuery but I can't seem to get it to work.I want a drop down form where if one option is selected in one…
exhibit
  • 11
  • 2
1
vote
0 answers

Jquery Chained multiple not working

Using Jquery chained module, chained select works but with multiple parents doesn't work. I tried to remove bootstrap, validator, bootcomplete ... without success. I also tried with other names and values . Can someone help me ? Thanks.
Tsfully
  • 11
  • 1
1
vote
1 answer

Compare Value with Comma Separated String SQL PHP

I am using two-tier chained select boxes on my webpage to filter data...I am having problem with my query for the second select values... table: id name cat loc 1 ABC resort mall road 2…
Ashish
  • 303
  • 5
  • 22
1
vote
1 answer

Chained dropdown menu in cakephp 3

I have 4 tables categories, subcategories, product_types and products. Each is associated with other in following hierarchy. categories |- subcategories |- product_types |- products The view of add() action of ProductsController is …
Anuj TBE
  • 9,198
  • 27
  • 136
  • 285
1
vote
1 answer

Chained comboboxes with possibility to select child cb without parent

So basically i am trying to do the same as i did in my previous question - Chained combobox shows valuefield instead of displayfield when changing parent cb BUT now i want to be able to select child combo without picking parent. Here is what i did…
layabout
  • 189
  • 15
1
vote
2 answers

add Class for all options within "some selects with same parent class" using jquery?

i want to use jQuery Chained in Wordpress Gravity Form. for using jquery chained, i have to manually add classes in option elements within select lists with class "city". i have 2 selects with city class and 2selects with state class. So i need 4…
0
votes
0 answers

Chained select inputs using Django CBV

I am trying to create an interface for a teacher to set homework tasks. This homework includes a student, a chapter, and questions belonging to a selected chapter. Therein lies my problem, I would like for my chapter dropdown to limit the selection…
0
votes
0 answers

How to combine chained menu and custom-select

I have added a form at the bottom of my webpage using the custom-select: https://www.w3schools.com/howto/howto_custom_select.asp But in the sidebar I use the chained select menu: http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm In the…
chechu
  • 209
  • 1
  • 2
  • 8
0
votes
1 answer

set selected option on Form Modal Bootstrap with AJAX Chained Dropdown

I have problem with chained dropdown on bootstrap modal, Here's my code : function edit(id) { var id = id; $('#edit').prop('hidden', true); $('#modal_form').prop('hidden', false); /* $.ajax ({ type: 'POST', data: {id…
owf
  • 245
  • 1
  • 9
  • 26
0
votes
0 answers

How to implement Django Chained Drop Down using clever select

I'm using doing a small django project and using django-clever-select to created chained drop down select. I followed the exact instruction given in their installation useage guide at https://pypi.org/project/django-clever-selects/. But once i run…
sith91
  • 1
  • 4
1
2 3