Skip to content

Commit

Permalink
un-require fields
Browse files Browse the repository at this point in the history
  • Loading branch information
tn3rb committed Jul 25, 2022
1 parent b8fd091 commit 19aaf56
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions caffeinated/EE_Caf_Messages.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function email_messenger_template_fields($template_fields, EE_Email_messe
'input' => 'textarea',
'label' => '[QUESTION_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand All @@ -202,7 +202,7 @@ public function html_messenger_template_fields($template_fields, EE_Html_messeng
'input' => 'textarea',
'label' => '[QUESTION_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand All @@ -220,7 +220,7 @@ public function pdf_messenger_template_fields($template_fields, EE_Pdf_messenger
'input' => 'textarea',
'label' => '[QUESTION_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ protected function _set_template_fields()
'input' => 'wp_editor',
'label' => '[EVENT_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'rows' => '15',
Expand All @@ -341,7 +341,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[ATTENDEE_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand All @@ -352,7 +352,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[TICKET_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand All @@ -363,7 +363,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[DATETIME_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand Down
10 changes: 5 additions & 5 deletions core/libraries/messages/messenger/EE_Html_messenger.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ protected function _set_template_fields()
'input' => 'wp_editor',
'label' => '[EVENT_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'rows' => '15',
Expand All @@ -305,7 +305,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[TICKET_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand Down Expand Up @@ -355,7 +355,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[DATETIME_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand All @@ -366,7 +366,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[ATTENDEE_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand Down Expand Up @@ -399,7 +399,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[PAYMENT_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand Down
8 changes: 4 additions & 4 deletions core/libraries/messages/messenger/EE_Pdf_messenger.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected function _set_template_fields()
'input' => 'wp_editor',
'label' => '[EVENT_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'rows' => '15',
Expand All @@ -183,7 +183,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[ATTENDEE_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand All @@ -194,7 +194,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[TICKET_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand All @@ -205,7 +205,7 @@ protected function _set_template_fields()
'input' => 'textarea',
'label' => '[DATETIME_LIST]',
'type' => 'string',
'required' => true,
'required' => false,
'validation' => true,
'format' => '%s',
'css_class' => 'large-text',
Expand Down

0 comments on commit 19aaf56

Please sign in to comment.