Lifemankind (2 Forms)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 39s Details

This commit is contained in:
zeeshan 2026-09-16 17:10:24 +05:30
parent 58f6714c9a
commit e8a67bb54f
2 changed files with 53 additions and 11 deletions

View File

@ -316,13 +316,34 @@
this.value = this.value.replace(/[^0-9]/g, '');
});
$('input[type="number"]').on('paste', function () {
var input = this;
$('input[type="number"]').on('paste', function () {
var input = this;
setTimeout(function () {
input.value = input.value.replace(/[^0-9]/g, '');
}, 0);
setTimeout(function () {
input.value = input.value.replace(/[^0-9]/g, '');
}, 0);
});
$(document).ready(function () {
const $field = $('#field-amount_of_pob_generated_for_gudcef_monday_activity');
$field.css({
'background-color': '#eaf7ff',
'border-color': '#9ed3ed'
});
$field.before(
'<span class="input-group-text" style="background-color: #bde3f7; border-color: #9ed3ed;">Rs</span>'
);
$field.prev('.input-group-text').add($field).wrapAll('<div class="input-group"></div>');
});
});
</script>
</body>

View File

@ -314,15 +314,36 @@
$('input[type="number"]').on('input', function () {
this.value = this.value.replace(/[^0-9]/g, '');
});
$('input[type="number"]').on('paste', function () {
var input = this;
setTimeout(function () {
input.value = input.value.replace(/[^0-9]/g, '');
}, 0);
});
$(document).ready(function () {
const $field = $('#field-amount_of_pob_generated_for_asthakind_in_inr');
$field.css({
'background-color': '#eaf7ff',
'border-color': '#9ed3ed'
});
$('input[type="number"]').on('paste', function () {
var input = this;
$field.before(
'<span class="input-group-text" style="background-color: #bde3f7; border-color: #9ed3ed;">Rs</span>'
);
setTimeout(function () {
input.value = input.value.replace(/[^0-9]/g, '');
}, 0);
});
$field.prev('.input-group-text').add($field).wrapAll('<div class="input-group"></div>');
});
});
</script>
</body>