XoopsSimpleForm
Definition
1
XoopsSimpleForm( string $title, string $name, string $action, string $method = "post" )
Copied!
Usage Inherits from XoopsForm and will render the form with no tables and minimal formatting.
Full Example:
1
include XOOPS_ROOT_PATH."/class/xoopsformloader.php";
2
$form = new XoopsSimpleForm('Title of form', 'formname', 'targetpage.php', 'POST');
3
$form->addElement(new XoopsFormText('Field Label:', 'fieldname'));
4
$form->display();
Copied!
Last modified 9mo ago
Copy link