Sf delete record
From ARK
Description
This subform is used for deleting records, it can be implemented either as a typical subform within a column, or it can be called into an overlay form.
This form relies on a further subform to provide conflict resolution feedback to users. This is governed by an option (see below).
Additional Fields
- 'conflict_res_sf' - This is NOT optional. Specify the 'name' of the sf_conf array that will handle conflict resoluton. This is currently only sf_dnarecord.php.
Example Configuration
An example of sf_delete_record configuration:
An example of sf_txt using a single modtype
$conf_mcd_deleterecord = array( 'view_state' => 'max', 'edit_state' => 'view', 'sf_nav_type' => 'full', 'sf_title' => 'delete_record', 'sf_html_id' => 'delete_cxt', // Must be unique 'script' => 'php/subforms/sf_delete_record.php', 'op_modtype' => FALSE, //if each modtype uses same fields (see below) 'conflict_res_sf' => 'conf_mcd_dnarecord', 'fields' => array( // not needed ) );