Closed Thread
Results 1 to 4 of 4

Thread: go page to page questionaire app

  1. #1
    Barn Enthusiast peebman2000 is on a distinguished road peebman2000's Avatar
    Join Date
    Mar 2008
    Posts
    215
    Rep Power
    4

    go page to page questionaire app

    Hey guys its peeb, i'm practicing on the questionaire app that i'll probably begin officially working on this next week. I'll have a month to build it. I've never done a questionaire app.


    Below is a link to a sample questionaire online written in classic asp. I"m going to kind of mirror this online survery to build the .net survey app.
    LINK:Hosted Survey

    Now when you begin the questionaire, it gives you question and you hit next to go to the next page of questions.

    My question is how is it going to the next page when you hit next, but still be on the same takesurvey.asp page? I'm like they have to have created several pages that have the different questions on it, but it must doing something i'm not aware of.

    Also they have "finish later" button, obviously this button will save your work, in my case save it in sql. And then later you can continue and it shows the page that you were last on.

    This functionality I don't understand. I know how to retreive data from sql, but how can I retreive the page that the user was last on when they saved their work?


    Any help would very much be appreciated, thanks.
    Last edited by richyrich; May 6th, 2008 at 12:21 PM. Reason: Removed [SOLVED] from title

  2. #2
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    They may be storing the page information in a cookie or session variable and then querying the database for questions that belong to that page. Or, if the questions are entered statically into the page code, they are probably using SELECT CASE statements to display the appropriate set of questions based off of the cookie or session value.

    In .Net, you have a Wizard Control which allows for this type of appearance. You can display one form, click next, and then a new form will be displayed. Do some research on the wizard control and that should help you design your questionaire.

    Wizard Class (System.Web.UI.WebControls)
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  3. #3
    Barn Enthusiast peebman2000 is on a distinguished road peebman2000's Avatar
    Join Date
    Mar 2008
    Posts
    215
    Rep Power
    4

    reply

    Hey thanks jmurrayhead, I was going to use the wizard control, but I saw that link and the classic asp survey and i'm like how are they doing that.

    Okay i'll use the wizard control. thanks again.

    Quote Originally Posted by jmurrayhead View Post
    They may be storing the page information in a cookie or session variable and then querying the database for questions that belong to that page. Or, if the questions are entered statically into the page code, they are probably using SELECT CASE statements to display the appropriate set of questions based off of the cookie or session value.

    In .Net, you have a Wizard Control which allows for this type of appearance. You can display one form, click next, and then a new form will be displayed. Do some research on the wizard control and that should help you design your questionaire.

    Wizard Class (System.Web.UI.WebControls)

  4. #4
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Indeed, the Wizard Control will easily give you the effect you are after. Glad I could help

    *Administrative Note* This thread will now be closed and marked as solved. The original poster may mark this thread as unsolved and reopen it if he/she has further questions on this topic. To mark your thread as 'Unsolved', use the 'Thread Tools' menu at the top of the posting.
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO