Manual Forms - option type m

How to create a form without submitting through KAS db_actions and have control over it.

Fm enables the native manual Form View. It submits to itself with GET by default, without the ordinary KAS_FORM database-save pipeline. Use it for a genuine custom request such as a lookup/report; ordinary Add/Update forms use FA/FU and native db_actions.

$options['manual_form'] = true;
$m_method = 'GET';
$m_action = $self_url;
$m_formID = 'report_filters';
$case_title = 'REPORT FILTERS';
$form = 'open';
include('core/form_view.php');
addField(['type'=>'text','name'=>'search','label'=>'Search']);
addField(['type'=>'button','name'=>'find','value'=>'results']);
$form = 'close';
include('core/form_view.php');

Configure m_action, m_method, m_formID and optional m_onsubmit before opening the form. m_onsubmit="return false;" suppresses normal submission for a deliberate page-owned JavaScript action. An inputType=manual button is a span and needs its own click action; an ordinary native button can submit the manual form without extra JavaScript. Enable the real asset flags needed by fields, for example uppercase C for datepicker. Never nest forms; close one before rendering another.

Full arrays are the modern extensible configuration. Strings remain supported legacy shorthand/quick syntax. Prefer full arrays for new definitions; use only keys supported by the owning field or component.