elxisLoader::loadFile('includes/libraries/elxis/form.class.php');$formOptions = array('name' => 'elxisform', 'action' => 'something.php', '...');$form = new elxisForm($formOptions);
There is the Contact form plugin that it helps you to generate forms with a easy way. I attach you the plugin's parameters page. As you can see there is a possibility to create custom text fields too. In future we will create several plugins regarding forms.