Page 2 of 2

Need help with JS to run a query based on 6 select components and displaying results on another page

Posted: Tue Nov 12, 2013 2:18 pm
by Calvin Cox

Hi Katya, Your logic is correct. That's exactly what I need.

So how would I code that? Because the way I have it now is not working?


Need help with JS to run a query based on 6 select components and displaying results on another page

Posted: Tue Nov 12, 2013 3:25 pm
by Kateryna Grynko

Calvin,

You would need to implement something like the following example: pre{"$and":[{"$or":[{"s_location":"u_location"}, {"s_location":"all"}]}, {"$or":[{"s_other":"u_other"}, {"s_other":"all"}]}]}/pre


Need help with JS to run a query based on 6 select components and displaying results on another page

Posted: Wed Nov 13, 2013 5:43 am
by Calvin Cox

Katya, You are AWESOME!! That worked... thank you.