A * denotes an optional parameter.
addModuleHTMLField(type, friendlyName, dbFieldName, *regex, *errorMessage)
- Description: Creates an HTML field that will be used to create new module rows, or edit existing module rows. type must be of a given set of HTML field types. For a complete listing see Appendix A. dbFieldName must match the name parameter of an element defined by the addDBField function. regex must be a regular expression compatible with the PHP defined function ereg. errorMessage is the message that is displayed if the input for this field does not match the regular expression defined by regex.
mymodule::$module->addModuleHTMLField("text", "User Name", "user");
Module Functions