SIG
SIG
func()
This is the func code block of the formlet.
This code block is responsible for handling submits which are special. Sometimes a formlet may have additional functions (such as 'dependencies','delete', etc). Each button may use the name='_fn' and then value which will be used here. The default value for a button (normal submit) is 'save', which func() does NOT support as the normal formlet processor will handle the 'save' function.
formlets( $fms = array(), $valfn = NULL, $show = true)
'formlets' Processes multiple interdependent formlets, preventing invalidity from commits.
All formlets must be processed for a commit. Call reveal() for each fm after this. LIMITATIONS: currently this does not support subscribers (which should be orthogonal) or functions.
$fms | ||
$valfn | ||
$show |