Page 1 of 1

Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 12:49 pm
by Kasarn Doungprateep

how to show result from previous selected choice in the next page?

I have created 3 radio buttons, and set their local storage variable when SELECTED to this:

  • Variable name / Value (for each)
    q1 / name1
    q1/ name2
    q1/ name3

    When press next after selected a choice, it will redirect to another page to show a result from previous selected radio button. And at this moment, I can't show a thing. What should I do? Am I missing something?

    ps. sorry I'm so noob


Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 12:53 pm
by Kateryna Grynko

Hi Kasarn,

You can save selected value in a localStorage variable using Events panel. This tutorial is similar to what you need and very easy: http://docs.appery.io/tutorials/build...


Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 1:37 pm
by Kasarn Doungprateep

Thank you. I can show the result now, but still cannot implement it with radio buttons. will try more. btw cheers ^^


Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 1:54 pm
by Kateryna Grynko

Kasarn,

Let us know if you need any further help.


Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 2:35 pm
by Kasarn Doungprateep

Yeahhhhh, finally, it's work !

Love you so much Katya. Thanks !!! <3


Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 2:41 pm
by Kateryna Grynko

Kasarn,

Welcome :)


Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 4:10 pm
by Kasarn Doungprateep

Dear Katya,

I have a problem again. I was finished my project, and tested it on a simulator. Everything was good. So I've uploaded it on the ftp server, viewing it by my safari (iPhone). It does not give a proper result as on the simulator or on my PC's web browser.

It would be great if you can enter this site with your browser (http://surveymas.site11.com/page1.html), and then try it with your iPhone.

Thank you,


Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 4:16 pm
by Kasarn Doungprateep

it seems like a site is sometimes down. Sorry :(


Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 4:27 pm
by Kasarn Doungprateep

Saving a selected result and showing them in the next page

Posted: Wed Dec 11, 2013 9:11 pm
by Maryna Brodina

Hello! Sorry, I'm a little bit confused... Using you example could you describe how it suppose to work in desktop browser and what is the difference in Safari on device?