View Single Post
Old 05-25-2004, 04:58 PM  
bawdy
Confirmed User
 
Join Date: Feb 2002
Posts: 1,424
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 ;)
bawdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote