Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
5 votes
4 answers
2k views

I use jQuery to alter the exposed form select options. Got error: "An illegal choice has been detected." How to bypass validation?

I have a view that has three expose filters (Manufacturer, Type, Model), three options list (term reference to Printer vocabulary) . Vocabulary: Printer (3 levels) -- HP ---- xxx ---...
gilzero's user avatar
  • 6,037
3 votes
1 answer
3k views

Attach or embed node add form to a view

I want to attach or embed a node form to a view so that when a user submits the form, the view below the form will be updated in realtime via ajax. The form will be shown above the view. My views ...
Umair's user avatar
  • 441
0 votes
1 answer
524 views

Ability for user to flag or select multiple nodes from view listing

I am creating a page where I have a view listing about 100 nodes of a specific content type and then underneath that I have a contact form. When visitors (logged out users) come to my site I would ...
Dan's user avatar
  • 696
0 votes
2 answers
789 views

Exposed filter of a view embedded in a panel overriding a node form triggers node submission. How to prevent this?

I have a panel overriding the node/add form of a custom content-type in one pane and a view listing some nodes including 2 exposed filters to reduce the results of that list in another pane. Both, ...
Volker's user avatar
  • 1,370
7 votes
4 answers
7k views

How do I embed a node creation form inside a view

I have a View with some fields and a couple of link items. What I want to do is when I click on the link items, a node creation form associated with link should appear inside the view (the AJAX way). ...
kmdhrm's user avatar
  • 944
4 votes
2 answers
7k views

Drupal 7 views exposed filter: Removing -Any- and sorting items

I am using Drupal 7.21 and views 3.7. I have date module installed. In one of my views, I want to give drop-down year as an exposed filter and it is working fine. I do have choices as -Any- 2012 2013 ...
cissharp's user avatar
  • 539
3 votes
1 answer
228 views

Can a VBO form be integrated with the Commerce Add-to-Cart form to allow adding optional add-on products with checkboxes?

With VBO and Rules I can display a list of Commerce products with checkboxes and a button to add the checked products to the cart (see how). Is there a way to integrate these checkboxes with the ...
unor's user avatar
  • 763
1 vote
2 answers
4k views

Building an advanced multicriteria search

I'm kinda new to Drupal and I would like some advises. I have a Drupal website, with a few nodes (1000 - 5000) of a particular content type, let's say a "House". This "House" content type has a few ...
Jean-Michel Garcia's user avatar
0 votes
1 answer
4k views

How do I change submit URL for exposed search filter?

I've created view using Search API Views with two different displays. First Page display (by_terms) and with the following options: Page settings: Path:/taxonomy/term/% Contextual filters: Category: ...
kenorb's user avatar
  • 14.3k
0 votes
1 answer
2k views

Making text fields autocomplete in views exposed filters

I want to make a text field auto complete in a views exposed form. I tried using the following code but nothing happens(I don't see that blue icon in the text field): <?php function nk_menu() { ...
Nima's user avatar
  • 431
-1 votes
1 answer
1k views

How to add existing fields to a custom form?

I have a custom form which shows the title field and a view embedded into the form. Both form and the view are updated via Ajax. I am trying to add the body field, but it is not showing up. This is ...
Umair's user avatar
  • 441