KarenW
Posts: 0
Joined: Sun May 11, 2014 7:17 am

voting and providing user with the results of likes

Hi i have started creating my app - and loving the interface.

I want to create a poll which then presents the results to the user once they have voted.
What is the best way - I have created the voting buttons but how do i submit the data (and where to?) and have it present back a graph or % agree?

Also i want people to be able to vote over and over again without opening and closing the page or the app.

thanks
Karen

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

voting and providing user with the results of likes

Hi Karen,

I encourage you to walk through our tutorials to understand the platform:
http://docs.appery.io/tutorials/

And after that to begin building your custom app from the scratch -
There are different approaches to reach your goals:
ul
lifor voting you can use jQuery plugin like the one here https://github.com/janosgyerik/jquery... (but you can always search for another one);/li
liprocess the voting data received from the user, also different ways here - store this data locally or store it in the DB collection;/li
lito output incoming data as graph (there are many JavaScript libraries with such functionality that you can connect to your Appery.io app) one of the examples: https://getsatisfaction.com/apperyio/...;/li
/ul

[quote:]
Also i want people to be able to vote over and over again without opening and closing the page or the app.
[/quote]
Can you describe in more detail here what you want to implement?

Giovanni Fuentes
Posts: 0
Joined: Mon Nov 17, 2014 6:18 pm

voting and providing user with the results of likes

Hello Illya,

How exactly would you use that JQuery plugin in appery?

Thanks

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

voting and providing user with the results of likes

Hi Giovanni,

Here is how to use jQuery plugin in Apperyio:

1 Download jQuery plugin. Copy JS text.

2 Create new JS asset in Appery.io application.

3 Paste JS code from 1st step to the JS asset from 2nd step.

4 Now you can plugin like it described in documentation for plugin.

For example:

pre

jQuery('[name="inputName"]').pluginName();

/pre

Regards.

LH TREX
Posts: 0
Joined: Tue Sep 08, 2015 12:21 am

voting and providing user with the results of likes

Hi Yurii, is your comment still applicable (I see it's from 10 montsh ago) sorry but I'm a newbie, can you please explain this steps in more details? Thanks.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

voting and providing user with the results of likes

Hi - if you new to Appery.io I'm advising you to start with something simple and walkthrough our tutorials here: https://devcenter.appery.io/tutorials/

Also this doc section should be useful: https://devcenter.appery.io/documenta...

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

voting and providing user with the results of likes

Hello,

Yes, this base solution is still applicable for Appery.io JQM apps.

So please follow these steps to get working needed jQuery plugin in your app.

Regards.

LH TREX
Posts: 0
Joined: Tue Sep 08, 2015 12:21 am

voting and providing user with the results of likes

Thanks Yurii! I almost lost faith in Appery's support with earlier correspondence for a little bit, but you actually answered my question and I thank you for that.

Return to “Issues”