facebook

gender and age selection menu

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #350129 Reply

    Hi! Is there any way to make an app asking for your Genet and age just the first time you open it? I would like to make different pages based on age and gender but also the app not to asks you these details every time you open it. I would love to make it asks you your username the first time and displays it like you have an account. I have tried some tutorials from this forum about variables but I didn’t achieved to make it. Thanks!

    #350135 Reply

    Code_A
    Member

    You can use localStorage to save the data. Here is the localStorage How-To.

    Be sure to place the recall code in the documentReadyHandler function (on load event) of your <your-form-name>_custom.js file which can be found in your project’s www folder.

    #350337 Reply

    @Code A wrote:

    You can use localStorage to save the data. Here is the localStorage How-To.

    Be sure to place the recall code in the documentReadyHandler function (on load event) of your <your-form-name>_custom.js file which can be found in your project’s www folder.

    ok thanks! I will try this.

    #350339 Reply

    hmmmmmmmmmmmm… I’m sorry but I know just few things about programming(that’s the basic reason why I selected mobione).Could you sent me a draft file that works in that way, or tell me in more simply how i will make it please?

    #350344 Reply

    Code_A
    Member

    Here is an example of saving and recalling text in a textfield. Type the text in, hit save and then when you run the app again the saved text will be loaded back into the textbox. The save code is located in the button On Action>Run Javascript window. The recall code is located in the save_custom.js file within the project’s www folder. Hope this helps.

    Attachments:
    You must be logged in to view attached files.
    #350778 Reply

    That helped me on saving and displaying username, but i can’t still make it saves your age/gender and redirects you to a screen according to your personal details. For example, if you click on the radio button that directs you to the screen for men once, it should saves it and remembers it forever. So every time the app is used, it should redirects you automatically to the screen you selected. The same thing for women.
    Could you send me an example like this, please?
    Thank you very much!!!!

    #350780 Reply

    Code_A
    Member

    Here you go…

    Attachments:
    You must be logged in to view attached files.
Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: gender and age selection menu

You must be logged in to post in the forum log in