Thank you all for your help. I'm still lost though and I think I just didn't explain myself clearly. Here's the process.

A customer goes to the site and fills out a form.

Results are sent to a flatfile database (they each have a unique id).

When they need to modify their information, they click on a link (after login) with the script.cgi?action=modify. ID is a hidden field from their login form - so it reads through the database and finds their line.

Now the modification form displays, but it has blank fields. I want the form to display the actual value of the information from the variables in their line.

I have tried using templates, I tried HTML::Template - nothing worked the way it was supposed to - they all come up with blank fields.

I have seen this done on other programs, but I can't figure out how they did it. The other programs don't use HTML::Template or any special modules.

One of the scripts I've seen that does it (FREE) is called Profile Manager.
http://www.interlogy.com/support/download.html

I have been trying to figure this out for over a week and my walls are about to get dented from banging my head on them. Could someone please - pretty please download this script and take a look to see what I'm missing.

My family misses me.

Eternally grateful and...

eagerly waiting to feel like an idiot for not figuring it out :-)

In reply to Re: Variables in form text fields from flatfile by Anonymous Monk
in thread Variables in form text fields from flatfile 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.