HomeDocumentationTutorialsIncluding an html form field in my module

Including an html form field in my module

You can add an html field to your form by defining its properties and also including the field in your list of add or edit fields.

 

Here's a sample code to include an html field to your form;

 

PHP
 
$objConfig->html('field_name', 'field_label', $required = 0)