Hello All:

I was wondering if the following scenario can be accomplished using Perl.

I have an HTML form. The beginning of the form is pretty basic: customer name, address, phone, etc.

The next section of the form asks the customer to select a machine category. There are three categories: A, B, C.

When a customer selects a machine category, in this case category A, I would like a pop up menu to appear listing all the machines that are in Category A. If someone selects category B, the pop up menu should appear with the machines only in category B.

After the customer selects the machine within a category, the customer can complete the rest of the form and submit the data.

My question: Is it possible to accomplish the pop up menu listing specific machines within a selected category (as mentioned above)?

If so, can someone point me in the right direction as to where to begin?

Thank you in advance for any assistance.

In reply to HTML/Perl form question by b310

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.