I have pie chart in my first view and when user clickon any part of pie chart, the eventid is passing to next view using redirector.
In second view I have dropdown list of eventid and I need to perform search with the value passed by first view and need to prepopulate it also.
and after submit the search is like
I have gone thru the documentation and tried StaticOptions module but I am confused between StaticOptions,ValueSetter and ResultsValueSetter for how to prepopulate the value in second form coming from redirector module and how to pass it to search. Please help.
Thanks to Nick.
I got the solution. I was doing silly mistake as in first view I was passing eventID and collecting EventID thats why it was not prepopulating. I just make both variable identical and it worked automatically.
Tip to remember:
All you have to do to get the value to prepopulate is to make sure
-- the target view's URL has a City="foo" in it.
-- The target view has a URLLoader module in it.
-- you're using Pulldown and not SearchSelectLister or StaticSelect.
-- the Pulldown module is nested downstream from the URLLoader
-- the Pulldown has a "name" param that matches the argument exactly (ie
Thanks to Nick.
I got the solution. I was doing silly mistake as in first view I was passing eventID and collecting EventID thats why it was not prepopulating. I just make both variable identical and it worked automatically.
Tip to remember:
All you have to do to get the value to prepopulate is to make sure
-- the target view's URL has a City="foo" in it.
-- The target view has a URLLoader module in it.
-- you're using Pulldown and not SearchSelectLister or StaticSelect.
-- the Pulldown module is nested downstream from the URLLoader
-- the Pulldown has a "name" param that matches the argument exactly (ie