I have the following tag that creates a simple search form:
{exp:search:simple_form channel="{exp:stash:get name='listing_channel'}" result_page="blog/search" no_result_page="blog/search" results="20" form_class="search" search_in="everywhere"}
I am trying to pass in the channel using the stash variable listing_channel from my template file - it is set to "blog". This tag only works if I add parse="inward". My understanding is that without parse="inward", the stash get tag would be parsed before the outer tag, which would result in the search form tag seeing channel="blog". I would think that this is what I would want, but yet it only works with parse="inward".
With parse="inward", wouldn't the stash variable be parsed after the search form tag? I would expect this to not work.
If someone with a better understanding could explain why parse="inward" is making this work, I'd really appreciate it!
Thanks!