I have a view where I am exposing a filter which is the Price of a product. I want the user to be able to choose the price(filter based on price), So I exposed the filter, then unlocked the operator and all of them are unlocked(operators). Is there a way where I can unlock only a few operators such as "Is less than", "In Between", "Is Greater than". I don't want the user to be selecting "Is Empty", "Is not empty".
相关问题
- Drupal 8: How do I customize a form widget to show
- drupal :: order complete hook and upgrade user per
- Change redirect in Drupal 7 for Password Recovery
- Adding attachment to Jira's api
- How do I stop drupal from creating a different con
相关文章
- Render a Drupal node
- How to allow multiple blocks in a module of Drupal
- How can I redirect a Drupal user after they create
- Drupal 6: Getting custom fields into the database
- Drupal 7 retain file upload
- Drupal - Set 'user/%/edit/uprofile' to def
- Drupal Session User id for independent script
- Drupal - Replace the home page
This is pretty easy with a custom module and
hook_form_alter()
: