Using select2
-
Hello.
Some months ago I post a question in StackOverflow and you answer giving me some clues about what I wanted to do. This is the link:
https://stackoverflow.com/questions/49277808/populate-a-select-from-another-in-wordpress-and-cf7Now, I am trying to implement what you told me, but I have no idea about to start the code.
I would like to implement a select2 dropdown this way:– Pepper (parent)
— Red (child)
— Yellow (child)
— Green (child)– Tomate
— Cherry (child)
— Cocktel (child)
— Rama (child)How can I make something like this? The data are in DB (Table Crop, related with Table Variety (with a Crop_FK))
Thanks in advance.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using select2’ is closed to new replies.