Sample> NotEmpty


// include TPLN

$TPLN = new TPLN();


// treatment of form
$TPLN->formSetObjectNames(array('text' => "My text"'checkbox[]' => "Your choice")); // customize your input

// treatment


    <title>notEmpty.html </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../style.css" rel="stylesheet" type="text/css" />

    <form action="" method="post" name="form">
    <p>Please fill this field :
        <input type="text" name="text" id="text" value="">

    <p>Also check a box :
        <input name="checkbox[]" type="checkbox" id="checkbox" value="1"> Yes
        <input name="checkbox[]" type="checkbox" id="checkbox" value="2"> No
        <input type="submit" name="button1" value="Send" id="button1">


    <div id="form_valid">
    Your form was submitted without errors !<br>
    And replaced by bloc form_valid !

    {_Logo}<font size="1"> in {_Chrono} s<br>
    Queries executed: {_QueryCount}</font>