4 * Add a submit button inline in the form (as opposed to
5 * HTMLForm::addButton(), which will add it at the end).
7 class HTMLSubmitField
extends HTMLButtonField
{
8 protected $buttonType = 'submit';
10 protected $mFlags = [ 'primary', 'constructive' ];
12 public function skipLoadData( $request ) {
13 return !$request->getCheck( $this->mName
);
16 public function loadDataFromRequest( $request ) {
17 return $request->getCheck( $this->mName
);