<?php
$form = new leopardForm("name", "index.php?qm=test&qf=form", "POST");
$form->addText("Stupid form");
/* xample of options
* In this exaple are options last argument for method. Options are array which will be shown in tag
* This example shows
* <input name="blblbjkljbklkl" type="text" value="http://" onClick="someJsHandler()">
*/
$form->addTextInput("url", "Site url", "http://",array(rules::URL), array("onClick" => "someJsHandler()");
$form->addSubmit("Submit");
?>
|