in reply to Pre-Populate HTML form

$fif->fill(scalarref => \$html, ...)
expects $html to contain the raw HTML, i.e. the contents of the file. Alternatively, use
$fif->fill(file => $htmlfile, ...)
where $htmlfile contains the name/path of the file.

You appear to have mixed the two forms, and it doesn't seem to work well.

Replies are listed 'Best First'.
Re: Re: Pre-Populate HTML form
by peacemaker1820 (Pilgrim) on Jan 23, 2003 at 16:53 UTC
    Thanks...that's exactly what I was looking for!

    One more question though...the above will pre-populate the form with values in the form boxes, but can I also pre-populate a <SPAN ID="sp1"></SPAN> tag? Meaning I would also like to achieve the same effect as with form fields--pre-populating the SPAN tags with some "TEXT" by reffering to its ID. I really need this.

    Thanks a lot.