Did your father specify that you send it back to the *SAME* script as receives the first (for further processing, to capture additional data, ???), as your parent post seems to say?

Eminently doable, but if you're new to Perl, you may find it easier to write two scripts.

Script 1, ord.cgi (according to one reading of your post) will need to be enhanced to catch First name Last Name, etc. and to pass those on to script 2, perhaps (if you're going to do this with an intermediate page requesting additional information) as elements -- possibly hidden -- of a new webpage to be created by script 2. Then, extend script 2 so as to catch both the previously captured elements -- the names, etc -- and to pass the aggregate on to either yet-another-new-page or yet another script.

On the other hand, the final part of your question (after your assertion that you've been searching you say "cant find the necessary commands to have the first cgi catch the form" (sic) ) seems to say that you have not yet figured out how to have script 1 catch elements of your form... so I may be way off track on what you're looking for.

So please. Think your problem through, and then, post again. And not to be snarky about it (yes, I make typos, misspellings and careless errors, too), please write using well-formed (eg, not run-on) sentences and paragraphs that structure your questions for the reader in a clear and coherent manner with correct spelling and punctuation.

NB: FWIW, the parent of this node, and this node, were posted after my next one was posted.


In reply to Re^3: form to cgi to cgi by ww
in thread form to cgi to cgi by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.