From: Anthony Talarico Date: Wed, 15 Nov 2017 14:35:31 +0000 (-0500) Subject: removing required fields from the trail reports X-Git-Tag: v1.0.1^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2a4033ae76225a2d3e6991c0741af1c23d336e86;p=WP-Plugins%2Fglm-member-db-trailreports.git removing required fields from the trail reports trail notes had required fields that were causing the hangups for the client. removed all required fields from the data class --- diff --git a/classes/data/dataTrailReports.php b/classes/data/dataTrailReports.php index 09ebc51..263bb41 100644 --- a/classes/data/dataTrailReports.php +++ b/classes/data/dataTrailReports.php @@ -151,164 +151,163 @@ class GlmDataTrailReports extends GlmDataAbstract 'report_notes' => array ( 'field' => 'report_notes', 'type' => 'text', - 'required' => true, 'use' => 'a' ), 'big_bay_cond' => array ( 'field' => 'big_bay_cond', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'big_bay_name' => array ( 'field' => 'big_bay_name', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'big_bay_groom' => array ( 'field' => 'big_bay_groom', 'type' => 'date', - 'required' => true, + 'use' => 'a' ), 'big_bay_base' => array ( 'field' => 'big_bay_base', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'big_bay_notes' => array ( 'field' => 'big_bay_notes', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'alston_name' => array ( 'field' => 'alston_name', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'alston_cond' => array ( 'field' => 'alston_cond', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'alston_groom' => array ( 'field' => 'alston_groom', 'type' => 'date', - 'required' => true, + 'use' => 'a' ), 'alston_base' => array ( 'field' => 'alston_base', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'alston_notes' => array ( 'field' => 'alston_notes', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'nestoria_cond' => array ( 'field' => 'nestoria_cond', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'nestoria_name' => array ( 'field' => 'nestoria_name', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'nestoria_groom' => array ( 'field' => 'nestoria_groom', 'type' => 'date', - 'required' => true, + 'use' => 'a' ), 'nestoria_base' => array ( 'field' => 'nestoria_base', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'nestoria_notes' => array ( 'field' => 'nestoria_notes', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'chassell_cond' => array ( 'field' => 'chassell_cond', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'chassell_name' => array ( 'field' => 'chassell_name', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'chassell_groom' => array ( 'field' => 'chassell_groom', 'type' => 'date', - 'required' => true, + 'use' => 'a' ), 'chassell_base' => array ( 'field' => 'chassell_base', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'chassell_notes' => array ( 'field' => 'chassell_notes', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'pinery_name' => array ( 'field' => 'pinery_name', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'pinery_cond' => array ( 'field' => 'pinery_cond', 'type' => 'text', - 'required' => false, + 'use' => 'a' ), 'pinery_base' => array ( 'field' => 'pinery_base', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'pinery_notes' => array ( 'field' => 'pinery_notes', 'type' => 'text', - 'required' => true, + 'use' => 'a' ), 'pinery_groom' => array ( 'field' => 'pinery_groom', 'type' => 'date', - 'required' => true, + 'use' => 'a' ), 'report_blurb' => array ( 'field' => 'report_blurb', 'type' => 'text', - 'required' => true, + 'use' => 'a' ),