0

enter image description hereI have created a view block to display filter options. But in BEF settings I dont get check box options. Can anybody help me out.

Thank you in advance embeeke

closed as unclear what you're asking by Mołot, Елин Й., Letharion, Krishna Mohan, Clive Nov 5 '14 at 10:56

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Can you please add screenshot? – MutantMahesh Jul 25 '14 at 7:13
  • Hello and welcome. You stated a fact. Could you please now ask a question? – Mołot Jul 25 '14 at 7:40
  • how to add filters as checkbox list using BEFs. – embeeke Jul 25 '14 at 7:52
  • Have you read the BEF module documentation it says: "Most BEF features are available with filters that have a limited number of options" Make sure the field you using as exposed filter have limited number of options. – MutantMahesh Jul 25 '14 at 8:11
  • Can you please elaborate @MutantMahesh – embeeke Jul 25 '14 at 8:31
0

I tried on my local with

  • drupal 7.30-dev
  • views 7.x-3.7
  • better exposed filter 7.x-3.0-beta4

Added term reference field in article content type. Created a view, added this term reference field as exposed filter i was able to get the checkboxes for tid.

Make sure the term reference field setting is set to "Dropdown" and Use Ajax options is set to "yes".

reference field setting and use ajax reference field setting set to dropdown

After setting term reference field setting to "Dropdown" i was able to see the "Checkbox/radio buttons" options in better exposed filter setting.

enter image description here

  • Hey thank you so much, i got it. But the auto submit feature is not working. can you guide me on this.. Thank you – embeeke Jul 29 '14 at 3:14
  • In BEF setting there is option for Autosubmit. Check that option. you can see that in above screenshot. Please accept answer if that helped. – MutantMahesh Jul 29 '14 at 5:58
  • ya i checked autosubmit option. and another problem is, i get an error after creating the view "An illegal choice has been detected. Please contact the site administrator." – embeeke Jul 29 '14 at 8:55
  • This error occurs when I select dropdown as filter criteria setting – embeeke Jul 29 '14 at 9:04
  • Have you created those option in hook_form_alter? or modified the select list options in other way? This error occur due to type mismatch. This error occur when you add new value in a select list which is other then the type of value allowed in that list. For example if you add 'string' value in select list option if only 'integer' values are allowed in that select list. – MutantMahesh Jul 29 '14 at 9:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.