I am new to Perl still, and have basically started on CGI.pm recently. I'm not going to get into anything *big* right now on it, as I don't want to get in head deep *yet* *lol*. Anyway, my question is this. How would I start off on multiple forms? Basically I want one page where you can (for example purposes) input your name. That name would be stored in param('name'). After submitting that, the script would then clear the screen (if not, that's fine) and another form would come up with (again for example purposes) an age field. I would require several of these, and then some choice results at the end (which I could manage).
I've been fooling around with some of these forms, but I can't get them working the way I'm needing them =( I could easily do this without CGI.pm, but after some discussion here (and with some friends), I'm moving to it.
Any help would be appreciated (even a source to read up on this properly). Thanks.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.