Sf itemval

From ARK
Revision as of 09:18, 26 June 2013 by Jessogden (talk | contribs) (Example Configuration)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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 required setup (see below).

Additional Fields

  • conflict_res_sf - This is NOT optional. Specify the 'name' of the sf_conf array that will handle conflict resolution. This is currently only sf_dnarecord.php.

Example Configuration

An example of sf_delete_record configuration:

$conf_mcd_itemval =
        'view_state' => 'max',
        'edit_state' => 'view',
        'sf_nav_type' => 'full',
        'sf_title' => 'itemval', 
        'sf_html_id' => 'cxt_itemval', // Must be unique
        'script' => 'php/subforms/sf_itemval.php',
        'op_label' => 'space',
        'op_input' => 'save',
        'op_modtype' => FALSE, //this is always false as is not dependant on modtype
        'conflict_res_sf' => 'conf_mcd_itemval_conflicts',
        'fields' =>