diff --git a/resources/views/form/rapport-team4/1774621694-60538ad9-1e71-4afa-9138-7787c06a7c7b.blade.php b/resources/views/form/rapport-team4/1774621694-60538ad9-1e71-4afa-9138-7787c06a7c7b.blade.php index f015d704..1be7e824 100644 --- a/resources/views/form/rapport-team4/1774621694-60538ad9-1e71-4afa-9138-7787c06a7c7b.blade.php +++ b/resources/views/form/rapport-team4/1774621694-60538ad9-1e71-4afa-9138-7787c06a7c7b.blade.php @@ -459,19 +459,19 @@ $('#field-expecteed_value_total').val(total) }) - $('#field-tm_contact').on('input', function () { - let mobile = $(this).val(); + $('#field-tm_contact').on('input', function () { + let mobile = $(this).val(); - // Allow only digits - mobile = mobile.replace(/\D/g, ''); + // Allow only digits + mobile = mobile.replace(/\D/g, ''); - // Limit to 10 digits - if (mobile.length > 10) { - mobile = mobile.slice(0, 10); - } + // Limit to 10 digits + if (mobile.length > 10) { + mobile = mobile.slice(0, 10); + } - $(this).val(mobile); - }); + $(this).val(mobile); + }); $('#report-form').on('submit', function(event){ event.preventDefault(); @@ -676,7 +676,7 @@ $(document).on('input', '[id^=field-expected_value_kid_tab], [id^=field-expected }); - --}} + + + + + @endif @if($id)