inline, but remember to use * $this->Js->writeBuffer() with onDomReady=>false then, though. * */ class FormExtHelper extends FormShimHelper { public $helpers = ['Html', 'Js', 'Tools.Common']; public $settings = [ 'webroot' => true, // true => APP webroot, false => tools plugin 'js' => 'inline', // inline, buffer ]; public $scriptsAdded = [ 'date' => false, 'time' => false, 'maxLength' => false, 'autoComplete' => false ]; public function __construct($View = null, $config = []) { if (($webroot = Configure::read('Asset.webroot')) !== null) { $this->settings['webroot'] = $webroot; } if (($js = Configure::read('Asset.js')) !== null) { $this->settings['js'] = $js; } parent::__construct($View, $config); } /** * Creates an HTML link, but accesses the url using DELETE method. * Requires javascript to be enabled in browser. * * This method creates a `