Number Form Type
Showing input number
Code Sample
php
$this->form[] = ['label'=>'Amount','name'=>'amount','type'=>'number','min'=>0,'max'=>100];By putting min attribute, it will make a minimal amount of the number and also by putting max attribute, it will make a maximal amount of the number