info

This example introduces intelligent file inputs. Besides the file input itself you can also use this element type to display a file thumbnail, a link to a file or even a "remove file" button - all these help a lot when you're building a form to modify such data.

form

inputfile.png
inputfile.png


click here
to see how
easy it is to
create it!
   

data

Below are the dumps of some PHP variables - submit the form to see the changes!

Contents of the $_POST array:
$_POST = array (
)
      

Results of a $clonefish->getElementValues() call:
array (
  'inputfile1' => NULL,
  'inputfile2' => NULL,
  'inputfile3' => NULL,
  'id' => 'inputfile',
)