Search found 10 matches

Go to advanced search

by Dennis Nygaard Nielsen
Fri May 15, 2015 3:35 pm
Forum: Issues
Topic: database collections based on language
Replies: 31
Views: 3635
 
Jump to post

database collections based on language

Ok. My language selection is now working. I have a dropdown with the different languages which is working fine. I would though also like my database to change according to this. My dropdown has the following values: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1205149/Sk%C3%A6rmbillede2015-05-15k...
by Dennis Nygaard Nielsen
Sat May 09, 2015 6:09 pm
Forum: Issues
Topic: database collections based on language
Replies: 31
Views: 3635
 
Jump to post

database collections based on language

Thank you so much! did the trick :)

What if I then would like a label shown in the same specific language?
I choose the language from a drop-down list

by Dennis Nygaard Nielsen
Tue May 05, 2015 8:26 pm
Forum: Issues
Topic: database collections based on language
Replies: 31
Views: 3635
 
Jump to post

database collections based on language

I just can't get it to work... Right now it is just displaying the collection name instead of the content of the DB. I have edited my query to collectionName, the service and the translation file... Hope you can see what I am doing wrong. For the translation file I have: { "collectionName"...
by Dennis Nygaard Nielsen
Sun May 03, 2015 3:55 pm
Forum: Issues
Topic: How can I use value from input field as basis for a query?
Replies: 12
Views: 1033
 
Jump to post

How can I use value from input field as basis for a query?

Think I am going to take another take on this using this guide instead: https://www.youtube.com/watch?v=Kehn1...

Thank you so much for your help

by Dennis Nygaard Nielsen
Sun May 03, 2015 10:08 am
Forum: Issues
Topic: How can I use value from input field as basis for a query?
Replies: 12
Views: 1033
 
Jump to post

How can I use value from input field as basis for a query?

Hi Bruce Not sure it is exactly what I want. If you look at what I have so far: http://appery.io/app/mobile-frame?src... type in 15 km/h and 200 ha/l I would like to be able to click "windy" or whatever condition shows up (I dont have all my data in the DB) then open a new page like it doe...
by Dennis Nygaard Nielsen
Sat May 02, 2015 10:42 pm
Forum: Issues
Topic: How can I use value from input field as basis for a query?
Replies: 12
Views: 1033
 
Jump to post

How can I use value from input field as basis for a query?

Hi again... Hopefully last question for now. How can I pass the data from the list? When clicking "windy" I would like to show the DB "name" field. And when clicking name, I would like a new blank page to show up. How am i managing this? Really surprised how many functions this s...
by Dennis Nygaard Nielsen
Sat May 02, 2015 10:17 pm
Forum: Issues
Topic: How can I use value from input field as basis for a query?
Replies: 12
Views: 1033
 
Jump to post

How can I use value from input field as basis for a query?

This here worked: var input = Apperyio('lMin'); var sreturn = '{"$and": [{"filter_high":{"$lte":' + input.text() + ' }},{"filter_low": {"$gte":' + input.text() + ' }}]}'; console.log( sreturn); return sreturn; Thank you so much Bruce! One more questi...
by Dennis Nygaard Nielsen
Sat May 02, 2015 11:40 am
Forum: Issues
Topic: How can I use value from input field as basis for a query?
Replies: 12
Views: 1033
 
Jump to post

How can I use value from input field as basis for a query?

Allright, the alert here is showing the proper data. Now I would like to get this data into my query, what am i doing wrong here? var input = Apperyio('lMin'); alert (input.text()); return '{"$and": [{"filter_high":{"$lte": input.text() }},{"filter_low": {&quo...
by Dennis Nygaard Nielsen
Sat May 02, 2015 8:26 am
Forum: Issues
Topic: How can I use value from input field as basis for a query?
Replies: 12
Views: 1033
 
Jump to post

How can I use value from input field as basis for a query?

It doesn't really work for me :/ I have attached some pictures to show what I want: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1197684/Sk%C3%A6rmbillede2015-05-02kl.10.22.04_inline.png?1430555150 https://d2r1vs3d9006ap.cloudfront.net/s3_images/1197685/Sk%C3%A6rmbillede2015-05-02kl.10.25.27_inli...
by Dennis Nygaard Nielsen
Fri May 01, 2015 9:34 pm
Forum: Issues
Topic: How can I use value from input field as basis for a query?
Replies: 12
Views: 1033
 
Jump to post

How can I use value from input field as basis for a query?

Hi. I have made a map from a input field to my database. Name of the input field is lMin. Whatever input I have here should make a query in the database. For now this looks like: return '{"$and": [{"filter_high":{"$lte": "'+value+'"}},{"filter_low": ...

Go to advanced search