__('Submit', __FILE__), // Module Title
'summary' => __('Form submit button', __FILE__), // Module Summary
'version' => 101,
'permanent' => true,
);
}
public function init() {
parent::init();
$this->attr('type', 'submit');
$this->attr('name', 'submit');
$this->attr('value', $this->_('Submit')); // Standard submit button label
$this->attr('class', 'ui-button ui-widget ui-state-default ui-corner-all');
$this->skipLabel = Inputfield::skipLabelHeader;
}
public function ___render() {
$attrs = $this->getAttributesString();
$icon = $this->icon ? $this->sanitizer->name($this->icon) : '';
$icon = $icon ? " " : '';
$out = "\n';
return $out;
}
public function ___processInput(WireInputData $input) {
// submit buttons don't need to process any input
return $this;
}
}