COPD Domain (Damdar Duolin Form)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m42s Details

This commit is contained in:
Tanuja Pansare 2026-09-18 12:32:57 +05:30
parent 2bb5e580f1
commit 3caf63c05d
1 changed files with 10 additions and 0 deletions

View File

@ -248,9 +248,19 @@
this.value = this.value.replace(/[^0-9]/g, '');
});
$('#report-form').on('submit', function(event){
event.preventDefault();
$("#pageloader").fadeIn();
var brandSku = $('#field-select_duolin_sku').val();
var slug = brandSku.toLowerCase().trim().replace(/[^a-z0-9]+/g, '_').replace(/^-+|-+$/g, '');
$('#report-form').append('<input type="hidden" name="'+ slug +'_units" value="'+ $("#field-no_of_units_booked").val() +'">');
$.ajax({
type: "POST",
url: '/form/ajaxsubmit',