in Firefox"/>

in Firefox

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
This code:

<form action="processScan.php" method="get">
  print "Scan name: <input type=\"file\" name=\"tScanFileName\" value=
  <input type="submit">

does not render with the value attribute's value as the default text.
I.e., then the form renders, I want the string value of $scanFileName
already in the input field as the default text.  I'm using Firefox, PHP 5.2.4 and Apache 1.3.33.

Any ideas?


Re: in Firefox


Quoted text here. Click to load it

The 'file' input control does not allow default values for security
reasons. This would make it too easy to steal files from the user's

And BTW: HTML also allows single quotes around attributes. This avoids
the ugly escaping like above.


Site Timeline