public function __construct($name, $title = null, $value = "") { FormExtraJquery::include_jquery(); Requirements::javascript(FORM_EXTRAS_PATH . '/javascript/SexyPasswordField.js'); parent::__construct($name, $title, $value); }