Where do you find the code to change things like the size & maxlength form data in the Newletter Made Simple module?
form code for NMS module
Re: form code for NMS module
The form creation code can be found in functions.admintabs.php file. For example, the _DisplayAdminUsersTab function displays the "Add User" form.
CreateInputText function is used to create the textfields. Usage example of this function:
Here the size is 30 and the maxlength is 150. You can specify your own values here.
CreateInputText function is used to create the textfields. Usage example of this function:
Code: Select all
$this->smarty->assign('email', $this->CreateInputText($id, 'email', (isset($params['email'])?$params['email']:''), 30, 150 ,'class="input_text"'));

