I have found the theme template for exposed filter form of view.
Inside the template I found the
$widgets array and
for loop for each
$widget display in form.
But it is rendered HTML widget How can I get only values array for each combo box to render output for my combo box as I want?
I have one combo called Country: Country has hierarchy level of list
Asia - India - Sri lanka - thailand - Indonesia
So, I would like to make my combo just like this
http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_optgroup <select> <optgroup label="Swedish Cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> </optgroup> <optgroup label="German Cars"> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </optgroup> </select>
This will identify the parent / child category in combo? can we do this directly in drupal 7 Views for Expoesd Filters Combo ? or How can I theme myself to override its HTML?