all i get is errors...

And you can learn something from those error messages. If you don't understand them, show us what the messages are, and when they refer to line numbers in your code, make it clear in the code that you post which lines those are (e.g. add something like  # this is line XX at the end of the XX'th line).

For example, one of the errors would have cited this line:

if ($name$tel$zip eq '') { # you want $name.$tel.$zip or "$name$tel$ +zip"
If you include "use strict;" at the top, you might get more error messages -- and this is good, because these would identify problems that might be hard to spot otherwise (e.g. spelling errors in variable names -- you don't seem to have any now, but they can happen at any time).

In reply to Re: help with a form by graff
in thread help with a form by maynard49

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.