Search found 17 matches

Go to advanced search

by danpickard
Thu Feb 27, 2014 10:47 am
Forum: Issues
Topic: is there a way to store a localstorage variable in the device data part of a database?
Replies: 5
Views: 782
 
Jump to post

is there a way to store a localstorage variable in the device data part of a database?

ok, on device ready event i've tried using the following code to put the device ID into a label but it returns null. this was tried on an emulator code var push = localStorage.getItem('pushNotificationDeviceID'); Appery('mobilelabel_2').text(push); /code any ideas where i'm going wro...
by danpickard
Wed Feb 26, 2014 11:25 pm
Forum: Issues
Topic: is there a way to store a localstorage variable in the device data part of a database?
Replies: 5
Views: 782
 
Jump to post

is there a way to store a localstorage variable in the device data part of a database?

I've done that and when I go to create a new database service all I get is the 'Files' collection to import.

Unless there's another way to post to a field in the DB?

by danpickard
Wed Feb 26, 2014 10:16 pm
Forum: Issues
Topic: Can't Send Push Notifications per Device ID
Replies: 20
Views: 2848
 
Jump to post

Can't Send Push Notifications per Device ID

is there an easy way to get the device ID used for push notifications?

by danpickard
Wed Feb 26, 2014 8:34 pm
Forum: Issues
Topic: is there a way to store a localstorage variable in the device data part of a database?
Replies: 5
Views: 782
 
Jump to post

is there a way to store a localstorage variable in the device data part of a database?

Basically when a user clicks on a radio button, I want the team that they have selected to be stored in an apperyDB that has no 'collection' in it. I've got this value stored in a local storage variable but I'm not sure how to post this data to an appery database once I've created the DB service or ...
by danpickard
Fri Feb 21, 2014 2:57 pm
Forum: Issues
Topic: is there a way to extract other information from a response you click on
Replies: 2
Views: 403
 
Jump to post

is there a way to extract other information from a response you click on

I've solved this by adding an invisible label and storing the selected team ID in a local storage variable and calling that back when I need it

by danpickard
Thu Feb 20, 2014 7:01 pm
Forum: Issues
Topic: is there a way to extract other information from a response you click on
Replies: 2
Views: 403
 
Jump to post

is there a way to extract other information from a response you click on

I've got a dynamic list and when I click a radio button I want one of the other parameters to get stored in a local variable so I can use it later on. The value I'm looking to store is teamId. I've got this JS for when I click the radio button but doesn't work :/ code var teamID = $(this).va...
by danpickard
Thu Feb 20, 2014 4:26 pm
Forum: Issues
Topic: Is there a way to make a check box group limit the number of boxes ticked to 1?
Replies: 6
Views: 745
 
Jump to post

Is there a way to make a check box group limit the number of boxes ticked to 1?

Can't seem to make the radio button value stay checked. the JS I've got for it is: code var text = localStorage.getItem('teamSelected'); Appery("teamsRadioGroupItem").find(text).attr("checked", true); /code Can you see any immediate problems?
by danpickard
Wed Feb 19, 2014 9:50 pm
Forum: Issues
Topic: Is there a way to make a check box group limit the number of boxes ticked to 1?
Replies: 6
Views: 745
 
Jump to post

Is there a way to make a check box group limit the number of boxes ticked to 1?

Suppose that one team is selected from the list of radio group options and the name of that is stored in a local storage variable, is there a way to make sure that when re visiting that page the same selection is automatically made? For instance, if Barcelona is selected as a radio button, then I go...
by danpickard
Wed Feb 19, 2014 5:43 pm
Forum: Issues
Topic: Is there a way to make a check box group limit the number of boxes ticked to 1?
Replies: 6
Views: 745
 
Jump to post

Is there a way to make a check box group limit the number of boxes ticked to 1?

I've got a dynamic list which loads multiple items into the check box group. I'd like it so that once one check box item has been ticked you can't tick anymore. Here is a screenshot of what it currently does when I select multiple boxes: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1024752/Captur...

Go to advanced search