I knew that wouldn't come out clear :)
The form data is saved via $query->save(FILEHANDLE).
Then I load it with a 'view.cgi' script using $query = new CGI(FILEHANDLE).
However, the actual form tags are not generated with perl, they are flat HTML (stored in an external file). When I load view.cgi, it opens and displays the flat HTML form, but doesn't import the form data from FILEHANDLE.
I am using external files for the form HTML because I want to be able to display multiple forms using the same scripts.
My assumption was (I've just realized I could test this simply) that the form data wasn't showing up because the form was flat HTML and external - all the examples in the CGI.pm documentation construct the form inside the script using $query->createformelement(blah) construction.
I'll welcome any suggestions on this, but I've had a chance to sleep a bit since I posted this, and I've come up with some other ideas I can try.
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.