This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Calculator Programming subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. General Coding and Design => Calculator Programming
Author Message
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 01 Feb 2006 04:30:39 pm    Post subject:

How do you create a quiz that uses one area with a next button like this?

W3Schools

I know how to do quizes that just list the quiz all on one page with radio buttons but thats it.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 01 Feb 2006 07:34:48 pm    Post subject:

It's not pure javascript.

Quote:
action="quiztest.asp?qtest=JavaScript"


The ASP code keeps track of the values submitted in each form and redirects you to the next page.

You can do it in pure Javascript though. I would use a loop to add all the submitted values from the previous page to the current form as hidden fields. Those will then be submitted to the next page, which does the same. Then the last page can just read out all the form data.
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 02 Feb 2006 03:24:49 pm    Post subject:

Does that mean creating a lot of pages?
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 02 Feb 2006 05:09:20 pm    Post subject:

Yes, if you want a lot of pages on your site you are in fact going to have to make every one of them. Rolling Eyes

However, this does not nessecarily mean you'll have to make a lot of files, as all the data can be put in one file, database, or whatever you want and read out if you use a language that isn't static like pure HTML.
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 02 Feb 2006 05:38:50 pm    Post subject:

What lanuage could have all the different questions on different pages with one or minimal files?
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 02 Feb 2006 06:24:23 pm    Post subject:

PHP, Perl, ASP, JSP, anything server sides, but also script languages like Javascript though I wouldn't recommend that.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement