Wizard

Is there a ‘simple’ way to create a ‘wizard’? By that I mean, having the user answer three (or whatever number) of questions via checkbox, button, drop down, and then returning a text-linked answer.

Obviously it will need some coding and probably access to a database, but I’m trying to keep it simple.

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Whether or not it needs a database depends entirely on whether the
logic must be kept private. If you don’t care that someone could
decompose your database and figure out how you’re defining the
results, then you could do it all in JavaScript.

Can you give some examples of what your algorithm would be for the
wizard?

Walter

On Feb 24, 2009, at 10:31 AM, george wrote:

Is there a ‘simple’ way to create a ‘wizard’? By that I mean,
having the user answer three (or whatever number) of questions via
checkbox, button, drop down, and then returning a text-linked answer.

Obviously it will need some coding and probably access to a
database, but I’m trying to keep it simple.

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sure.

  1. What type of media do you want to include?
    checkboxes for: Photo, Film Reels, Video Tapes, Scannable Memorabilia

  2. Do you want to create a movie or preserve?
    radio button: Movie, Preserve

  3. Is the project for upcoming event or occasion?
    radio button: Yes, No

  4. What is your budget?
    Radio button: Under $100, $100-$200, $200-$300, >$300


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Okay. Would choices made in the early steps force options in later
steps to hide, or anything clever like that?

If not, as it stands, this looks like something that could be made
into a single form. The form could be set to show only one question at
a time, with a “back” button to undo your choices. The easiest way to
do this would be with JavaScript, as it would happen all in the browser.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

At this point the questions would not build upon previous answers, although that would be the next level of sophistication.

So, am I right to guess that I could create the form in Freeway and then need to code some JavaScript to get a result?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes. Make the form all one page, and make sure that you either build
it in a (drawn) table or as inline elements within a single HTML box.
That way each element can be hidden and all the others will snug up to
fit.

After you have everything there, and have a way to get the output of
that form on your server (or draw a box where the output can be
displayed, if you’re not collecting this data on the server side) then
you can start making the steps appear and disappear. That’s largely
dependent on how you construct the basic form, so get that part done
first.

Walter

On Feb 24, 2009, at 1:21 PM, george wrote:

At this point the questions would not build upon previous answers,
although that would be the next level of sophistication.

So, am I right to guess that I could create the form in Freeway and
then need to code some JavaScript to get a result?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options