1

I have created a panel. Inside the panel there is one content pane and one view expose filter present.

Normal exposed filter works properly but Simple hierarchical select does not works as expected: I am getting empty value after submit.

I have checked using views_exposed_form_alter hook.

$form_state['view']->exposed_input['shs_term_node_tid_depth']

Is there any alternative way to set or get the expose filter input?

0

Apply little trick and my issue solved. Used default taxonomy search and hide it.

(function($) {

Drupal.behaviors.tushar_1 = {
  attach: function (context, settings) {
    $('#edit-shs-term-node-tid-depth').change(function(){
      var eid = $('#edit-shs-term-node-tid-depth').val();
      $('#edit-tid ').val(eid);
    });
  }
};

})(jQuery);

Solved my issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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