Calvin Cox
Posts: 0
Joined: Wed Nov 06, 2013 7:46 pm

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

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?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

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

Calvin Cox
Posts: 0
Joined: Wed Nov 06, 2013 7:46 pm

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

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

Return to “Issues”