Zenova : GlipiQ & Sitazit Tracker form changes - 4
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m42s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m42s
Details
This commit is contained in:
parent
b8a2ed6732
commit
b4840d38ff
|
|
@ -340,6 +340,121 @@ $('#field-select_brand').on('change', function () {
|
|||
$(document).ready(function () {
|
||||
$('#field-select_brand').trigger('change');
|
||||
});
|
||||
|
||||
$('#field-sankalp_lead_received_penvial').on('change', function () {
|
||||
let value = $(this).val();
|
||||
|
||||
// Pehle existing hidden input hata do
|
||||
$('input[name="sankalp_recieved"]').remove();
|
||||
|
||||
// Sirf Yes pe value bhejo
|
||||
if (value === 'Yes') {
|
||||
$('#report-form').append(
|
||||
'<input type="hidden" name="sankalp_recieved" value="1">'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
$('#field-sankalp_lead_enrolled_penvial').on('change', function () {
|
||||
let value = $(this).val();
|
||||
|
||||
// Pehle existing hidden input hata do
|
||||
$('input[name="sankalp_enrolled"]').remove();
|
||||
|
||||
// Sirf Yes pe value bhejo
|
||||
if (value === 'Yes') {
|
||||
$('#report-form').append(
|
||||
'<input type="hidden" name="sankalp_enrolled" value="1">'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('#field-pmos_dr').on('change', function () {
|
||||
let value = $(this).val();
|
||||
|
||||
// Pehle existing hidden input hata do
|
||||
$('input[name="pmos_dr"]').remove();
|
||||
|
||||
// Sirf Yes pe value bhejo
|
||||
if (value === 'Yes') {
|
||||
$('#report-form').append(
|
||||
'<input type="hidden" name="pmos_dr" value="1">'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
$('#field-qbs_dr').on('change', function () {
|
||||
let value = $(this).val();
|
||||
|
||||
// Pehle existing hidden input hata do
|
||||
$('input[name="qbs_dr"]').remove();
|
||||
|
||||
// Sirf Yes pe value bhejo
|
||||
if (value === 'Yes') {
|
||||
$('#report-form').append(
|
||||
'<input type="hidden" name="qbs_dr" value="1">'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
$('#field-adboard_dr').on('change', function () {
|
||||
let value = $(this).val();
|
||||
|
||||
// Pehle existing hidden input hata do
|
||||
$('input[name="adboard_dr"]').remove();
|
||||
|
||||
// Sirf Yes pe value bhejo
|
||||
if (value === 'Yes') {
|
||||
$('#report-form').append(
|
||||
'<input type="hidden" name="adboard_dr" value="1">'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
$('#field-fb_live_dr').on('change', function () {
|
||||
let value = $(this).val();
|
||||
|
||||
// Pehle existing hidden input hata do
|
||||
$('input[name="fb_live_dr"]').remove();
|
||||
|
||||
// Sirf Yes pe value bhejo
|
||||
if (value === 'Yes') {
|
||||
$('#report-form').append(
|
||||
'<input type="hidden" name="fb_live_dr" value="1">'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
$('#field-ecme_dr').on('change', function () {
|
||||
let value = $(this).val();
|
||||
|
||||
// Pehle existing hidden input hata do
|
||||
$('input[name="ecme_dr"]').remove();
|
||||
|
||||
// Sirf Yes pe value bhejo
|
||||
if (value === 'Yes') {
|
||||
$('#report-form').append(
|
||||
'<input type="hidden" name="ecme_dr" value="1">'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('#field-rtm_dr').on('change', function () {
|
||||
let value = $(this).val();
|
||||
|
||||
// Pehle existing hidden input hata do
|
||||
$('input[name="rtm_dr"]').remove();
|
||||
|
||||
// Sirf Yes pe value bhejo
|
||||
if (value === 'Yes') {
|
||||
$('#report-form').append(
|
||||
'<input type="hidden" name="rtm_dr" value="1">'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
$('#report-form').on('submit', function(event){
|
||||
|
|
|
|||
Loading…
Reference in New Issue