Gossamer Forum
Home : General : Perl Programming :

Multi page forms: wizards if you will...

Quote Reply
Multi page forms: wizards if you will...
A UBB at last, huh? Nice to see it, the WWW Threads was getting crowded.

I got me a general Perl CGI question. I want to do a nice contact form on my site, in the form of a wizard that takes the user through the questions, and only asks what's needed. For example, on the first screen, the wizard asks for name and email, second screen asks if the user would like to give other contact infomation. If they do, it takes them to the further information, if they don't, it skips it and goes to the next step. Microsoft use them, as do Euroseek (http://www.euroseek.com) for their Add URL process.

Go to http://ie-comm.com/iewebs/contact/index.htm to see what I mean. Note that these pages would normally be in a popup window and they are only called through regular URL 'get' commands, not CGI.

I can understand the operation, but I don't think I'd be able to get into the nitty-gritty of it. I realise that the variables would have to be transferred as the user goes along through the questions using hidden inputs, and this would probably be fairly simple if it was a multi-page form with pages that would be used anyway. However, as I said, I only want to ask him the needed questions, plus I'd like some form of validation as he goes along also. I've installed loads of scripts, but only written print statements for a laugh, see if I could do it. Ordinarily I'd mull it along until I figured it out, but right now I don't have time.

Can anybody help me with this? Do I need to get someone to do it for me, or is it simply a case of ifs and thens (more complicaed with validation I guess). Or can you point me to someone who's already done it and tell me where I can get the code? And if not, how much does Alex cost? )

Cheers,
ad
Subject Author Views Date
Thread Multi page forms: wizards if you will... ad 4324 Oct 20, 1998, 2:52 PM
Post Re: Multi page forms: wizards if you will...
gotze 4218 Oct 21, 1998, 12:29 AM
Post Re: Multi page forms: wizards if you will...
ad 4203 Oct 21, 1998, 1:53 AM