| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/laragon4/www/wa-gateway/resources/views/ajax/messages/ |
Upload File : |
<div class="tab-pane fade show" id="vcardmessage" role="tabpanel">
<label for="name" class="form-label">{{__('Name')}}</label>
<input type="text" name="name" class="form-control" placeholder="john wick" id="name" required />
<label for="phone" class="form-label">{{__('Number')}}</label>
<input type="tel" name="phone" class="form-control" placeholder="6281xxxxxxx" id="phone" inputmode="numeric" pattern="[0-9]*" required />
</div>
<script>
(function ($) {
const numberInput = document.getElementById('phone');
numberInput.addEventListener('input', function(e) {
let inputValue = this.value.replace(/[^0-9]/g, '');
this.value = inputValue;
}, { passive: true });
})(jQuery);
</script>