Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Setting up a search with 2 variables

I am trying to setup a search on my app. I already have the dynamic buttons with two variables (county & restaurant). i'm working on my database now. How do I setup the search with 2 variable buttons?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Setting up a search with 2 variables

I'm not clear what you mean by " search with 2 variable buttons"?

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Setting up a search with 2 variables

Sorry, I have two dynamic buttons on my app. One for counties and one for restaurants. I need to display a result based on the two buttons. The tutorial gives an input box and the search button. I need to change that into my 2 dynamic buttons. So my search has to be based on 2 variables, not the one input box.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Setting up a search with 2 variables

When two inputs, it's simpler to save the data into local storage. On button click, save both variables into local storage. Then in mapping, map one of the components to service (needed so that you can write JavaScript), then read both values from local storage.

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Setting up a search with 2 variables

what does [Ljava.lang.Object; cannot be cast to [Ljava.lang.String; mean?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Setting up a search with 2 variables

When importing a collection?

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Setting up a search with 2 variables

Yes. I was trying to upload my csv file, but it's not letting me. That was the error message that popped up.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Setting up a search with 2 variables

Known issue. We already fixed it, just need to push the update to production.

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Setting up a search with 2 variables

Thanks....you guys are the best :)

Chris Ross
Posts: 0
Joined: Wed Feb 13, 2013 4:06 pm

Setting up a search with 2 variables

So I should be able to upload my database soon?

Return to “Issues”