Submit Buttons

Add a Submit Buttons to KAS Forms and Manual Forms.

The native button field creates an ordinary form-submit button unless inputType is manual. Use the normal button with FA/FU automatic saving or a native manual form that submits its configured request.

addField([
    'type'=>'button', 'name'=>'save', 'value'=>'item',
    'id'=>'save_item', 'icon'=>'<i class="fas fa-save"></i>',
    'class'=>'right', 'attributes'=>''
]);

name chooses translated action text such as SAVE, UPDATE, ADD, MODIFY, CREATE, EDIT, FIND or SEARCH; value supplies the following text. IDs default to savebtn plus the native counter. icon, style, class, attributes, dataString, blockClass and blockStyle customize the supported presentation.

addField([
    'type'=>'button', 'inputType'=>'manual',
    'name'=>'find', 'value'=>'item', 'id'=>'find_item'
]);

inputType=manual renders the existing manualButton span. It needs a deliberate page-owned click handler and does not submit by itself. It is an exception for a client action, not the standard save pattern.