Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-22-2007, 08:54 AM   PM User | #1
bradmc
New to the CF scene

 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bradmc is an unknown quantity at this point
How can I create a Wizard-style dialog using Radio Buttons?

Hi all,
I'm new to JavaScript and to this forum. I'm trying to create a simple wizard style set of dialog boxes, with results based on radio buttons the user chooses.
So far i'm over my head with sveral hours of googling and trying to find a decent code example.

What I'm trying to do is something like this:
Page 1: Asks question 1. User chooses from Radio1_1, Radio1_2 and Radio1_3, then clicks on next button to go to page 2.
Page 2: Asks question 2. User chooses from Radio2_1, Radio2_2 and Radio2_3, then clicks on next button.
Page 3: Gives a result based on combination of radio buttons given in previous pages.

If you don't have an example for that, maybe this would be simpler (although messier and more work):
Page 1: Asks question 1. User chooses from Radio1_1, Radio1_2 and Radio1_3, then clicks on next button. Next button leads to a next page according to chosen radio button (Page2_1 for Radio1_1, Page2_2 for Radio1_2 etc.)
In this case I only need an example for one page (Page1), as the results page is already determined by the answer.

I would really appreciate it if you could help me with this, or send me a link to similar pages that use one of these methods, so that I can look at their code.
Once i get a code example, i'll be able to take it from there. This would really really help me.

Thanks all!
Brad

Last edited by bradmc; 12-22-2007 at 08:56 AM..
bradmc is offline   Reply With Quote
Old 12-22-2007, 10:59 AM   PM User | #2
mic2100
Regular Coder

 
mic2100's Avatar
 
Join Date: Feb 2006
Location: Scunthorpe
Posts: 562
Thanks: 15
Thanked 28 Times in 27 Posts
mic2100 is on a distinguished road
i have been using the Dojo toolkit it can be found at www.dojotoolkit.com, this as a built in function for wizard style pages. if you can't find it in the v1.01 then check out v0.4.3 because that def contains what you are looking for.
mic2100 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:04 PM.


Advertisement
Log in to turn off these ads.