in reply to Re: Pre-Populating an HTML form
in thread Pre-Populating an HTML form

It is type "text", not "textfield" (although as "text" is the default, browsers will tend to be able to error correct).

In Appendix C XHTML you need a space before the "/", but you've added the end of the tag outside of the string anyway.

print qq{<input type="text" value="$my_password" name="passwordfield" />};

I'd suggest sticking to HTML 4.01 (which has much better browser support), and using a templating language rather than printing out from the Perl script directly.

Replies are listed 'Best First'.
Re^3: Pre-Populating an HTML form
by CountZero (Bishop) on Jun 02, 2006 at 13:12 UTC
    You are of course entirely right on all accounts. I have to make a note to myself not to answer questions before having had my second cup of strong tea (obviously one cup is not enough anymore).

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law