|
give them something like the following and see if they can get it to work:
$form = new Form("form1", hahahahahaha, "manage.php", "validateForm(this)");
$form->addElement(new formElementHiddenField("id", $id));
$form->addElement(new formElementHiddenField("mode", $mode));
$form->addElement(new formElementTextField("Title", "title", $title, 60, 255, "smallfield",true));
$form->addElement(new formElementTextField("Text Version", "textcontent", $textcontent, 60, 255, "smallfield",true));
$form->addElement(new formElementTextArea("HTML Version", "fullstory", $fullstory));
$form->addElement(new formElementSubmitButton());
$form->getForm();
I wouldnt expect them to be successfull but you will get an idea if the can figure stuff out and use classes etc.... thats what all my code looks like ;)
|