Zenova Form Changes - Glipiq & Sitazit Tracker
Specific Folder FTP Upload / ftp-deploy (push) Successful in 36s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 36s
Details
This commit is contained in:
parent
39bad2253f
commit
e9aa6eaf3f
|
|
@ -275,14 +275,12 @@
|
||||||
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
|
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
|
||||||
})
|
})
|
||||||
|
|
||||||
$('#field-contact_id').change(function() {
|
/*$('#field-contact_id').change(function() {
|
||||||
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
|
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
|
||||||
})
|
})*/
|
||||||
|
|
||||||
$('#field-contact_id').change(function() {
|
$('#field-contact_id').change(function() {
|
||||||
$('#field-absi_camp').val(
|
$('#field-absi_camp').val($('option:selected', this).attr('absi_camp'));
|
||||||
$('option:selected', this).attr('absi_camp') || ''
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -331,6 +329,12 @@
|
||||||
else if(value==='Existing Prescriber'){
|
else if(value==='Existing Prescriber'){
|
||||||
$('#report-form input[name="glipiq_existing_conversion"]').val(1);
|
$('#report-form input[name="glipiq_existing_conversion"]').val(1);
|
||||||
|
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$('#report-form input[name="glipiq_new_conversion"]').val(0);
|
||||||
|
$('#report-form input[name="glipiq_existing_conversion"]').val(0);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -340,13 +344,51 @@
|
||||||
$('#report-form').append('<input type="hidden" name="sitazit_new_conversion">');
|
$('#report-form').append('<input type="hidden" name="sitazit_new_conversion">');
|
||||||
$('#report-form').append('<input type="hidden" name="sitazit_existing_conversion">');
|
$('#report-form').append('<input type="hidden" name="sitazit_existing_conversion">');
|
||||||
|
|
||||||
|
|
||||||
|
$('#field-sankalp_lead_received_penvial').val("")
|
||||||
|
|
||||||
|
$('#field-sankalp_lead_enrolled_penvial').val("")
|
||||||
|
|
||||||
|
|
||||||
|
$('#field-pmos_dr').val("")
|
||||||
|
|
||||||
|
$('#field-qbs_dr').val("")
|
||||||
|
|
||||||
|
$('#field-adboard_dr').val("")
|
||||||
|
|
||||||
|
$('#field-fb_live_dr').val("")
|
||||||
|
|
||||||
|
$('#field-ecme_dr').val("")
|
||||||
|
|
||||||
|
$('#field-rtm_dr').val("")
|
||||||
|
|
||||||
|
$('#field-absi_camp').val("");
|
||||||
|
$('#report-form input[name="glipiq_new_conversion"]').val(0);
|
||||||
|
$('#report-form input[name="glipiq_existing_conversion"]').val(0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$('#field-conversion_status').on('change',function(){
|
$('#field-conversion_status').on('change',function(){
|
||||||
let value=$(this).val();
|
let value=$(this).val();
|
||||||
if(value==='New Conversion'){
|
if(value==='New Conversion'){
|
||||||
$('#report-form input[name="sitazit_new_conversion"]').val(1);
|
$('#report-form input[name="sitazit_new_conversion"]').val(1);
|
||||||
|
$('#report-form input[name="glipiq_new_conversion"]').val(0);
|
||||||
|
$('#report-form input[name="glipiq_existing_conversion"]').val(0);
|
||||||
}
|
}
|
||||||
else if(value==='Existing Prescriber'){
|
else if(value==='Existing Prescriber'){
|
||||||
$('#report-form input[name="sitazit_existing_conversion"]').val(1);
|
$('#report-form input[name="sitazit_existing_conversion"]').val(1);
|
||||||
|
$('#report-form input[name="glipiq_new_conversion"]').val(0);
|
||||||
|
$('#report-form input[name="glipiq_existing_conversion"]').val(0);
|
||||||
|
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$('#report-form input[name="sitazit_new_conversion"]').val(0);
|
||||||
|
$('#report-form input[name="sitazit_existing_conversion"]').val(0);
|
||||||
|
|
||||||
|
$('#report-form input[name="glipiq_new_conversion"]').val(0);
|
||||||
|
$('#report-form input[name="glipiq_existing_conversion"]').val(0);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue