diff --git a/resources/views/form/rapport-team3/1655458548-00d0e7c9-c60e-410e-ada7-8e0fef8e6ac8.blade.php b/resources/views/form/rapport-team3/1655458548-00d0e7c9-c60e-410e-ada7-8e0fef8e6ac8.blade.php
index b86d1877..24651e93 100644
--- a/resources/views/form/rapport-team3/1655458548-00d0e7c9-c60e-410e-ada7-8e0fef8e6ac8.blade.php
+++ b/resources/views/form/rapport-team3/1655458548-00d0e7c9-c60e-410e-ada7-8e0fef8e6ac8.blade.php
@@ -53,8 +53,8 @@
{{--
Team Name --}}
Type of meeting
Execution Date
- Name of speaker
- MSL Code
+ Speaker Name
+ Speaker MSL Code
No of Attendees
@@ -97,46 +97,115 @@
@csrf
@foreach($questions as $question)
- @if(in_array($question->code, ['record_date','name_of_the_speaker','msl_code', 'attendence']))
- @continue
- @endif
-
- @endforeach
+
+ {{-- Do not show execution-only fields in Add Plan --}}
+ @if(in_array($question->code, ['record_date', 'attendence']))
+ @continue
+ @endif
+
+
+
+@endforeach
@if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes' ) )
Submit
@@ -271,6 +340,19 @@
})
jQuery(document).ready(function($){
+ // Speaker Name - allow everything except digits
+ $('#field-name_of_the_speaker').on('input', function () {
+ this.value = this.value.replace(/[0-9]/g, '');
+ });
+
+ // Speaker MSL Code - allow everything except alphabets
+ $('#field-msl_code').on('input', function () {
+ this.value = this.value.replace(/[a-zA-Z]/g, '');
+ });
+ $('#field-tentative_attendees_count, #field-budget_required').on('input', function () {
+ // Allow only whole numbers
+ this.value = this.value.replace(/[^0-9]/g, '');
+ });
$('#report-form').on('submit', function(event){
event.preventDefault();
$("#pageloader").fadeIn();