Zenova new form changes
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m43s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m43s
Details
This commit is contained in:
parent
293eae1222
commit
128c100ac7
|
|
@ -83,7 +83,7 @@
|
||||||
@case('dropdown')
|
@case('dropdown')
|
||||||
<select class="form-control" {!!($question->code
|
<select class="form-control" {!!($question->code
|
||||||
== 'contact_id')?'data-toggle="select2"':'' !!} id="field-{{ $question->code }}" name="{{ $question->code }}" {{ $question->required == 'yes' ? 'required' : '' }}>
|
== 'contact_id')?'data-toggle="select2"':'' !!} id="field-{{ $question->code }}" name="{{ $question->code }}" {{ $question->required == 'yes' ? 'required' : '' }}>
|
||||||
<option value=""> -- Select -- </option>
|
<option value=""> -- DeSelect -- </option>
|
||||||
@foreach ($question->options as $option)
|
@foreach ($question->options as $option)
|
||||||
@if($question->code == 'contact_id' && isset($option->contact->type) && $option->contact->type == 'doctor' )
|
@if($question->code == 'contact_id' && isset($option->contact->type) && $option->contact->type == 'doctor' )
|
||||||
<option value="{{ $option->value }}"
|
<option value="{{ $option->value }}"
|
||||||
|
|
@ -341,119 +341,119 @@ $('#field-select_brand').on('change', function () {
|
||||||
$('#field-select_brand').trigger('change');
|
$('#field-select_brand').trigger('change');
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#field-sankalp_lead_received_penvial').on('change', function () {
|
// $('#field-sankalp_lead_received_penvial').on('change', function () {
|
||||||
let value = $(this).val();
|
// let value = $(this).val();
|
||||||
|
|
||||||
// Pehle existing hidden input hata do
|
// // Pehle existing hidden input hata do
|
||||||
$('input[name="sankalp_recieved"]').remove();
|
// $('input[name="sankalp_recieved"]').remove();
|
||||||
|
|
||||||
// Sirf Yes pe value bhejo
|
// // Sirf Yes pe value bhejo
|
||||||
if (value === 'Yes') {
|
// if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
// $('#report-form').append(
|
||||||
'<input type="hidden" name="sankalp_recieved" value="1">'
|
// '<input type="hidden" name="sankalp_recieved" value="1">'
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
$('#field-sankalp_lead_enrolled_penvial').on('change', function () {
|
// $('#field-sankalp_lead_enrolled_penvial').on('change', function () {
|
||||||
let value = $(this).val();
|
// let value = $(this).val();
|
||||||
|
|
||||||
// Pehle existing hidden input hata do
|
// // Pehle existing hidden input hata do
|
||||||
$('input[name="sankalp_enrolled"]').remove();
|
// $('input[name="sankalp_enrolled"]').remove();
|
||||||
|
|
||||||
// Sirf Yes pe value bhejo
|
// // Sirf Yes pe value bhejo
|
||||||
if (value === 'Yes') {
|
// if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
// $('#report-form').append(
|
||||||
'<input type="hidden" name="sankalp_enrolled" value="1">'
|
// '<input type="hidden" name="sankalp_enrolled" value="1">'
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
|
|
||||||
$('#field-pmos_dr').on('change', function () {
|
// $('#field-pmos_dr').on('change', function () {
|
||||||
let value = $(this).val();
|
// let value = $(this).val();
|
||||||
|
|
||||||
// Pehle existing hidden input hata do
|
// // Pehle existing hidden input hata do
|
||||||
$('input[name="pmos_dr"]').remove();
|
// $('input[name="pmos_dr"]').remove();
|
||||||
|
|
||||||
// Sirf Yes pe value bhejo
|
// // Sirf Yes pe value bhejo
|
||||||
if (value === 'Yes') {
|
// if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
// $('#report-form').append(
|
||||||
'<input type="hidden" name="pmos_dr" value="1">'
|
// '<input type="hidden" name="pmos_dr" value="1">'
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
$('#field-qbs_dr').on('change', function () {
|
// $('#field-qbs_dr').on('change', function () {
|
||||||
let value = $(this).val();
|
// let value = $(this).val();
|
||||||
|
|
||||||
// Pehle existing hidden input hata do
|
// // Pehle existing hidden input hata do
|
||||||
$('input[name="qbs_dr"]').remove();
|
// $('input[name="qbs_dr"]').remove();
|
||||||
|
|
||||||
// Sirf Yes pe value bhejo
|
// // Sirf Yes pe value bhejo
|
||||||
if (value === 'Yes') {
|
// if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
// $('#report-form').append(
|
||||||
'<input type="hidden" name="qbs_dr" value="1">'
|
// '<input type="hidden" name="qbs_dr" value="1">'
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
$('#field-adboard_dr').on('change', function () {
|
// $('#field-adboard_dr').on('change', function () {
|
||||||
let value = $(this).val();
|
// let value = $(this).val();
|
||||||
|
|
||||||
// Pehle existing hidden input hata do
|
// // Pehle existing hidden input hata do
|
||||||
$('input[name="adboard_dr"]').remove();
|
// $('input[name="adboard_dr"]').remove();
|
||||||
|
|
||||||
// Sirf Yes pe value bhejo
|
// // Sirf Yes pe value bhejo
|
||||||
if (value === 'Yes') {
|
// if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
// $('#report-form').append(
|
||||||
'<input type="hidden" name="adboard_dr" value="1">'
|
// '<input type="hidden" name="adboard_dr" value="1">'
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
$('#field-fb_live_dr').on('change', function () {
|
// $('#field-fb_live_dr').on('change', function () {
|
||||||
let value = $(this).val();
|
// let value = $(this).val();
|
||||||
|
|
||||||
// Pehle existing hidden input hata do
|
// // Pehle existing hidden input hata do
|
||||||
$('input[name="fb_live_dr"]').remove();
|
// $('input[name="fb_live_dr"]').remove();
|
||||||
|
|
||||||
// Sirf Yes pe value bhejo
|
// // Sirf Yes pe value bhejo
|
||||||
if (value === 'Yes') {
|
// if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
// $('#report-form').append(
|
||||||
'<input type="hidden" name="fb_live_dr" value="1">'
|
// '<input type="hidden" name="fb_live_dr" value="1">'
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
$('#field-ecme_dr').on('change', function () {
|
// $('#field-ecme_dr').on('change', function () {
|
||||||
let value = $(this).val();
|
// let value = $(this).val();
|
||||||
|
|
||||||
// Pehle existing hidden input hata do
|
// // Pehle existing hidden input hata do
|
||||||
$('input[name="ecme_dr"]').remove();
|
// $('input[name="ecme_dr"]').remove();
|
||||||
|
|
||||||
// Sirf Yes pe value bhejo
|
// // Sirf Yes pe value bhejo
|
||||||
if (value === 'Yes') {
|
// if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
// $('#report-form').append(
|
||||||
'<input type="hidden" name="ecme_dr" value="1">'
|
// '<input type="hidden" name="ecme_dr" value="1">'
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
|
|
||||||
$('#field-rtm_dr').on('change', function () {
|
// $('#field-rtm_dr').on('change', function () {
|
||||||
let value = $(this).val();
|
// let value = $(this).val();
|
||||||
|
|
||||||
// Pehle existing hidden input hata do
|
// // Pehle existing hidden input hata do
|
||||||
$('input[name="rtm_dr"]').remove();
|
// $('input[name="rtm_dr"]').remove();
|
||||||
|
|
||||||
// Sirf Yes pe value bhejo
|
// // Sirf Yes pe value bhejo
|
||||||
if (value === 'Yes') {
|
// if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
// $('#report-form').append(
|
||||||
'<input type="hidden" name="rtm_dr" value="1">'
|
// '<input type="hidden" name="rtm_dr" value="1">'
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue